robotpony/Presto/master/.htaccess - Htaccess File

robotpony/Presto/master/.htaccess

<IfModule mod_rewrite.c>

RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(transmogrify/(?:info|system|tests))/(.*).(.*)$ /lib/delegator-index.php?r=$2&t=$3&c=$1 [L]
RewriteRule ^(transmogrify/(?:info|system|tests))/$ /lib/delegator-index.php?r=$1&t=LIST [L]
RewriteRule ^(transmogrify/.*).(.*)$ /lib/delegator-index.php?r=$1&t=$2 [L]
RewriteRule ^(transmogrify/.*)$ /lib/delegator-index.php?r=$1&t=LIST [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /docs/index.php?presto&page=$1 [NC,QSA,L]
</IfModule>

ErrorDocument 404 /docs/index.php?presto&error=404
ErrorDocument 500 /docs/index.php?presto&error=500
ErrorDocument 401 /docs/index.php?presto&error=401
ErrorDocument 403 /docs/index.php?presto&error=403

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache