httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: Alias Assistance
Date Tue, 11 Jun 2002 18:13:34 GMT


On Tue, 11 Jun 2002, Phil wrote:

> My employer is looking for a way to have web users type in the URL to a
> subdirectory in our website where they may or may not type in the ending
> forward slash to the subdirectory. So far, by placing an Alias in the config
> file I can get one or the other, but not both to work...
> >
> > Perhaps you are looking for this:
> > http://httpd.apache.org/docs/misc/FAQ.html#set-servername

Apache should automatically send a trailing-slash redirect to add the
slash when necessary.  If that isn't working, it is because your
ServerName is not set correctly, as discussed in the above-mentioned FAQ
entry.  There shouldn't be any need for an Alias or AliasMatch.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message