-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
31 lines (25 loc) · 1.04 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
RewriteEngine On
# /* force redirect to https */
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
# /* End Force HTTPS */
Options +FollowSymLinks
Options -Indexes
RewriteRule ^logout$ index.php?action=logout
RewriteRule ^sessionexpired$ index.php?session=expired
RewriteRule ^a/([a-zA-Z0-9_-]+)$ index.php?admin=$1
RewriteRule ^s/([a-zA-Z0-9_-]+)$ index.php?staff=$1
RewriteRule ^sub/([0-9]+)$ index.php?page=sub&sub=$1
RewriteRule ^zoek/([a-zA-Z0-9_-]+)$ index.php?page=search&search=$1
RewriteRule ^post/([0-9]+)$ index.php?page=post&post=$1
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?page=$1
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . / [L,R=302]
# /* CopyRight PowerChaos 2016 */
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php54” package as the default “PHP” programming language.
<IfModule mime_module>
AddType application/x-httpd-ea-php54 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit