VirtualHost 80 ServerAdmin example example com DocumentRoot home copz

 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<VirtualHost *:80>
ServerAdmin example@example.com
DocumentRoot /home/copz/public_html
ServerName copz.ru
ServerAlias www.copz.ru
<Directory /home/copz/public_html>
RewriteEngine on
AddDefaultCharset windows-1251
RewriteRule ^([a-z]+)_([0-9]+)\.html$ /comment.php?comment.news.$2.$1
RewriteRule ^other.html$ /news.php?list.1
RewriteRule ^humor.html$ /news.php?list.2
RewriteRule ^pic.html$ /news.php?list.3
RewriteRule ^creativ.html$ /news.php?list.4
RewriteRule ^films.html$ /news.php?list.6
RewriteRule ^music.html$ /news.php?list.7
RewriteRule ^soft.html$ /news.php?list.8
RewriteRule ^webz.html$ /news.php?list.10
RewriteRule ^games.html$ /news.php?list.11
RewriteRule ^erotic.html$ /news.php?list.13
RewriteRule ^auto.html$ /news.php?list.14
RewriteRule ^rss$ /plugins/rss_menu/rss.php?news.2
RewriteRule ^frend$ /plugins/AJAXChat_menu/AJAXChat_main.php
RewriteRule ^admin(\/?)$ / [f]
RewriteRule ^e107_admin(\/?)$ / [f]
RewriteRule ^admin.php$ / [f]
RewriteRule ^e107_config.php$ / [f]
RewriteRule ^config.php$ / [f]
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin example@example.com
DocumentRoot /home/usadba/public_html
ServerName usadba74.ru
ServerAlias www.usadba74.ru
<Directory /home/usadba/public_html>
AddDefaultCharset windows-1251
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin example@example.com
DocumentRoot /home/cyper/public_html
ServerName cyper.ru
ServerAlias www.cyper.ru
<Directory /home/cyper/public_html>
AllowOverride All
</Directory>
</VirtualHost>