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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I have a problem with apache alias.
I have following in my httpd.config file
Alias /UC/ "/root/webdir/"
<Directory "/root/webdir/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
and yet, when I try to access a file in directory UC, I get following error in log
File does not exist: /usr/local/base/www/UC
/usr/local/base/www is my documentroot ofcourse.
I have tried using UC, UC/ and /UC/ in the alias..none worked.
I have a feeling this is something extremely stupid on my part coz i know this is supposed to work.
I wud really appreciate if anyone cud point where the mistake is.
Thanks a lot,
Kaustubh
You either have to add the trailing slash to the URL(eg http://www.yourdomain.com/UC/ )
or remove all trailing slash from your alias and directory directives:
Code:
Alias /UC "/root/webdir"
<Directory "/root/webdir">
Hi,
It didnt work
I tried accessing the file outside Documentroot using symbolic links also.
But it gives me error symbolic link not allowed even when use the option followSymLinks for the directory.
And this is really strange..is there anything i need to set before using alias or symbolic links?
I appreciate your help.
Kaustubh
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.