Regular Expressions Question
Jasper Frumau
jasperfrumau at gmail.com
Wed Mar 23 10:50:52 PDT 2011
I know there are quite a few savvy Sever guys on this list using MAMP. So
hope you can shed some light on this. Been trying to figure out why path to
images are not as indicated in the settings of a WordPress plugin Shopp I
am using for a project. I was wondering if this .htaccess rewrite rule was
to blame:
RewriteRule ^.*shop/images/(\d+)/?\??(.*)$
/wp-content/plugins/shopp/core/image.php?siid=$1&$2 [QSA,L]
Never had a {QSA,l] before but apparently it means *q*uery *s*tring *a*ppend.
Does that mean the string
/wp-content/plugins/shopp/core/image.php?siid=$1&$2 is added to everything +
*shop/images/(\d+)/?\??(.*) ? What would be the use of that?
FYI
Full .htaccess rewrite part is:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule ^.*shop/images/(\d+)/?\??(.*)$
/wp-content/plugins/shopp/core/image.php?siid=$1&$2 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110323/13645c0e/attachment.html>
More information about the macports-users
mailing list