Commit c4d6d953 authored by Will's avatar Will

Ajout .htaccess pour utilisation sur serveur de test

parent 3e525c53
...@@ -5,13 +5,19 @@ RewriteEngine On ...@@ -5,13 +5,19 @@ RewriteEngine On
# In such cases, it should be the path (relative to the document root) # In such cases, it should be the path (relative to the document root)
# containing this .htaccess file # containing this .htaccess file
# #
# RewriteBase / #RewriteBase
RewriteCond %{REQUEST_URI} \.ini$ #RewriteBase /piphone/
RewriteRule \.ini$ - [R=404]
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [L,QSA] RewriteRule .* index.php [L,QSA]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#RewriteCond %{REQUEST_URI} \.ini$
#RewriteRule \.ini$ - [R=404]
#RewriteCond %{REQUEST_FILENAME} !-l
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule .* index.php [L,QSA]
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment