comparison .htaccess @ 15:4347c45bb494 6.7

Drupal 6.7
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:32:44 +0100
parents fff6d4c8c043
children
comparison
equal deleted inserted replaced
14:626fcabfa4b8 15:4347c45bb494
1 # 1 #
2 # Apache/PHP/Drupal settings: 2 # Apache/PHP/Drupal settings:
3 # 3 #
4 4
5 # Protect files and directories from prying eyes. 5 # Protect files and directories from prying eyes.
6 <FilesMatch "\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template)$"> 6 <FilesMatch "\.(engine|inc|info|install|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$">
7 Order allow,deny 7 Order allow,deny
8 </FilesMatch> 8 </FilesMatch>
9 9
10 # Don't show directory listings for URLs which map to a directory. 10 # Don't show directory listings for URLs which map to a directory.
11 Options -Indexes 11 Options -Indexes
16 # Make Drupal handle any 404 errors. 16 # Make Drupal handle any 404 errors.
17 ErrorDocument 404 /index.php 17 ErrorDocument 404 /index.php
18 18
19 # Force simple error message for requests for non-existent favicon.ico. 19 # Force simple error message for requests for non-existent favicon.ico.
20 <Files favicon.ico> 20 <Files favicon.ico>
21 # There is no end quote below, for compatibility with Apache 1.3.
21 ErrorDocument 404 "The requested file favicon.ico was not found. 22 ErrorDocument 404 "The requested file favicon.ico was not found.
22 </Files> 23 </Files>
23 24
24 # Set the default handler. 25 # Set the default handler.
25 DirectoryIndex index.php 26 DirectoryIndex index.php
104 RewriteCond %{REQUEST_FILENAME} !-d 105 RewriteCond %{REQUEST_FILENAME} !-d
105 RewriteCond %{REQUEST_URI} !=/favicon.ico 106 RewriteCond %{REQUEST_URI} !=/favicon.ico
106 RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] 107 RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
107 </IfModule> 108 </IfModule>
108 109
109 # $Id: .htaccess,v 1.90.2.1 2008/07/08 09:33:14 goba Exp $ 110 # $Id: .htaccess,v 1.90.2.3 2008/12/10 20:04:08 goba Exp $