View Single Post
  #4  
Old 02-22-2013, 07:31 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
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