![]() |
Alias outside of Web1?
I upgraded to a new server and rebuilt form scratch. Using SuSE 9.2 and the latest ISPConfig (1.0.8?). I love the product, works great. One minor issue has me snagged though.
This worked on my old server but won't now: I have a few directories I like to upload to via Samba, and they have been shared to my web sites via an alias command. One web site (lets say web2) has a share located outside it's folders and one which points to the user directory - I added this in the site setup: Code:
Alias /user1 /srv/www/htdocs/web2/user/web1_user1/webFor some reason my alias commands to the user directory works fine but the one to "/files" isn't at all. I get a 403 error. So I tested things by chmod the directory to 777 and even made the owner and group the same as the web folders in /srv/www/htdocs/web1/web. No good. To test things out I moved the Sambafiles directory to /srv/www/htdocs/web2/web and then set things as follows: Code:
Alias /user1 /srv/www/htdocs/web2/user/web1_user1/webAny ideas? You guys are usually very fast and know whats going on, so I am pretty hopeful! :D |
Have you tried to use symlinks instaed of aliases? To enable Symlinks, add this to your vhost:
Options +FollowSymlinks |
Doh! Yes!
I wil try this and report back. |
Worked perfect. Thanks for reminding me about that option!
|
| All times are GMT +2. The time now is 02:03. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.