[Plugin: Role Scoper] .htaccess rule forces all my images to be parsed by PHP
-
Hi,
I don’t remember where I got my plugin from, but I must have installed an outdated version. In my admin it stands as version 1.0.8 and there’s no auto-update link.
Anyway, my problem is that the rules included by Role Scoper on my .htaccess file are – according to a specialist on the server side – forcing my images to be parsed by PHP in WordPress. That creates a massive load on the server, a load that has been going on the whole September and I will be charged soon enough, more than 10 times over the usual amount :'(. I use MediaTemple’s grid servers and they charge by GPUs (units that represent the overall load on the server, including processing, file requests and such.
These lines (now commented off) are:
#RewriteEngine on #RewriteCond %{HTTP:Authorization} ^(.*) #RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1] #RewriteCond %{HTTP_REFERER} !^http://www.mysite.com/wp-admin #RewriteRule ^(.*)wp-content/uploads/(.*) /index.php?attachment=$2&scoper_rewrite=1 [NC,L]
So I have two questions:
1. IF this rule is NOT in the latest version of Role Scoper, should I upgrade or make a fresh, updated install of Role Scoper?
2. If this rule IS in the latest version of Role Scoper, what feature am I going to miss?Thanks beforehand,
Wallace
- The topic ‘[Plugin: Role Scoper] .htaccess rule forces all my images to be parsed by PHP’ is closed to new replies.