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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [solved] Timthumb + Visual Editor not working

Reply
 
Thread Tools Display Modes
  #1  
Old 01-25-2013, 04:24 PM
guy100 guy100 is offline
New Member
 
Join Date: Aug 2012
Posts: 5
Default [solved] Timthumb + Visual Editor not working

In one of my wordpress theme i have problem with Timthumb + Visual Editor.
If i enable the litespeed, this 2 not working if i turn back in Apache all is fine.
I have also Build Matching PHP Binary, but all is the same, i have also update Timthumb to latest version.

Last edited by NiteWave; 02-22-2013 at 07:32 PM..
Reply With Quote
  #2  
Old 01-25-2013, 09:58 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
what's the theme's name? can get it for free ? so we can try on our local wordpress installation.
Reply With Quote
  #3  
Old 02-21-2013, 11:54 PM
guy100 guy100 is offline
New Member
 
Join Date: Aug 2012
Posts: 5
Thank you for your help to find the problem.
For future reference for people who had that problem, the problem solved with delete of htaccess of the theme (extra htaccess that was in theme directory and had some rules for photos).
Reply With Quote
  #4  
Old 02-22-2013, 07:31 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
for more detail:

public_html/wp-content/themes/aspiration/.htaccess
Quote:
<Files *>
Order Allow,Deny
Deny from all
</Files>

<Files ~ "\.(css|js|gif|jpg|png)$">
Order Allow,Deny
Allow from all
</Files>
public_html/wp-content/themes/aspiration/AIT/.htaccess
Quote:
<Files *>
Order Allow,Deny
Deny from all
</Files>

<Files ~ "\.(css|js|gif|jpg|png|swf)$|ThemeBoxAjax\.php|tim thumb\.php|pluginScript\.php|popupWindow\.php">
Order Allow,Deny
Allow from all
</Files>
when access
domain.com/wp-content/themes/aspiration/AIT/Framework/Libs/timthumb/timthumb.php?src=...
will leave a message in error.log(or error_log):
Quote:
2013-02-22 06:51:02.963 [INFO] [x.x.x.x:27440-0#APVH_domain.com][ACL] Access to context [/wp-content/themes/aspiration/AIT/] is denied!
the result is 403 error in litespeed and ok in apache.

you can delete or empty public_html/wp-content/themes/aspiration/.htaccess
a better workaround would be:
Quote:
mv public_html/wp-content/themes/aspiration/AIT/.htaccess public_html/wp-content/themes/aspiration/
so for wordpress theme with File, FilesMatch etc control in .htaccess, need adjust a bit.
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 08:11 AM.



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