You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by James Dornan <ja...@Catch22.com> on 1999/05/12 21:51:33 UTC

URL request for dictory changes URL hostname

Normally I would not both this list with something this stupid, but it might 
mean the difference between using Apache, or some other server. That would 
mean I'd quit the my job.

I have run into a new problem with Apache adding a trailing slash to URLs 
which end in a directory. When the trailing slash is added the hostname 
portion of the URL changes to the hostname specified in the ServerName 
directive.

I guess this is not a problem for most people, but right now I need the 
hostname to say what is was typed in as. In this case it's the server alias, 
until the ServerName is registered with the NIC.

-- James Dornan

Re: URL request for dictory changes URL hostname

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
James Dornan wrote:
> 
> I guess this is not a problem for most people, but right now I need the
> hostname to say what is was typed in as.

See <http://www.apache.org/docs/mod/core.html#usecanonicalname>.
-- 
#ken    P-)}

Ken Coar                    <http://Web.Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>