Обучение/Помощь новичкам | Ошибка
Включил показ ошибок он мне показал что в файле ичтакес ошибка 500 неверные дериктроии,подскажите где?
AddDefaultCharset utf-8
DirectoryIndex index.php
Options -Indexes
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP:X-FORWARDED-PROTO} =http
RewriteRule (.*) http://%{HTTP_HOST}/$1 [R=301,L]
# Директории скрипта #
php_value default_mimetype text/html
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
php_flag magic_quotes_sybase Off
php_flag register_argc_argv Off
php_value session.auto_start 0
# Кеширование в браузере на стороне пользователя #
<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript
</ifModule>
# Если нет какой либо странички в игре #
ErrorDocument 404 /Modules/error.php
ErrorDocument 401 /Modules/error.php
ErrorDocument 403 /Modules/error.php
ErrorDocument 500 /Modules/error.php
RewriteRule ^profil?$ Profile/user.php [L,QSA]
RewriteRule ^maneken_([0-9]*).png?$ /maneken/maneken.php?id=$1 [L,QSA]
## Защита от sql инъекций
RewriteCond %{query_string} concat.*\( [NC,OR]
RewriteCond %{query_string} union.*select.*\( [NC,OR]
RewriteCond %{query_string} union.*all.*select [NC]
RewriteRule ^(.*)$ index.php [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
AddDefaultCharset utf-8
DirectoryIndex index.php
Options -Indexes
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP:X-FORWARDED-PROTO} =http
RewriteRule (.*) http://%{HTTP_HOST}/$1 [R=301,L]
# Директории скрипта #
php_value default_mimetype text/html
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
php_flag magic_quotes_sybase Off
php_flag register_argc_argv Off
php_value session.auto_start 0
# Кеширование в браузере на стороне пользователя #
<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript
</ifModule>
# Если нет какой либо странички в игре #
ErrorDocument 404 /Modules/error.php
ErrorDocument 401 /Modules/error.php
ErrorDocument 403 /Modules/error.php
ErrorDocument 500 /Modules/error.php
RewriteRule ^profil?$ Profile/user.php [L,QSA]
RewriteRule ^maneken_([0-9]*).png?$ /maneken/maneken.php?id=$1 [L,QSA]
## Защита от sql инъекций
RewriteCond %{query_string} concat.*\( [NC,OR]
RewriteCond %{query_string} union.*select.*\( [NC,OR]
RewriteCond %{query_string} union.*all.*select [NC]
RewriteRule ^(.*)$ index.php [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Вижу у тебя апач.
Удали все кроме
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP:X-FORWARDED-PROTO} =http
RewriteRule (.*) http://%{HTTP_HOST}/$1 [R=301,L]
RewriteRule ^profil?$ Profile/user.php [L,QSA]
RewriteRule ^maneken_([0-9]*).png?$ /maneken/maneken.php?id=$1 [L,QSA]
## Защита от sql инъекций
RewriteCond %{query_string} concat.*\( [NC,OR]
RewriteCond %{query_string} union.*select.*\( [NC,OR]
RewriteCond %{query_string} union.*all.*select [NC]
RewriteRule ^(.*)$ index.php [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Удали все кроме
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP:X-FORWARDED-PROTO} =http
RewriteRule (.*) http://%{HTTP_HOST}/$1 [R=301,L]
RewriteRule ^profil?$ Profile/user.php [L,QSA]
RewriteRule ^maneken_([0-9]*).png?$ /maneken/maneken.php?id=$1 [L,QSA]
## Защита от sql инъекций
RewriteCond %{query_string} concat.*\( [NC,OR]
RewriteCond %{query_string} union.*select.*\( [NC,OR]
RewriteCond %{query_string} union.*all.*select [NC]
RewriteRule ^(.*)$ index.php [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d