remove .htaccess files: we don't use apache anywhere on rock.ru
This commit is contained in:
31
.htaccess
31
.htaccess
@@ -1,31 +0,0 @@
|
|||||||
RewriteEngine On
|
|
||||||
RewriteBase /
|
|
||||||
|
|
||||||
RewriteCond %{HTTP_HOST} ^rock.ru
|
|
||||||
RewriteRule (.*) http://www.rock.ru/$1 [R=301,L]
|
|
||||||
|
|
||||||
#RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
|
|
||||||
#RewriteRule .* - [L]
|
|
||||||
RewriteRule ^top100/?$ cgi-bin/topsites/topsites.pl
|
|
||||||
RewriteRule ^top100/(.+)$ cgi-bin/topsites/$1
|
|
||||||
RewriteRule ^cgi-bin\/ikonboard\/ikonboard\.cgi.*$ forum/index.php
|
|
||||||
RewriteRule ^news.shtml$ pub.php?cat=1
|
|
||||||
RewriteRule ^reviews.shtml$ pub.php?cat=2
|
|
||||||
RewriteRule ^afisha.shtml$ pub.php?cat=6
|
|
||||||
RewriteRule ^concerts.shtml$ pub.php?cat=3
|
|
||||||
RewriteRule ^hoth\/?$ pub.php?cat=7
|
|
||||||
RewriteRule ^housesoftheholy\/(.*)$ http://rock.ru/hoth/$1 [R=301]
|
|
||||||
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
|
||||||
RewriteRule ^[-a-z_0-9]+\/([0-9]+).html$ pub.php?id=$1
|
|
||||||
|
|
||||||
RewriteRule ^lyrics/?$ lyrics.php
|
|
||||||
RewriteRule ^lyrics/([a-z0-9_]+)/?$ lyrics.php?par1=$1
|
|
||||||
RewriteRule ^lyrics/([a-z0-9_]+)/([a-z0-9_]+.html) lyrics.php?par1=$1&par2=$2
|
|
||||||
|
|
||||||
RewriteCond %{HTTP_HOST} ^(www.)?rock.ru
|
|
||||||
#RewriteRule ^forum(.*)$ http://forum.rock.ru$1 [R=permanent]
|
|
||||||
|
|
||||||
RewriteRule ^slon\.png forum/index.php?action=dlattach;id=13883;type=avatar
|
|
||||||
Options +ExecCGI
|
|
||||||
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
# Deny all users web access to this directory
|
|
||||||
Deny from all
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
# Deny all users web access to this directory
|
|
||||||
Deny from all
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
# Deny all users web access to this directory
|
|
||||||
Deny from all
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
<Files phplastfmapi>
|
|
||||||
order allow,deny
|
|
||||||
deny from all
|
|
||||||
</Files>
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Deny from all
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
DirectoryIndex history.html
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
AuthType Basic
|
|
||||||
AuthName "No Access"
|
|
||||||
AuthUserFile .htnopasswd
|
|
||||||
AuthGroupFile /dev/null
|
|
||||||
Require valid-user
|
|
||||||
Reference in New Issue
Block a user