[thelist] apache configuration - terminating slash in directory name

Daniel J. Cody djc at members.evolt.org
Fri Mar 8 09:30:00 CST 2002


mod_rewrite or mod_dir will work, but an easier way is to create an
alias for the directory in your httpd.conf file

Alias /foo /path/to/foo
Alias /foo/ /path/to/foo

.djc.

Mike Migurski wrote:
>>I'm having a memory lapse -
>>what's the trick in apache configuration to allow for urls to directories
>>without terminating slashes?
>>
>
> You want mod_rewrite.
>
> There's a tutorial which addresses the trailing slash problem
> specifically here:
> http://httpd.apache.org/docs/misc/rewriteguide.html






More information about the thelist mailing list