lighten-mailbox-new/.htaccess

21 lines
547 B
ApacheConf
Raw Normal View History

2020-11-15 16:24:41 +00:00
Options -Indexes +FollowSymLinks -SymLinksIfOwnerMatch
2020-10-30 20:51:04 +00:00
RewriteEngine on
## Sécurité
RewriteRule ^config.yaml$ index.php?action=403
2020-11-05 10:46:41 +00:00
RewriteRule ^daemon.php$ index.php?action=403
# Rewrite
RewriteCond %{REQUEST_URI} ^/archive/example/
RewriteRule .* - [L]
2020-10-30 20:51:04 +00:00
2020-11-05 10:46:41 +00:00
RewriteRule ^(.+).html$ index.php?page=$1 [L]
2020-10-30 20:51:04 +00:00
RewriteRule ^spool_([0-9]+)$ index.php?session_id=$1 [L]
RewriteRule ^spool_([0-9]+)_DeleteApproval$ index.php?session_id=$1&DeleteApproval=1 [L]
2020-11-05 10:46:41 +00:00
2020-10-30 20:51:04 +00:00
#ErrorDocument 404 /index.php?action=404
#ErrorDocument 403 /index.php?action=403