Strange apache trailing / problem - Slack-current, apache 1.3.33
Hi everyone,
I'm using apache 1.3.33 bundled in slackware-current and have encountered some strange behaviors regarding apache's trailing slash.
I have these things set:
ServerName www.servername.org
UseCanonicalName On
<Directory /home/*/public_html>
AllowOverride All
Options MultiViews Indexes Symlinksifownermatch IncludesNoExec
</Directory>
I can go to www.servername.org/test and it will redirect to www.servername.org/test/ (test is a directory)
Similarly, servername.org/test redirects to servername.org/test/.
However, servername.org/~username and www.servername.org/~username does not redirect to servername.org/~username/. I get the error: "www.hostname.domainname cannot be found. Please check the name and try again."
Yet, when I go to www.servername.org/~username/test, it does redirect to include the trailing /. Furthermore, servername.org/~username/test also redirects to www.servername.org/~username/test/ (it appended the www, or my specified ServerName.
I have done very little to modify the stock slackware httpd.conf file, only uncommenting the few lines that pertain to <Directory /home....> and Servername.
Any help here would be greatly appreciated. I hope I do not have to use mod_redirect; it seems extremely complicated for such a small, yet bizzare problem.
Thanks!
|