Prev Previous Post   Next Post Next
  #1  
Old 4th September 2005, 20:19
Bedevere Bedevere is offline
Junior Member
 
Join Date: Aug 2005
Location: NYC
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Bedevere Send a message via MSN to Bedevere Send a message via Yahoo to Bedevere
Question 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/web
Alias /files /srv/shared/Sambafiles
<Directory '/srv/shared/Sambafiles'>
 Options +Indexes
 AllowOverride None
 Order allow,deny
 Allow from all
</Directory>
These are hypothetical paths but represent basically what I am doing. SAMBA shares out the Sambafiles directory for me over my lan. I generally do not allow index but I was doing it for testing purposes.

For 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/web
Alias /files /srv/www/htdocs/web2/web/Sambafiles
<Directory '/srv/www/htdocs/web2/web/Sambafiles'>
 Options +Indexes
 AllowOverride None
 Order allow,deny
 Allow from all
</Directory>
Worked fine, I saw an index of the directory which shows that aliasing and directory commands do work, but somehow I cannot get out of the web site's storage location. Unfortunatly this won't work for me as the data is shared by multiple sites and needs to be readable by them...

Any ideas? You guys are usually very fast and know whats going on, so I am pretty hopeful!
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alias e-mail addresses radioguy Installation/Configuration 6 12th December 2006 00:29
403 on webs fuban Installation/Configuration 9 6th September 2005 21:57


All times are GMT +2. The time now is 11:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.