|
|
|
| Помогите разобраться: есть файл .htaccess содержимое
RewriteEngine on
RewriteRule ^he.html$ /he.php
RewriteRule ^he([a-z]{2}).html$ /he.php?r=$1
RewriteRule ^he([a-z]{2})([a-z]{2}).html$ /he.php?r=$1&num=$2
|
Глобально он работает там настройки провайдер делал а локально у меня не работает, предпологаю что причина в настройках httpd.conf прочитал здесь как настроить
[url]
http://www.softtime.ru/article/index.php?id_article=25
[/url]
заменил AllowOverride None на AllowOverride All но всеравно не работает. Помогите! | |
|
|
|
|
|
|
|
для: Чайка
(23.02.2007 в 14:30)
| | Найдите в конфигурационном файле httpd.conf контейнер <Directory /> - как он выглядит?
<Directory />
Options All
AllowOverride All
</Directory>
|
| |
|
|
|
|
|
|
|
для: cheops
(23.02.2007 в 19:20)
| | было так
<Directory />
Options FollowSymLinks
AllowOverride None
AllowOverride All
</Directory>
|
сделал так
<Directory />
Options All
AllowOverride All
</Directory>
|
теперь сервер выдает ошибку
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@dummy-host.example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
| |
|
|
|
|
|
|
|
для: Чайка
(25.02.2007 в 00:08)
| | На каждую страницу или только при обращении к папке, где установлен .htaccess и если его убрать ситуация меняется или нет? | |
|
|
|
|
|
|
|
для: Чайка
(23.02.2007 в 14:30)
| | Добавьте еще 2 строки в htaccess. Первая особо важна. Без нее преобразования работать не будут.
Options +FollowSymlinks
RewriteBase /
|
| |
|
|
|