SF.net SVN: geany-plugins:[1663] www/staging/.htaccess
dmaphy at users.sourceforge.net
dmaphy at xxxxx
Sun Oct 17 00:30:45 UTC 2010
Revision: 1663
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1663&view=rev
Author: dmaphy
Date: 2010-10-17 00:30:45 +0000 (Sun, 17 Oct 2010)
Log Message:
-----------
website: improve rewrite rules and remove addons and spellcheck plugin
Modified Paths:
--------------
www/staging/.htaccess
Modified: www/staging/.htaccess
===================================================================
--- www/staging/.htaccess 2010-10-16 22:18:18 UTC (rev 1662)
+++ www/staging/.htaccess 2010-10-17 00:30:45 UTC (rev 1663)
@@ -1,3 +1,5 @@
+Options +Indexes
+
RewriteEngine on
RewriteBase /
@@ -5,11 +7,20 @@
RewriteCond %{REQUEST_URI} !^/stylesheets
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} !^/geany-plugins
-RewriteCond %{REQUEST_URI} !^/addons
RewriteCond %{REQUEST_URI} !^/geanydoc
RewriteCond %{REQUEST_URI} !^/geanylua
RewriteCond %{REQUEST_URI} !^/geanyprj
RewriteCond %{REQUEST_URI} !^/geanyvc
-RewriteCond %{REQUEST_URI} !^/spellcheck
+RewriteCond %{REQUEST_URI} !site
RewriteCond %{REQUEST_URI} !^/$
-RewriteRule (.*) index.php?site=$1 [L]
+RewriteCond %{REQUEST_URI} !html|css|png|php$
+RewriteRule ^(.+) index.php?site=$1 [L]
+
+RewriteCond %{REQUEST_URI} !site
+RewriteRule ^(.+).html index.php?site=$1 [L]
+
+RewriteCond %{REQUEST_URI} !html|css|png|php$
+RewriteRule ^site\/(.+) index.php?site=$1 [L]
+RewriteRule ^site\/(.+).html index.php?site=$1 [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