mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
17 lines
702 B
ApacheConf
17 lines
702 B
ApacheConf
|
######################
|
||
|
# .htaccess example. #
|
||
|
######################
|
||
|
|
||
|
<IfModule mod_rewrite.c>
|
||
|
RewriteEngine On
|
||
|
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
||
|
RewriteCond %{REQUEST_FILENAME} -d
|
||
|
RewriteRule . - [L]
|
||
|
|
||
|
RewriteRule ^([a-zA-Z0-9-]+)$ studs.php?poll=$1 [L]
|
||
|
RewriteRule ^([a-zA-Z0-9-]+)/action/([a-zA-Z_-]+)/(.+)$ studs.php?poll=$1&$2=$3
|
||
|
RewriteRule ^([a-zA-Z0-9-]+)/vote/([a-zA-Z0-9]{16})$ studs.php?poll=$1&vote=$2
|
||
|
RewriteRule ^([a-zA-Z0-9-]{24})/admin$ adminstuds.php?poll=$1
|
||
|
RewriteRule ^([a-zA-Z0-9-]{24})/admin/vote/([a-zA-Z0-9]{16})$ adminstuds.php?poll=$1&vote=$2
|
||
|
RewriteRule ^([a-zA-Z0-9-]{24})/admin/action/([a-zA-Z_-]+)(/(.+))?$ adminstuds.php?poll=$1&$2=$4
|
||
|
</IfModule>
|