Requête demandée : /examples/relative/bar/qux/?show=.%2F.htaccess
Page PHP executée : /examples/relative/404/index.php
RELATIVE : ../
WEB RELATIVE : ../../
Racine du site
Sans redirection (1 niveau)
Sans redirection (2 niveaux)
Sans redirection (3 niveaux)
Avec redirection (1 niveau)
Avec redirection (2 niveaux)
Avec redirection (3 niveaux)

Voir la source des fichiers :
./index.php
./404/index.php
./.htaccess
./qux/index.php
./qux/.htaccess
./css/relative.css
./foo/index.php
./foo/bar/index.php
./foo/bar/baz/index.php
./lib/init.php

./.htaccess

Options -MultiViews -Indexes +FollowSymLinks

RewriteEngine On

## PROD
RewriteCond %{HTTP_HOST} !^127.0.0.1$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} "!\.(css|js|png|jpg|ico)$" [NC]

RewriteRule ^ /examples/relative/404/index.php [L,NS,PT,QSA]

## DEV
RewriteCond %{HTTP_HOST} ^127.0.0.1$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} "!\.(css|js|png|jpg|ico)$" [NC]

RewriteRule ^ /salt/examples/relative/404/index.php [L,NS,PT,QSA]


------ end of file ------