[Solar-svn] Revision 3245
pmjones at solarphp.com
pmjones at solarphp.com
Sat Jul 26 10:33:33 CDT 2008
system: added default .htaccess file
Added: system/docroot/.htaccess
===================================================================
--- system/docroot/.htaccess (rev 0)
+++ system/docroot/.htaccess 2008-07-26 15:33:33 UTC (rev 3245)
@@ -0,0 +1,17 @@
+<IfModule rewrite_module>
+ # turn on rewriting
+ RewriteEngine On
+
+ # hint the Solar_Uri_Action class as to the base path
+ SetEnv SOLAR_URI_ACTION_PATH /
+
+ # turn empty reqests into requests for "index.html",
+ # keeping the query string intact
+ RewriteRule ^$ index.html [QSA]
+
+ # for all files not found in the file system,
+ # reroute to "index.php" bootstrap script,
+ # keeping the query string intact.
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteRule ^(.*)$ index.php [QSA,L]
+</IfModule>
\ No newline at end of file
More information about the Solar-svn
mailing list