httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Burden" <...@burden.ca>
Subject Re: [users@httpd] accessing directory without trailing "/"
Date Tue, 14 Dec 2004 19:22:36 GMT
You need a ServerName directive in the VirtualHost container. You probably
mean this:
ServerName visant.bu.edu
ServerAlias visant


----- Original Message ----- 
From: "Mary Ellen Fitzpatrick" <mfitzpat@bu.edu>
To: <users@httpd.apache.org>
Cc: "Mary Ellen Fitzpatrick" <mfitzpat@bu.edu>
Sent: Tuesday, December 14, 2004 1:55 PM
Subject: [users@httpd] accessing directory without trailing "/"


> Hi,
>
> I am having trouble getting the proper configuration for accessing
> directories without the trailing "/".
> I have read and followed the FAQ, but it did not work.   I setup an
> alias, but it did not work.  See below
>
> The directory that I am trying to access is:
> http://visant.bu.edu/statistics
>
> When I try to access is http://visant.bu.edu/statistics,   the url
> changes to:  http://biowulf.bu.edu/statistics/
> "The requested URL /statistics/ was not found on this server."
>
> If I add the trailing "/" to the end of statistics, it works fine.
>
> The URL http://visant.bu.edu is setup as a Virtual Host:
>
>  <VirtualHost xxx.xxx.xxx.xxx>
>     ServerAdmin xxxxx@bu.edu
>     ServerAlias visant visant.bu.edu
>     DocumentRoot /www/html/visant
>     ErrorLog logs/visant-error_log
>     CustomLog logs/visant-access_log combined
> </VirtualHost>
>
> I have since added the following variations of  aliases (one at a time
> and tested) entry, under Aliases, but not within the Virtual Host
> container, restarted apache graceful, but I get the same error.
>
> I have tried:
>
> Alias /www/htm/visant/statistics  /www/html/visant/statistics/
> Alias /www/html/visant/statistics /www/html/visant/statistics
> Alias /www/html/visant/statistics/ /www/html/visant/statistics
> Alias /www/html/visant/statistics/  /www/html/visant/statistics/
>
> Any help would be appreciated.
>
> Thanks
> Mary Ellen
>
>
>
>
>
>
>
>
>
>
> -- 
> Thanks
> Mary Ellen
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message