LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   [solved] Timthumb + Visual Editor not working (http://www.litespeedtech.com/support/forum/showthread.php?t=6593)

guy100 01-25-2013 04:24 PM

[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.

NiteWave 01-25-2013 09:58 PM

what's the theme's name? can get it for free ? so we can try on our local wordpress installation.

guy100 02-21-2013 11:54 PM

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).

NiteWave 02-22-2013 07:31 PM

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.


All times are GMT -7. The time now is 01:34 AM.