LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > Error 403 Forbidden - you don't have the permissions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-01-2011, 07:34 AM
tophostingcenter tophostingcenter is offline
Member
 
Join Date: Nov 2010
Posts: 32
Default Error 403 Forbidden - you don't have the permissions

Hello,

We are getting this error for all php websites that are hosted on the server :

Error 403: Forbidden

You don't have permissions to access this page. This usually means one of the following:

this file and directory permissions make them unavailable from the Internet.
.htaccess contains instructions that prevent public access to this file or directory.

Please check file and directory permissions and .htaccess configuration if you are able to do this. Otherwise, request your webmaster to grant you access.

How can we solve this, Litespeed is up, ports open, php running and nothing has been changed so far.

PS: All html websites are up.

Thanks

Eric
__________________
http://www.tophostingcenter.com
Cloud SERVERS and Virtual DESKTOP
Reply With Quote
  #2  
Old 06-01-2011, 11:18 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
check error.log for details of which page/file triggers the error.
Reply With Quote
  #3  
Old 06-01-2011, 01:22 PM
tophostingcenter tophostingcenter is offline
Member
 
Join Date: Nov 2010
Posts: 32
Hello,

We cannot see anything special, where else and how to fix this ?

The only but not major is this :

--
2011-05-31 00:00:03.808 [INFO] Processing config file: /hsphere/local/config/httpd/macro/php.macro
2011-05-31 00:00:03.809 [INFO] Processing config file: /hsphere/local/config/httpd/macro/php_ext.macro
2011-05-31 00:00:03.809 [INFO] Processing config file: /hsphere/local/config/httpd/macro/vh.macro
2011-05-31 00:00:03.809 [ERROR] [/hsphere/local/config/httpd/macro/vh.macro:3] Invalid user name: $user!
2011-05-31 00:00:03.809 [ERROR] [/hsphere/local/config/httpd/macro/vh.macro:4] Invalid group name: $group!
2011-05-31 00:00:03.809 [INFO] Processing config directory: /hsphere/local/config/httpd/sites
2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/101087.conf
2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/101149.conf
2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/10142.conf
2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/101899.conf
2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/102427.conf
2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/102535.conf
2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/102564.conf
201
--

regards
eric
__________________
http://www.tophostingcenter.com
Cloud SERVERS and Virtual DESKTOP
Reply With Quote
  #4  
Old 06-01-2011, 01:36 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
You need to use 4.1.x release to get mod_macro support.
Reply With Quote
  #5  
Old 06-02-2011, 01:55 PM
tophostingcenter tophostingcenter is offline
Member
 
Join Date: Nov 2010
Posts: 32
Hello,

We might found the error that cause the 403 forbidden.

We have LiteSpeed/4.0.20 Enterprise and we have found this error:

error - [ACL] Access to context [/] is denied!

I think the above error is the cause of why all php websites like WordPress etc.. Are not up and show the 403 forbidden.

Can you tell me how to solve this please.

Regards
Eric
__________________
http://www.tophostingcenter.com
Cloud SERVERS and Virtual DESKTOP
Reply With Quote
  #6  
Old 06-02-2011, 04:12 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
does LSWS read Apache httpd.conf or have its own configuration?
Reply With Quote
  #7  
Old 06-02-2011, 05:18 PM
tophostingcenter tophostingcenter is offline
Member
 
Join Date: Nov 2010
Posts: 32
Hello,
LSWS reads Apache httpd.conf

Can you support as fast as you can, our customers are not happy.

Thanks and appreciated!

Eric
__________________
http://www.tophostingcenter.com
Cloud SERVERS and Virtual DESKTOP
Reply With Quote
  #8  
Old 06-02-2011, 05:37 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
you should pay for our support (https://store.litespeedtech.com/store/cart.php?gid=5) for fast turnaround. regular forum support is not as fast as paid support.

does this problem also happen in Apache? you may pm the server access for us to check.
Reply With Quote
  #9  
Old 06-02-2011, 05:46 PM
tophostingcenter tophostingcenter is offline
Member
 
Join Date: Nov 2010
Posts: 32
Hello,

Just bought a paid support and Ticket Created #801227

Take a look please asap.

regards
eric
__________________
http://www.tophostingcenter.com
Cloud SERVERS and Virtual DESKTOP
Reply With Quote
  #10  
Old 06-03-2011, 10:41 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
Update:

The issue was resolved soon after by upgrading lsws to 4.1.1.
Reply With Quote
Reply

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


All times are GMT -7. The time now is 04:07 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.