Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Hopefully this is a simple question. I have a directory that is called docs, which is not in my regular DoumentRoot of my website. I have created and Alias that points to like so:
Alias /docs/ /usr/local/docs/
This works fine as long as I type: www.mydomain.com/docs/ but if I of course only type: www.mydomain.com/docs it does not work. I read the information that protein to the mod_alias directive, which states that if you Alias has a trailing / it is required for the end-user to type in exactly that way. I thought to myself that this is understandable, but I need to be able to except it URL without the trailing / as well. I then went back in the conf file that defines the Alias and added another Alias right under that one without the trailing /. In my thinking this should work, but for some reason it does not. I then just modified the original Alias to not include the trailing /, but that does not seem to work either.
Im not sure if I am explaining this right or not, but to make a long story short, I would like for below statements to get to the same place:
The only difference is the trailing /. There has got to be something simple, because I have put entirely to much time in trying to figure this out. Please Help!!!!!!
'Note that if you include a trailing / on fakename then the server will require it to be present in the URL. So "/icons" isn't aliased in this example, only "/icons/". If the fakename is slash-terminated, then the realname must also be slash terminated, and if the fakename omits the trailing slash, the realname must also omit it.'
So you need to put both,
Alias /docs/ /usr/local/docs/
Alias /docs /usr/local/docs