Virtual Host Not Working Correctly

2005-08-25 Thread Dennis Harris
Hi Guys,
 
I am setting up a Virtual Host in Tomcat, I've added the following entry
in my server.xml file.
 
Host name=q5aims.net debug=0 appBase=webapps unpackWARs=true
Aliaswww.q5aims.net/Alias
Logger className=org.apache.catalina.logger.FileLogger
directory=logs prefix=virtual_log1. suffix=.log timestamp=true/
Context path=/q5aims_net docBase=q5aims_net debug=0
reloadable=true/
/Host

However, when I test the link, it says the page cannot be found. In the
directory q5aims_net I have one doc, index.html

Any ideas why this isn't working?

Thanks


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Virtual Host Not Working Correctly

2005-08-25 Thread Hassan Schroeder

Dennis Harris wrote:


I am setting up a Virtual Host in Tomcat, I've added the following entry
in my server.xml file.
 
Host name=q5aims.net debug=0 appBase=webapps unpackWARs=true/



Context path=/q5aims_net docBase=q5aims_net debug=0
reloadable=true/
/Host

However, when I test the link, it says the page cannot be found. In the
directory q5aims_net I have one doc, index.html


Are you trying to access
'http://q5aims.net/index.html'
or
'http://q5aims.net/q5aims_net/index.html'
as your Context entry indicates?

--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Virtual Host Not Working Correctly

2005-08-25 Thread Dennis Harris
Just trying to access 

http://q5aims.net/index.html





-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 25, 2005 4:04 PM
To: Tomcat Users List
Subject: Re: Virtual Host Not Working Correctly

Dennis Harris wrote:

 I am setting up a Virtual Host in Tomcat, I've added the following 
 entry in my server.xml file.
  
 Host name=q5aims.net debug=0 appBase=webapps 
 unpackWARs=true/

 Context path=/q5aims_net docBase=q5aims_net debug=0
 reloadable=true/
 /Host
 
 However, when I test the link, it says the page cannot be found. In 
 the directory q5aims_net I have one doc, index.html

Are you trying to access
 'http://q5aims.net/index.html'
or
 'http://q5aims.net/q5aims_net/index.html'
as your Context entry indicates?

--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

   dream.  code.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Virtual Host Not Working Correctly

2005-08-25 Thread Hassan Schroeder

Dennis Harris wrote:
Just trying to access 


http://q5aims.net/index.html



Context path=/q5aims_net docBase=q5aims_net debug=0


Then you should have Context path= ...

--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



virtual host not working

2005-05-01 Thread mbneto
Hi,

I am trying to make my apache/tomcat server work but no luck so far.

I've created a /var/www/html/mydomain/jsp,
/var/www/html/mydomain/WEB-INF/classes  and put the numguess.jsp,
WEB-INF/classes/num/NumberGuessBean.class  NumberGuessBean.java.

I've added a Location in my apache's  httpd.conf

Location /jsp
  JkUriSet worker ajp13:localhost:8009
/Location

When I access mydomain/jsp/numguess.jsp  I receive tomcat's output

HTTP Status 404 - /jsp/numguess.jsp

type Status report

message /jsp/numguess.jsp

description The requested resource (/jsp/numguess.jsp) is not available.
Apache Tomcat/4.1.27-13

What am I doing wrong ?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]