guillaumfloki/freecademy/master/.htaccess
order allow,deny
allow from all
deny from 222.77.83.226
deny from 117.18.67.202
Options +FollowSymlinks
RewriteEngine on
#accueil
RewriteRule ^/$ /index.php [L,QSA]
#RewriteRule ^accueil.html$ /index.php [L,QSA]
RewriteRule ^accueil$ /index.php [L,QSA]
#administration
RewriteRule ^administration$ /admin/administration.php [QSA,L]
#login
RewriteRule ^connexion$ /login.php [QSA,L]
#inscription
RewriteRule ^inscription$ /login.php [QSA,L]
#profil
RewriteRule ^profil$ /profil.php [QSA,L]
#app
RewriteRule ^app$ /app.php [QSA,L]
RewriteRule ^app2$ /app2.php [QSA,L]
#blog
RewriteRule ^blog$ /blog/index.php [QSA,L]
#contact
RewriteRule ^contact$ /contact.php [QSA,L]
#aide
RewriteRule ^aide$ /aide.php [QSA,L]
#a propos
RewriteRule ^apropos$ /apropos.php [QSA,L]
#privacy
RewriteRule ^privacy$ /cgu.php#cookies [QSA,L]
#cgu
RewriteRule ^cgu$ /cgu.php [QSA,L]
#secure signin
RewriteRule ^assistance/inscription-securisee$ /securesignin.php [QSA,L]
#secure signin
RewriteRule ^assistance/recuperez-votre-mot-de-passe$ /mdpperdu.php [QSA,L]
ErrorDocument 404 /404.php
On Github License
Files
Download PDF of Htaccess file