SF.net SVN: geany-plugins:[1702] www/staging/.htaccess
dmaphy at users.sourceforge.net
dmaphy at xxxxx
Tue Nov 2 21:43:46 UTC 2010
Revision: 1702
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1702&view=rev
Author: dmaphy
Date: 2010-11-02 21:43:46 +0000 (Tue, 02 Nov 2010)
Log Message:
-----------
website: pass GET parameters to index.php via rewrite rules
(sorry, Michael, should be fixed now)
Modified Paths:
--------------
www/staging/.htaccess
Modified: www/staging/.htaccess
===================================================================
--- www/staging/.htaccess 2010-11-02 15:54:32 UTC (rev 1701)
+++ www/staging/.htaccess 2010-11-02 21:43:46 UTC (rev 1702)
@@ -14,13 +14,13 @@
RewriteCond %{REQUEST_URI} !site
RewriteCond %{REQUEST_URI} !^/$
RewriteCond %{REQUEST_URI} !html|css|png|php|tar|gz|bz2$
-RewriteRule ^(.+) index.php?site=$1 [L]
+RewriteRule ^(.+) index.php?site=$1&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_URI} !site
-RewriteRule ^(.+).html index.php?site=$1 [L]
+RewriteRule ^(.+).html index.php?site=$1&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_URI} !html|css|png|php|tar|gz|bz2$
-RewriteRule ^site\/(.+) index.php?site=$1 [L]
-RewriteRule ^site\/(.+).html index.php?site=$1 [L]
+RewriteRule ^site\/(.+) index.php?site=$1&%{QUERY_STRING} [L]
+RewriteRule ^site\/(.+).html index.php?/p?site=$1&%{QUERY_STRING} [L]
RewriteRule ^site\/images(.+) /images$1 [L]
RewriteRule ^site\/stylesheets(.+) /stylesheets$1 [L]
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list