-
Notifications
You must be signed in to change notification settings - Fork 12
/
.htaccess
35 lines (28 loc) · 1.14 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
32
33
34
php_value error_reporting 2039
#php_flag display_errors on
php_value magic_quotes_gpc off
AddDefaultCharset utf-8
php_value default_charset utf-8
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/*themes/planet-php/.*
RewriteCond %{REQUEST_URI} !^/*themes/standard/.*
RewriteRule ^/*themes/(.+)$ ./themes/planet-php/$1 [L]
# 195.226.16.50
RewriteCond %{REMOTE_ADDR} 72.55.156.179
RewriteRule /*rdf/ ./rippers/rdf.php [L]
RewriteCond %{REQUEST_URI} !^/*themes/planet-php/.*
RewriteCond %{REQUEST_URI} !^/*index.php
RewriteCond %{REQUEST_URI} !^.*info.php
RewriteCond %{REQUEST_URI} !^.*test.php
RewriteCond %{REQUEST_URI} !^.*js/
RewriteCond %{REQUEST_URI} !^.*ping/
RewriteCond %{REQUEST_URI} !^.*images/
RewriteCond %{REQUEST_URI} !^.*rippers/
RewriteCond %{REQUEST_URI} !^.*submit/
RewriteCond %{REQUEST_URI} !^.*robots.txt
RewriteCond %{REQUEST_URI} !^.*admin/
RewriteCond %{REQUEST_URI} !^.*_vti_.*
RewriteCond %{REQUEST_URI} !favicon.ico
RewriteCond %{REQUEST_URI} !search.html
RewriteCond %{REQUEST_URI} !planet-php.src
RewriteRule ^(.+)$ ./index.php?path=$1 [QSA]