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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd June 2008, 02:36
tazmon95 tazmon95 is offline
Junior Member
 
Join Date: Nov 2006
Posts: 29
Thanks: 4
Thanked 1 Time in 1 Post
Default 403 Forbidden for ISPConfig Admin Pages

Hello,

I recently just had a major issue develop with one of my servers. When I try to access the admin panel, I'm getting a 403 Forbidden error. I've spent hours searching for help on how to fix this and after trying everything short of re-installing ISPConfig, nothing has helped.

If anyone can help me sort this out, it would be MUCH appreciated.

About the only thing I've found that doesn't look like it's setup the way it should be is.
Quote:
[error] an unknown filter was not added: PHP
showing up in the apache error logs many times.

Thanks
~Taz
Reply With Quote
Sponsored Links
  #2  
Old 22nd June 2008, 12:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

To the error messge:

http://www.howtoforge.com/ispconfig-2.x-first-steps-p2

chapter 2.4.3

To yoz forbidden error: Have a look in the error log in /root/ispconfig/httpd/log/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 22nd June 2008, 13:31
tazmon95 tazmon95 is offline
Junior Member
 
Join Date: Nov 2006
Posts: 29
Thanks: 4
Thanked 1 Time in 1 Post
Default

Hi Till,

Thanks for the fast reply. I've looked at the link you posted and I am having a hard time understanding which part of it deals with the error in the logs.

Also I've looked at the log location you posted and here's a section of what I'm seeing.

Quote:
[Sat Jun 21 15:57:21 2008] [error] [client 192.168.3.1] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sat Jun 21 15:57:22 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sat Jun 21 15:57:22 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sat Jun 21 16:17:36 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sat Jun 21 16:17:37 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sat Jun 21 16:17:38 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sat Jun 21 16:17:54 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sat Jun 21 16:18:05 2008] [notice] caught SIGTERM, shutting down
[Sat Jun 21 16:18:12 2008] [notice] Apache configured -- resuming normal operations
[Sat Jun 21 16:18:12 2008] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Jun 21 16:18:14 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sat Jun 21 16:18:28 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sat Jun 21 16:18:29 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sat Jun 21 16:23:20 2008] [notice] caught SIGTERM, shutting down
[Sat Jun 21 16:24:46 2008] [notice] Apache configured -- resuming normal operations
[Sat Jun 21 16:24:46 2008] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Jun 21 16:26:05 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sat Jun 21 16:26:06 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sat Jun 21 16:26:07 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sun Jun 22 02:38:40 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sun Jun 22 02:39:11 2008] [error] [client 192.168.3.188] client denied by server configuration: /home/admispconfig/ispconfig/web/favicon.ico
[Sun Jun 22 03:15:23 2008] [error] [client 192.168.3.199] client denied by server configuration: /home/admispconfig/ispconfig/web
[Sun Jun 22 03:15:28 2008] [error] [client 192.168.3.199] client denied by server configuration: /home/admispconfig/ispconfig/web/favicon.ico
[Sun Jun 22 03:15:31 2008] [error] [client 192.168.3.199] client denied by server configuration: /home/admispconfig/ispconfig/web/favicon.ico
I see lots of client denied errors in it but have no idea what is causing it.

Thanks,
Taz
Reply With Quote
  #4  
Old 23rd June 2008, 21:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Did you modify /root/ispconfig/httpd/conf/httpd.conf, or did you place an .htaccess file in /home/admispconfig/ispconfig/web?
What's the output of
Code:
ls -la /home/admispconfig/ispconfig/web
?
__________________
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
  #5  
Old 24th June 2008, 05:52
tazmon95 tazmon95 is offline
Junior Member
 
Join Date: Nov 2006
Posts: 29
Thanks: 4
Thanked 1 Time in 1 Post
Default

Falko,

Thanks for the help, I took a look in the root/ispconfig/httpd/conf file and found.
Code:
<Directory "/home/admispconfig/ispconfig/web">

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
    Options FollowSymLinks MultiViews

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
    AllowOverride All

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Deny from all
</Directory>
I thought the deny looked a little odd and changed it to Allow and now I can access the admin area again. The only thing that concerns me is that I don't remember changing it but I might have while frustrated with trying to get Magento working in ISPConfig. Is this a security risk to leave set at "Allow"?

As far as funning ls -la there is no .htaccess file in any of the ispconfig directories... I've searched all of them.

Thanks for pointing me in the right direction.

~Taz
Reply With Quote
  #6  
Old 24th June 2008, 10:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Quote:
Is this a security risk to leave set at "Allow"?
No.

You should never touch this config file. It is not related to hosting of the websites on your server!

Quote:
As far as funning ls -la there is no .htaccess file in any of the ispconfig directories... I've searched all of them.
Not funny, ISPConfig does not use any .htaccess file in this directory Falko just asked in case if you created one there.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 24th June 2008, 11:07
tazmon95 tazmon95 is offline
Junior Member
 
Join Date: Nov 2006
Posts: 29
Thanks: 4
Thanked 1 Time in 1 Post
Default

Till,

Thanks for the explanations... I must have made that change then when I was struggling to get Magento up and running on ISPConfig... and failed. It requires a newer version of PHP than my ISPConfig had on it.

Again thanks, both you and Falko pointed me in the right direction.

~Taz
Reply With Quote
  #8  
Old 6th April 2009, 02:22
zosorock zosorock is offline
Junior Member
 
Join Date: Apr 2009
Location: Philadelphia
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to zosorock
Default

Quote:
Originally Posted by tazmon95 View Post
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride All

#
# Controls who can get stuff from this server.
#
Order allow,deny
Deny from all
</Directory>
[/code]

I thought the deny looked a little odd and changed it to Allow and now I can access the admin area again. The only thing that concerns me is that I don't remember changing it but I might have while frustrated with trying to get Magento working in ISPConfig. Is this a security risk to leave set at "Allow"?

~Taz
Was this on Apache 2.2? Because I have just installed ISPConfig on my Debain Lenny and I keep getting that error ("client denied by server configuration: /usr/local/ispconfig/interface/web/") even though before I installed apache was running and serving pages normally. I actually uninstalled ispCP and installed ISPConfig to try it out.

Anyway, I check the Directives in the .vhost files, changed like you did and tried pretty much any other variation I could think of. Right now I cannot make Apache serve a single page of any kind and I have been hacking at it for 5 hours

Any help is much appreciated. Ah btw I am running the 3.0.1.1

Fabiano
Reply With Quote
  #9  
Old 6th April 2009, 13:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
 
Default

This thraed is about ISPConfig 2 and not 3, ISPConfig 3 is a total different software which uses a different setup so you can not use any solutions from ispconfig 2.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
403 forbidden for pages with Frames?? nifter53 Installation/Configuration 1 6th May 2008 10:18
add web site serr57 Installation/Configuration 18 13th April 2008 12:40
IMAP doesn't work..as i followed the Perfect Setup for Fedora 4 asokaajay Server Operation 11 10th June 2007 15:57
Rename folder -> create new folder equals contents of old folder BlueStream General 20 15th December 2006 04:32
403 Error- Forbidden! on form submit Macord General 4 11th December 2006 23:22


All times are GMT +2. The time now is 13:25.


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