[ Поиск ] - [ Пользователи ] - [ Календарь ]
Полная Версия: проблемы в htaccess
DarkGuy
Добрый вечер!
http://go*.com/?id=1
хотел преобразовать в http://go*.com/id1

прописал в .htaccess

AddDefaultCharset utf-8


RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ [NC,L]
RewriteRule ^.*$ index.php [NC,L]
RewriteRule ^id([^_]*)$ /?id=$1 [L]

выдает

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@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.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.22 (Win32) mod_ssl/2.2.22 OpenSSL/1.0.1c PHP/5.3.13 Server at go*.com Port 80

грешу на
RewriteRule ^.*$ [NC,L]
RewriteRule ^.*$ index.php [NC,L]

все работает на denwer

где я ошибся? и как исправить?

Быстрый ответ:

 Графические смайлики |  Показывать подпись
Здесь расположена полная версия этой страницы.
Invision Power Board © 2001-2025 Invision Power Services, Inc.