You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by lionel enkaoua <li...@lemel.fr> on 1999/12/01 20:50:54 UTC
mod_jserv/5407: "apache Alias" and "servlet zone" conflict
>Number: 5407
>Category: mod_jserv
>Synopsis: "apache Alias" and "servlet zone" conflict
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: jserv
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Dec 1 14:10:01 PST 1999
>Last-Modified:
>Originator: lionel.enkaoua@lemel.fr
>Organization:
apache
>Release: apache-1.3.6-7.rpm ApacheJServ-1.1-b2.rpm
>Environment:
RedHat 6.0, jdk 1.1.7v3, jsdk 2.0,
apache-1.3.6-7.rpm, ApacheJServ-1.1-b2.rpm
>Description:
On our server we have several website but only one IP so we decided
to use the directive "Alias" from Apache.
With jserv 0.9.X we didn't have any problem to use :
Alias /WebSiteName /home/WebSiteName
ServletAlias /WebSiteName/servlets /home/WebSiteName/servlet
But now we didn't find the solution to use the same propriety
with ApacheJServ-1.1-b2.rpm:
Alias /WebSiteName /home/WebSiteName
ApJServMount /WebSiteName/servlet
repositories...
The problem is that Apache remplaces always the '/WebSiteName'
by /home/WebSiteName if a servlet is called like that:
http://www.serverName.com/WebSiteName/servlet/Hello.class
Thank's a lot to help us.
Lionel enkaoua.
>How-To-Repeat:
Alias /WebSiteName /home/WebSiteName
ApJServMount /WebSiteName/servlet
repositories...
http://www.serverName.com/WebSiteName/servlet/Hello.class
>Fix:
No idea.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]