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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > HTTP 403 for any PHP pages

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2009, 05:04 AM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Exclamation HTTP 403 for any PHP pages

PHP was fine this morning, until a few seconds ago where are php page gave a HTTP 403 access denied:

Here's the log:

2009-04-19 07:02:05.589 ERROR [config:scripthandler] Can not find handler with type: 10, name: lsphp5.
2009-04-19 07:02:05.589 ERROR [config:scripthandler] Can not find External Application: lsphp5, type: lsapi
2009-04-19 07:02:05.589 ERROR [config:scripthandler] use static file handler for suffix [php]
2009-04-19 07:02:05.589 ERROR [config:scripthandler] Can not find handler with type: 10, name: lsphp5.
2009-04-19 07:02:05.589 ERROR [config:scripthandler] Can not find External Application: lsphp5, type: lsapi
2009-04-19 07:02:05.589 ERROR [config:scripthandler] use static file handler for suffix [php5]
2009-04-19 07:02:16.541 ERROR [78.144.192.95:28721-0#APVH_urvps.com] MIME type [application/x-httpd-php] for suffix '.php' does not allow serving as static file, access denied!
2009-04-19 07:02:16.547 ERROR [78.144.192.95:28722-0#APVH_urvps.com] MIME type [application/x-httpd-php] for suffix '.php' does not allow serving as static file, access denied!
2009-04-19 07:02:18.342 ERROR [78.144.192.95:28721-1#APVH_urvps.com] MIME type [application/x-httpd-php] for suffix '.php' does not allow serving as static file, access denied!
2009-04-19 07:02:26.618 ERROR [78.144.192.95:28721-3#APVH_urvps.com] MIME type [application/x-httpd-php] for suffix '.php' does not allow serving as static file, access denied!

Anyone know what to do? I restarting the server to no avail.
Reply With Quote
  #2  
Old 04-19-2009, 01:41 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
You probably removed the script handler for .php5 from LSWS server configuration.
Reply With Quote
  #3  
Old 04-19-2009, 01:52 PM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
I only removed the php4 but php5 is still here.
Reply With Quote
  #4  
Old 04-19-2009, 02:29 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
something wrong lsphp5 external application, check the log file when server start.
Have you made any configuration change or to lsws/fcgi-bin/lsphp5 ?
Reply With Quote
  #5  
Old 04-19-2009, 02:34 PM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Quote:
Originally Posted by mistwang View Post
something wrong lsphp5 external application, check the log file when server start.
Have you made any configuration change or to lsws/fcgi-bin/lsphp5 ?
Nothing bad in server log file. I haven't made any configuration changed to lsphp5
Reply With Quote
  #6  
Old 04-19-2009, 02:39 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
double check your lsphp5 external application configuration from LSWS console.
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 10:58 PM.



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