Mercurial > defr > drupal > core
comparison .htaccess @ 7:fff6d4c8c043 6.3
Drupal 6.3
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:30:28 +0100 |
parents | c1f4ac30525a |
children | 4347c45bb494 |
comparison
equal
deleted
inserted
replaced
6:2cfdc3c92142 | 7:fff6d4c8c043 |
---|---|
11 Options -Indexes | 11 Options -Indexes |
12 | 12 |
13 # Follow symbolic links in this directory. | 13 # Follow symbolic links in this directory. |
14 Options +FollowSymLinks | 14 Options +FollowSymLinks |
15 | 15 |
16 # Customized error messages. | 16 # Make Drupal handle any 404 errors. |
17 ErrorDocument 404 /index.php | 17 ErrorDocument 404 /index.php |
18 | |
19 # Force simple error message for requests for non-existent favicon.ico. | |
20 <Files favicon.ico> | |
21 ErrorDocument 404 "The requested file favicon.ico was not found. | |
22 </Files> | |
18 | 23 |
19 # Set the default handler. | 24 # Set the default handler. |
20 DirectoryIndex index.php | 25 DirectoryIndex index.php |
21 | 26 |
22 # Override PHP settings. More in sites/default/settings.php | 27 # Override PHP settings. More in sites/default/settings.php |
92 # | 97 # |
93 # If your site is running in a VirtualDocumentRoot at http://example.com/, | 98 # If your site is running in a VirtualDocumentRoot at http://example.com/, |
94 # uncomment the following line: | 99 # uncomment the following line: |
95 # RewriteBase / | 100 # RewriteBase / |
96 | 101 |
97 # Rewrite URLs of the form 'index.php?q=x'. | 102 # Rewrite URLs of the form 'x' to the form 'index.php?q=x'. |
98 RewriteCond %{REQUEST_FILENAME} !-f | 103 RewriteCond %{REQUEST_FILENAME} !-f |
99 RewriteCond %{REQUEST_FILENAME} !-d | 104 RewriteCond %{REQUEST_FILENAME} !-d |
105 RewriteCond %{REQUEST_URI} !=/favicon.ico | |
100 RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] | 106 RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] |
101 </IfModule> | 107 </IfModule> |
102 | 108 |
103 # $Id: .htaccess,v 1.90 2007/10/05 14:43:23 dries Exp $ | 109 # $Id: .htaccess,v 1.90.2.1 2008/07/08 09:33:14 goba Exp $ |