DirectoryIndex index php AddDefaultCharset windows-1251 ErrorDocument

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DirectoryIndex index.php
AddDefaultCharset windows-1251
ErrorDocument 404 /axwell/require/e404.php
Options -Indexes
Options FollowSymLinks
<IfModule mod_php5.c>
php_flag magic_quotes_gpc on
php_flag error_reporting off
php_value arg_separator.output "&amp;"
</IfModule>
php_flag display_errors on
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.+)$ /axwell/require/e404.php?REQUEST_URI=$1 [L,QSA]
RewriteRule teachercontact/(\d+)$ teachercontact/?teacherid=$1
</ifModule>