Skip to content
Snippets Groups Projects
Commit c45dfc91 authored by Simon Leblanc's avatar Simon Leblanc
Browse files

htaccess for clean URL

parent c56e3b3b
No related branches found
No related tags found
No related merge requests found
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .* - [L]
RewriteRule ^([a-z0-9]{16})$ studs.php?sondage=$1
RewriteRule ^([a-z0-9]{24})/admin$ adminstuds.php?sondage=$1
# Pour le dernier j'ai honte, mais il y a trop de chose à modifier pour le moment :-)
RewriteRule ^([a-z0-9]{24})/images/(.*)$ images/$2
</IfModule>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment