diff --git a/docs/README.txt b/docs/README.txt index 0433882d..0e23518d 100644 --- a/docs/README.txt +++ b/docs/README.txt @@ -43,11 +43,9 @@ Exemple de vhost en mode développement ServerName scoresws.sd.dev AddDefaultCharset utf-8 - DocumentRoot "D:/www/scoresws/public" - + DocumentRoot "D:/www/webservice/public" SetEnv APPLICATION_ENV "development" - - + DirectoryIndex index.php AllowOverride All Order allow,deny @@ -69,14 +67,20 @@ Vhost réel ServerSignature Off AddDefaultCharset utf-8 DocumentRoot /home/vhosts/webservice/public - SetEnv APPLICATION_ENV "production" - - DirectoryIndex index.php - AllowOverride All - Order allow,deny - Allow from all + DirectoryIndex index.php + AllowOverride All + Order allow,deny + Allow from all + + RewriteEngine On + RewriteCond %{REQUEST_FILENAME} -s [OR] + RewriteCond %{REQUEST_FILENAME} -l [OR] + RewriteCond %{REQUEST_FILENAME} -d + RewriteRule ^.*$ - [NC,L] + RewriteRule ^.*$ index.php [NC,L] + # Possible values include: debug, info, notice, warn, error, crit, alert, emerg.