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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] typo3/backend.php errrors

Reply
 
Thread Tools Display Modes
  #11  
Old 03-05-2013, 04:05 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
Quote:
Originally Posted by cloudhopping View Post
While loading Typo3 (cms) backend when we use litespeed it times out

GET /typo3conf/ext/templavoila/mod1/index.php?id=36 HTTP/1.1" 403 380 "http://domain.com:2080/typo3/backend.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:19.0) Gecko/20100101 Firefox/19.0"


and

"GET /typo3/ajax.php?_dc=1362512448459&ajaxID=BackendLogin%3A% 3AisTimedOut&skipSessionUpdate=1 HTTP/1.1" 200 33 "http://domain.com:2080/typo3/backend.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:19.0) Gecko/20100101 Firefox/19.0

Works just fine in apache

any thoughts?
The rewrite logs indicate neither /typo3conf/ext/templavoila/mod1/index.php nor /typo3/ajax.php goes through index.php which is right. so no problem. In your original post, request to /typo3/ajax.php returns HTTP 200. that's good. /typo3conf/ext/templavoila/mod1/index.php returns HTTP 403 (permission denied) not timeout like 5xx. Just double check if the 403 error is the timeout you mentioned.

btw, did you build matching php in lsws?
Reply With Quote
  #12  
Old 03-05-2013, 04:21 PM
cloudhopping cloudhopping is offline
Member
 
Join Date: Mar 2013
Posts: 13
Default Yes

yes we built matching

Last edited by cloudhopping; 03-05-2013 at 04:24 PM..
Reply With Quote
  #13  
Old 03-05-2013, 04:25 PM
cloudhopping cloudhopping is offline
Member
 
Join Date: Mar 2013
Posts: 13
Default perms seem ok

-rwxrwxrwx 1 username username 122K Jan 30 2012 typo3conf/ext/templavoila/mod1/index.php
Reply With Quote
  #14  
Old 03-05-2013, 05:13 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
not necessarily. pls compare with ajax.php.
Reply With Quote
  #15  
Old 03-05-2013, 05:55 PM
cloudhopping cloudhopping is offline
Member
 
Join Date: Mar 2013
Posts: 13
Default no love

no love there even after changing perms
Reply With Quote
  #16  
Old 03-05-2013, 06:36 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
for
Quote:
RewriteRule ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp| uploads|favicon\.ico)/ - [L]
please try to remove the [L] flag. i.e., change to
Quote:
RewriteRule ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp| uploads|favicon\.ico)/ -
or just comment out this rule, see if it works under lsws
Reply With Quote
  #17  
Old 03-05-2013, 06:40 PM
cloudhopping cloudhopping is offline
Member
 
Join Date: Mar 2013
Posts: 13
Default no go

Thanks - but still no go

I am not willing to give up however
We host a large number of Typo3 sites - and Would love to use LiteSpeed
So hoping I can get this to work
Reply With Quote
  #18  
Old 03-05-2013, 07:04 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
1.what's the rewritelog like above #8 post?

2.how about direct access domain.com:2080/typo3conf/ext/templavoila/mod1/index.php?id=36
Reply With Quote
  #19  
Old 03-05-2013, 07:21 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
It is related to your file AND directory permission mask.

<restrictedScriptPermissionMask>002</restrictedScriptPermissionMask>
<restrictedDirPermissionMask>002</restrictedDirPermissionMask>

However, it was 777. Hence the problem.
Quote:
[.../typo3conf/ext/templavoila/mod1]# ls -lrt
-rwxrwxrwx 1 aledo aledo 123986 Jan 30 2012 index.php
drwxrwxrwx 2 aledo aledo 4096 Jan 30 2012 ./
You need to make sure the directory and the php file under NOT world writable.

Last edited by webizen; 03-05-2013 at 07:24 PM..
Reply With Quote
  #20  
Old 03-06-2013, 02:23 AM
cloudhopping cloudhopping is offline
Member
 
Join Date: Mar 2013
Posts: 13
Default i played a little

I had played a little - from 755 / 777 and a few others

Interesting the site works - from the front end perspective just not the back end - heck most of the back end works - just not every option in the CMS

I chose to take one install to play with - but seems it is this way across the server

I would think 755 would be fine ? no ?
Reply With Quote
Reply

Tags
typo3 backend

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 05:36 PM.



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