[csw-devel] SF.net SVN: gar:[5004] csw/mgar/pkg/drupal/trunk/files/httpd-drupal.conf. CSW
valholla at users.sourceforge.net
valholla at users.sourceforge.net
Thu May 21 20:58:04 CEST 2009
Revision: 5004
http://gar.svn.sourceforge.net/gar/?rev=5004&view=rev
Author: valholla
Date: 2009-05-21 18:58:04 +0000 (Thu, 21 May 2009)
Log Message:
-----------
tweak httpd file
Modified Paths:
--------------
csw/mgar/pkg/drupal/trunk/files/httpd-drupal.conf.CSW
Modified: csw/mgar/pkg/drupal/trunk/files/httpd-drupal.conf.CSW
===================================================================
--- csw/mgar/pkg/drupal/trunk/files/httpd-drupal.conf.CSW 2009-05-21 18:27:08 UTC (rev 5003)
+++ csw/mgar/pkg/drupal/trunk/files/httpd-drupal.conf.CSW 2009-05-21 18:58:04 UTC (rev 5004)
@@ -1,7 +1,17 @@
-
Alias /drupal "_DRUPALDIR_"
<Directory "_DRUPALDIR_">
+<IfModule rewrite_module>
+ # Rewrite current-style URLs of the form 'index.php?q=x'.
+ RewriteEngine on
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteRule ^(.*)$ /drupal/index.php?q=$1 [L,QSA]
+ RewriteCond %{REQUEST_FILENAME} !^/$
+ RewriteCond %{REQUEST_FILENAME} !^/(files|misc|uploads)(/.*)?
+ RewriteCond %{REQUEST_FILENAME} !\.(php|ico|png|jpg|gif|css|js|html?)(\W.*)?
+ RewriteRule ^(.*)$ /drupal/index.php?q=$1 [L,QSA]
+</IfModule>
AllowOverride None
<Limit GET POST OPTIONS>
Order allow,deny
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list