api.ampere/public/.htaccess

13 lines
226 B
ApacheConf
Raw Normal View History

2022-12-29 22:25:38 +01:00
RewriteEngine on
RewriteCond %{REQUEST_URI} !(.*)\.(css|js|htc|pdf|jpg|jpeg|gif|png|ico)$ [NC]
RewriteRule ^compteur/?$ index.php [NC,L]
RewriteRule ^releve/?$ index.php [NC,L]
RewriteRule ^[^/]+/(\d+)$ index.php?id=$1