![]() |
Alias directory in Apache - anyone know how to fix...
I set up an Alias directory on my server.
http://fatsluts.info/recips/ But for some reason if you click on any of the files or folders the server says "Not Found" I set the permissions of the directory to 755 and the files to 644 like the rest of my server is set up but alas - no luck. Here is the alias I set up (in httpd.conf): Alias /recips/ "/usr/www/NAME/zrecips" <Directory "/usr/www/NAME/zrecips"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> Am I missing something? |
why dont you just setup a symbolic link
|
alias is not a command in apache config, you are thinking about ScriptAlias
|
Symbolic link - Is that what the "FollowSymLinks" option is?
I thought it was something unrelated. That could be the fix. I'll try it fris - thanks. |
from console ln -s source dest
ln -s /usr/www/NAME/zrecips /home/kemp/recips or whatever |
Quote:
I use "Alias" for tons of stuff. http://httpd.apache.org/docs/mod/mod_alias.html If you don't know for sure, why post anyway? |
Try it without the quotes and slash after recipshahahaha
Should be no need for symbolic linking with this (I don't even use the other part you have and it works great) Alias /recips /usr/www/NAME/zrecips |
it's most likely a problem with the trailing slash, either get rid of it in your alias or add it to the directory def.
|
Intrigue - you got it. It was a problem with the trailing slash.
Thanks for the tip! |
Quote:
|
All times are GMT -7. The time now is 01:38 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123