halonsov/pki/master/_.htaccess - Htaccess File

halonsov/pki/master/_.htaccess

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L]

Options -Indexes
ErrorDocument 404 /error
ErrorDocument 403 /error
rewritecond %{REQUEST_FILENAME} !-d
rewritecond %{REQUEST_FILENAME} !-f
rewritecond %{REQUEST_FILENAME} !-l
rewriterule ^(.+)$ index.php?url=$1 [QSA,L]
<files metodos.xml>
    order allow,deny
    deny from all
</files>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME, SERVER_PORT

Comments

Apache