Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th August 2012, 23:26
dublekay dublekay is offline
Junior Member
 
Join Date: Aug 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question 403 Forbidden error in ISPConfig 3

Hi Guys

I've been using ISPConfig on several servers for a while now without issue.

I have jsut installed it (twice) on a customers VPS running in an OpenVZ container (Solus VM system) and when I try to access the ISPCOnfig interface on port 8080 I get a

Forbidden

You don't have permission to access / on this server.

error.

The OS is Debian 6, and im using Apache2 as the web server.

All the permissions look exactly the same as other installations, so im *guessing* it has some weird issue with SETUID permissions because of OpenVZ or something?

Does anyone have any pointers as to where I can look? There is nothing useful in the apache error logs either, just a repetition of the error displayed in the browser.

Thanks for any assistance!

Mike
Reply With Quote
Sponsored Links
  #2  
Old 9th August 2012, 08:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,811
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
Default

Openvz should not cause any problems. Plesae take a look at the apache error.log file if there is a more verbose error message.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 9th August 2012, 22:43
dublekay dublekay is offline
Junior Member
 
Join Date: Aug 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question

Quote:
Originally Posted by till View Post
Openvz should not cause any problems. Plesae take a look at the apache error.log file if there is a more verbose error message.
Hi Till,

Thanks for the reply.

The apache logs show nothing of any use.

[Fri Aug 10 00:40:54 2012] [error] [client xxx.xxx.xxx.xxx] (13)Permission denied: access to / denied

I've used ISPConfig 3 on so many servers without hassle, and this one has me beat right now.
Reply With Quote
  #4  
Old 10th August 2012, 04:54
dublekay dublekay is offline
Junior Member
 
Join Date: Aug 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Smile

UPDATE: Solved. The VPS Master was storing its containers in a NFS share that was messing with the permissions.

Remounted the same location using iSCSI and all is now good.
Reply With Quote
  #5  
Old 26th February 2013, 09:06
DiMoNd DiMoNd is offline
Junior Member
 
Join Date: Apr 2011
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default Permission, ssh problems

Hi.

I have just installed a debian server with ispconfig following this guide: "The Perfect Server - Debian Squeeze (Debian 6.0) With BIND & Courier [ISPConfig 3]" and everything works ok but two things..

i) When I log into ispconfig panel under a user account, I create and add a website I then get "Forbidden
You don't have permission to access /xxxxxxxxx.com on this server."

This happens with every single website I add on my server. The only way I can fix this is go into "/etc/apache2/sites-enabled/100-xxxxxxxxx.com.vhost" and change the "<Directory /var/www/xxxxxxxx.com>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>"

to "<Directory /var/www/xxxxxxxxx.com>
AllowOverride None
Order Deny,Allow
Allow from all
</Directory>"

Only then I can see the website.

ii) When I add a ssh user(on ispconfig) I want this user to NOT be able to go to "/etc/..." .


Thank you!
Reply With Quote
  #6  
Old 26th February 2013, 09:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,811
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
Default

1) How did you try to access the site? Sites can be accessed by domain name only or by IP address if a site has a dedicated IP. What does not work is something like http://192.168.0.10/mydomain.com/web/

2) Enable chrooting in the client settings. And donz mix up the /etc directory that you see as chrooted user with the /etc directory of the server, these are not the same!
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 26th February 2013, 09:50
DiMoNd DiMoNd is offline
Junior Member
 
Join Date: Apr 2011
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default

1) I do not have a domain name configured yet. I use a public IP address but the server gets an internal IP address (192.168.1.4) with ports 80, 22 etc. forwarded. So when I write http://192.168.0.10/mydomain.com/web/ or http://213.xxx.xxx.xxx/mydomain.com/web/ I get the 403 error.

2) I guess then everything is ok with chrooting. You are right, it is not the same /etc directory as server's.
Reply With Quote
  #8  
Old 26th February 2013, 10:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,811
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
Default

Ok, so the system is working correctly. You can not access sites like this. Enter the domain name of the site in the browser to access the site. If the domain does not exist, use this:

http://www.faqforge.com/linux/contro...-a-dns-record/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 26th February 2013, 10:22
DiMoNd DiMoNd is offline
Junior Member
 
Join Date: Apr 2011
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
 
Thumbs up Yeah!!!

Thanks a lot!

Now everything is working perfect!
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
All files gone after changing quota to 0 spynode General 17 19th January 2012 14:41
ISPConfig 3.0.3.2 & Webdav & 403 Forbidden Rescue9 Installation/Configuration 6 4th December 2011 16:05
SquirrelMail login not working glenneh Installation/Configuration 13 9th April 2011 20:01
My Ispconfig UI is not totally loading when i log in wachira General 23 2nd February 2011 20:11
403 on ISPconfig 3's admin pages lord-helmet Installation/Configuration 1 28th May 2009 08:40


All times are GMT +2. The time now is 14:28.


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