Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th May 2010, 23:38
H2SO4 H2SO4 is offline
Junior Member
 
Join Date: May 2007
Posts: 28
Thanks: 6
Thanked 1 Time in 1 Post
Default 403 access denied on all sites except sites of client2

Hi guys,

i've a "little" problem. All sites what not owned by client2 get error 403. If i edited the site owner to client2 then operate without problem.

Quote:
Forbidden

You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Quote:
Originally Posted by ls -la /var/www/domain.mine.nu/web/
összesen 12
drwx--x--- 4 web26 client8 98 máj 6 19.29 .
drwxr-x--x 6 web26 client8 60 máj 6 19.29 ..
drwxr-xr-- 2 web26 client8 111 máj 6 19.29 error
-rwxr-xr-- 1 web26 client8 1406 máj 6 19.29 favicon.ico
-rwxr-xr-- 1 web26 client8 0 máj 6 19.29 .htaccess
-rwxr-xr-- 1 web26 client8 1861 máj 6 19.29 index.html
-rwxr-xr-- 1 web26 client8 34 máj 6 19.29 robots.txt
drwxr-x--- 2 root root 22 máj 6 19.29 stats

Quote:
Originally Posted by ls -la /var/www/domain.mine.nu/web/error/
összesen 28
drwxr-xr-- 2 web26 client8 111 máj 6 19.29 .
drwx--x--- 4 web26 client8 98 máj 6 19.29 ..
-rwxr-xr-- 1 web26 client8 1792 máj 6 19.29 400.html
-rwxr-xr-- 1 web26 client8 1806 máj 6 19.29 401.html
-rwxr-xr-- 1 web26 client8 1809 máj 6 19.29 403.html
-rwxr-xr-- 1 web26 client8 1806 máj 6 19.29 404.html
-rwxr-xr-- 1 web26 client8 1810 máj 6 19.29 405.html
-rwxr-xr-- 1 web26 client8 1851 máj 6 19.29 500.html
-rwxr-xr-- 1 web26 client8 1906 máj 6 19.29 503.html

Quote:
Originally Posted by access.log
x.x.x.x - - [06/May/2010:20:25:37 +0000] "GET / HTTP/1.1" 403 0 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; hu; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3"
Quote:
Originally Posted by error.log
[Thu May 06 20:25:37 2010] [error] [client x.x.x.x] Symbolic link not allowed or link target not accessible: /var/www/domain.mine.nu
If i edited the vhost file to absolute path then get this in log.

Quote:
Originally Posted by error.log
[Thu May 06 20:55:18 2010] [error] [client x.x.x.x] (13)Permission denied: access to / denied
[Thu May 06 20:55:18 2010] [error] [client x.x.x.x] (13)Permission denied: access to /error/403.html denied
Debian 5.0.4 and ISPC 3.0.2.1
Reply With Quote
Sponsored Links
  #2  
Old 7th May 2010, 13:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

The permissions seem to be wrong. Can you try this?
Code:
chmod 755 /var/www/domain.mine.nu/web/
chmod 755 /var/www/domain.mine.nu/
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 8th May 2010, 20:04
H2SO4 H2SO4 is offline
Junior Member
 
Join Date: May 2007
Posts: 28
Thanks: 6
Thanked 1 Time in 1 Post
Default

I've tried and get same error.
But now i've found the problem, all clients folder - except client2 - get wrong permission when the ispc create the folders.
Quote:
Originally Posted by ls -la /var/ww/clients/
drwxr-xr-x 5 root root 48 máj 7 22.18 .
drwxr-xr-x 6 root root 4096 máj 7 22.11 ..
drwxr-xr-x 8 root root 4096 máj 7 22.11 client2
drwxr-x--- 2 root root 6 máj 4 20.56 client7
drwxr-x--- 3 root root 39 máj 7 22.11 client8
It's a fresh installed system, on the other system where the ispc is updated from earlier version have not this (bug ?) problem.
Reply With Quote
  #4  
Old 22nd May 2010, 16:02
H2SO4 H2SO4 is offline
Junior Member
 
Join Date: May 2007
Posts: 28
Thanks: 6
Thanked 1 Time in 1 Post
Default

Need to make a bug report or you guys have any other solution?
Thats not a solution that i need manualy modify the permission after all new client.
Reply With Quote
  #5  
Old 23rd May 2010, 07:29
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 210
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

Which Linux distribution are you using? In the mean time i host a lot of websites managed by ISPConfig3 and i do not have such problems.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
  #6  
Old 23rd May 2010, 16:31
H2SO4 H2SO4 is offline
Junior Member
 
Join Date: May 2007
Posts: 28
Thanks: 6
Thanked 1 Time in 1 Post
Default

Debian Lenny
Reply With Quote
Reply

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
SugarCRM Install on ISPConfig3 w/ SuPHP clucena Installation/Configuration 1 9th February 2010 09:29
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
big files give 403 access denied reinier Installation/Configuration 0 22nd April 2007 11:31
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26


All times are GMT +2. The time now is 07:06.


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