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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, What is SDN? And what are the real benefits? If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
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