[prev in list] [next in list] [prev in thread] [next in thread]
List: jserv-users
Subject: RE: jserv and Virtual Servers
From: "Parker, Mark" <Mark.Parker () virgin-energy ! co ! uk>
Date: 2001-01-23 13:43:06
[Download RAW message or body]
----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Unfortunately this had no affect.
Further discoveries find that after a restart of the apache-jserv server,
the directory of the first jsp file to be run after the restart, is then set
as the 'root' directory where subsequent jsp files are expected to reside.
Is anyone successfully running Jserv with virtual hosts, accessing jsp files
from different directories? Could it be the jsp engine we are using??
Many Thanks
Mark Parker
-----Original Message-----
From: Rikard Westlund [mailto:rikard.westlund@celltribe.com]
Sent: 23 January 2001 12:39
To: 'Java Apache Users'
Subject: SV: jserv and Virtual Servers
----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Try to put a ApJServAction *.jsp /servlet-zone/<jsp engien of choice> in you
virtualhost container.
like this:
<VirtualHost 192.168.0.121:80>
ServerName promo
ServerAdmin webmaster@domain.com
DocumentRoot /htdocs/promo
<Directory "/htdocs/promo">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ApJServAction *.jsp /servlet-zone/<foo.jsp.bar>
ErrorLog /logs/promo-error_log
CustomLog /logs/promo-access_log common
</VirtualHost>
-----Ursprungligt meddelande-----
Från: Parker, Mark [mailto:Mark.Parker@virgin-energy.co.uk]
Skickat: den 23 januari 2001 11:33
Till: 'Java Apache Users'
Ämne: jserv and Virtual Servers
----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi,
At present we have an apache-jserv server with two virtual servers. The
first virtual server (admin) with a doc root of (/htdocs/admin), and is
running fine.
The second virtual server (promo) has a different document root
(/htdocs/promo), and has no problems
displaying standard html pages from that directory structure, however when
we attempt to run any .jsp file from the directory we receive an error :
JSP Error:
Request URI:/page1.jspRI:/page1.jsp
Exception:
javax.servlet.ServletException: java.io.FileNotFoundException:
//htdocs/admin/page1.jsp
Note the file not found error points to the first virtual servers (admin)
directory and not the second virtual servers directory. Html files are
served successfully from this second virtual server, however a request for
any .jsp file (whether it exists or not) generates the same error as above.
Any advice would be greatly appreciated.
The software versions are Apache 1.3.9 , Solaris 7 , Jserv 1.1
Below is a copy of the Virtual Server config of the problematic server
<VirtualHost 192.168.0.121:80>
ServerName promo
ServerAdmin webmaster@domain.com
DocumentRoot /htdocs/promo
<Directory "/htdocs/promo">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ErrorLog /logs/promo-error_log
CustomLog /logs/promo-access_log common
</VirtualHost>
Should anyone have any insights it would be greatly appreciated as this is
becoming rather pressing.
Many Thanks
Mark Parker
________________________________________________________________________
This message has been checked for all known viruses, by Star Internet,
delivered through the MessageLabs Virus Control Centre.
For further information visit:
http://www.star.net.uk/stats.asp
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: java-apache-users-on@list.working-dogs.com
To unsubscribe: java-apache-users-off@list.working-dogs.com
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: jon@working-dogs.com
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: java-apache-users-on@list.working-dogs.com
To unsubscribe: java-apache-users-off@list.working-dogs.com
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: jon@working-dogs.com
________________________________________________________________________
This message has been checked for all known viruses, by Star Internet,
delivered through the MessageLabs Virus Control Centre.
For further information visit:
http://www.star.net.uk/stats.asp
________________________________________________________________________
This message has been checked for all known viruses, by Star Internet,
delivered through the MessageLabs Virus Control Centre.
For further information visit:
http://www.star.net.uk/stats.asp
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: java-apache-users-on@list.working-dogs.com
To unsubscribe: java-apache-users-off@list.working-dogs.com
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: jon@working-dogs.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic