07/07/2015, 07:15:31
Effectivement c'est mieux
Je n'ai plus le message d'erreur de BDD mais maintenant j'ai une page blanche.
erci
[== Indéfini ==]
app.engine=php
app.engine.version=5.5
http.firewall=none
environment=production
#PHP5 on OVH MUTU
SetEnv PHP_VER 5.5
SetEnv SESSION_USE_TRANS_SID 0
#Do not display list files of a directory
Options -Indexes
RewriteEngine on
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# except for form POSTS
# RewriteCond %{REQUEST_URI} !/$
# RewriteCond %{REQUEST_URI} !\.
# RewriteCond %{REQUEST_METHOD} !POST$
# RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+).html$ index.php?page=$1 [QSA]
Je n'ai plus le message d'erreur de BDD mais maintenant j'ai une page blanche.
erci
[== Indéfini ==]
app.engine=php
app.engine.version=5.5
http.firewall=none
environment=production
#PHP5 on OVH MUTU
SetEnv PHP_VER 5.5
SetEnv SESSION_USE_TRANS_SID 0
#Do not display list files of a directory
Options -Indexes
RewriteEngine on
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# except for form POSTS
# RewriteCond %{REQUEST_URI} !/$
# RewriteCond %{REQUEST_URI} !\.
# RewriteCond %{REQUEST_METHOD} !POST$
# RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+).html$ index.php?page=$1 [QSA]