Strange apache trailing / problem - Slack-current, apache 1.3.33
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.