Htaccess File

marcomg/pasteshare/master/.htaccess

HTTP_HOST, REQUEST_FILENAME
ErrorDocument 403 /?q=errors/404
ErrorDocument 404 /?q=errors/404
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
RewriteCond %{HTTP_HOST} !^www.
#RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Exit mobile version