#
# Apache/PHP/Drupal settings:
#
# Protect files and directories from prying eyes.
Order allow,deny
# Don't show directory listings for URLs which map to a directory.
IndexOptions -Indexes
# Follow symbolic links in this directory.
#Options +FollowSymLinks
# Customized error messages.
ErrorDocument 404 /index.php
# Pour faire parser les fichiers .php par PHP5
AddType application/x-httpd-php5 .php
# Set the default handler.
DirectoryIndex index.php
# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.
# PHP 4, Apache 1.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
# php_value arg_separator.output '&'
# php_value magic_quotes_runtime 0
# php_value magic_quotes_sybase 0
# php_value session.cache_expire 200000
# php_value session.cache_limiter 'none'
# php_value session.cookie_lifetime 2000000
# php_value session.gc_maxlifetime 200000
# php_value session.save_handler 'user'
# php_value session.use_only_cookies 1
# php_value session.use_trans_sid 0
# php_value url_rewriter.tags ''
#
# #php_value session.cookie_domain 'pasd.fr'
# PHP 4, Apache 2.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
# PHP 5, Apache 1 and 2.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
# Requires mod_expires to be enabled.
# Enable expirations.
ExpiresActive On
# Cache all files for 2 weeks after access (A).
ExpiresDefault A1209600
# Do not cache dynamically generated pages.
ExpiresByType text/html A1
# Various rewrite rules.
RewriteEngine on
# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
# RewriteBase /62/p/a/s/pasd.fr/www
# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Run only one time
# RewriteCond %{REQUEST_URI} !/index\.php
# RewriteRule www\.pasd\.fr/(.{0,127})$ /index.php?q=/$1 [QSA,L]
# RewriteRule www\.pasd\.fr/(.*)$ /index.php?q=/$1 [L,QSA]
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
# $Id: .htaccess,v 1.81 2007/01/09 09:27:10 dries Exp $