home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / groupoffice-com-2.01 / modules / daogen / .htaccess next >
Text File  |  2004-03-08  |  798b  |  17 lines

  1. RewriteEngine On 
  2.  
  3. # / or index.html is requested so call rewrite.php with a special parameter 
  4. RewriteRule ^$ rewrite.php?rw_url=index.php&rw_host=%{HTTP_HOST}&rw_from=%{REQUEST_URI} [QSA,L] 
  5. RewriteRule ^index\.html$ rewrite.php?rw_url=index.php&rw_host=%{HTTP_HOST}&rw_from=%{REQUEST_URI} [QSA,L] 
  6. RewriteRule ^rewrite\.php$ rewrite.php?rw_url=index.php&rw_host=%{HTTP_HOST}&rw_from=%{REQUEST_URI} [QSA,L] 
  7.  
  8. # then if we have a request which is neither file nor dir send the request to rewrite.php 
  9. #RewriteCond %{REQUEST_FILENAME} !-f 
  10. #RewriteCond %{REQUEST_FILENAME} !-d 
  11. RewriteRule (.*) rewrite.php?rw_url=$1&rw_host=%{HTTP_HOST}&rw_from=%{REQUEST_URI} [QSA,L]
  12.  
  13. php_flag magic_quotes_gpc Off
  14.  
  15. #If we are using XUL files, we need to include this
  16. AddType application/vnd.mozilla.xul+xml .xul
  17.