Htaccess File

nixolas1/Alcomist/master/.htaccess

HTTP_HOST, REQUEST_FILENAME, REQUEST_URI
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

RewriteCond %{REQUEST_URI} !(/$|.) 
RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] 

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /(.*)$ /$1 [L]

ErrorDocument 404 /php/404.php
ErrorDocument 403 /php/404.php

Options -Indexes
Exit mobile version