-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.htaccess
executable file
·30 lines (28 loc) · 898 Bytes
/
.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
#Options +Indexes
#RemoveHandler .html
#RemoveType .html
#AddType text/html .html
#Satisfy any
#Order Allow,Deny
#Allow from all
#Deny from all
#AuthType Basic
#AuthName "Access to /logs"
#AuthUserFile /kunden/homepages/0/d396478511/htpasswd
#Require user u67225760
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/login$
RewriteRule ^(.*)$ /blog/wp-login.php [R,L]
# this sends everyone else to index.php
RewriteCond %{REQUEST_URI} ^/index\.php/$
RewriteRule ^(.*)$ /index\.php [R,L]
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^(.*)$ /index\.php [R,L]
RewriteCond %{REQUEST_URI} ^/index\.php/site/index$
RewriteRule ^(.*)$ /index\.php [R,L]
RewriteCond %{REQUEST_URI} ^/index\.php/site/index/$
RewriteRule ^(.*)$ /index\.php [R,L]
RewriteCond %{REQUEST_URI} ^/index\.php/site/$
RewriteRule ^(.*)$ /index\.php [R,L]
RewriteCond %{REQUEST_URI} ^/index\.php/site$
RewriteRule ^(.*)$ /index\.php [R,L]