20.09.2008, 15:40 | #21 |
Специалист
Регистрация: 04.01.2008
Сообщений: 386
Вес репутации: 207
|
Проверил еще раз. Все работает. mode_rewrite действительно нужен, думал это очевидно.
__________________
|
21.09.2008, 11:26 | #22 | |||
Дикий
Регистрация: 02.06.2007
Адрес: <Noindex>
Сообщений: 2,551
Вес репутации: 355
|
Цитата:
Цитата:
Цитата:
__________________
Делаю кулоны с опалами в стекле и не только! |
|||
21.09.2008, 11:28 | #23 |
Специалист
Регистрация: 04.01.2008
Сообщений: 386
Вес репутации: 207
|
Еще что-то в htaccess есть? Если да - покажите файл полностью. У меня работает корректно и в локале и на сервере.
__________________
|
21.09.2008, 11:32 | #24 |
Дикий
Регистрация: 02.06.2007
Адрес: <Noindex>
Сообщений: 2,551
Вес репутации: 355
|
Больше ничего нет.
Пойду попробую на локальной машине. Смущает только одно: http://forum.sape.ru/showpost.php?p=158262&postcount=2 И это - мнение модератора форума.
__________________
Делаю кулоны с опалами в стекле и не только! |
21.09.2008, 11:36 | #25 |
Специалист
Регистрация: 04.01.2008
Сообщений: 386
Вес репутации: 207
|
Очень странно тогда. В логах что пишется?
__________________
|
21.09.2008, 14:28 | #26 |
Специалист
|
<IfModule mod_rewrite.c>
RewriteEngine on # If your site can be accessed both with and without the 'www.' prefix, you # can use one of the following settings to redirect users to your preferred # URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option: # # To redirect all users to access the site WITH the 'www.' prefix, # (http://example.com/... will be redirected to http://www.example.com/...) # adapt and uncomment the following: # RewriteCond %{HTTP_HOST} ^example\.com$ [NC] # RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301] # # To redirect all users to access the site WITHOUT the 'www.' prefix, # (http://www.example.com/... will be redirected to http://example.com/...) # uncomment and adapt the following: # RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC] # RewriteRule ^(.*)$ http://example.com/$1 [L,R=301] RewriteCond %{HTTP_HOST} ^www\.(.+)$ RewriteRule (.*) http://%1/$1 [R=301,L] # Modify the RewriteBase if you are using saite in a subdirectory or in a # VirtualDocumentRoot and the rewrite rules are not working properly. # For example if your site is at http://example.com/namesss uncomment and # modify the following line: # RewriteBase /namesss # # If your site is running in a VirtualDocumentRoot at http://example.com/, # uncomment the following line: # RewriteBase / # Rewrite old-style URLs of the form 'node.php?id=x'. #RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME} !-d #RewriteCond %{QUERY_STRING} ^id=([^&]+)$ #RewriteRule node.php index.php?q=node/view/%1 [L] # Rewrite old-style URLs of the form 'module.php?mod=x'. #RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME} !-d #RewriteCond %{QUERY_STRING} ^mod=([^&]+)$ #RewriteRule module.php index.php?q=%1 [L] # Rewrite current-style URLs of the form 'index.php?q=x'. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] </IfModule> Поэкспериментируйте исходя из этого. 500 вылазит изза кодировки и неправильных правил - попробуйте выставить utf8 и unix, и поэкспериментировать с тем что дал.
__________________
заработок на сайтах без пессимизации |
21.09.2008, 19:14 | #27 |
Дикий
Регистрация: 02.06.2007
Адрес: <Noindex>
Сообщений: 2,551
Вес репутации: 355
|
ОК. Спасибо.
__________________
Делаю кулоны с опалами в стекле и не только! |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Редирект через .htaccess (301). Есть вопрос. | Deadman_n | Курилка | 8 | 05.07.2008 12:44 |
Левые файлы в папке e...много_цифр... | paul | Вопросы по работе системы | 4 | 17.04.2008 13:20 |
Экспорт статистики в csv-файлы. | Kholod | Пожелания пользователей системы | 0 | 13.04.2008 11:56 |
Какой код надо вставить в xml файлы ? | tusja912 | Вопросы от новичков | 9 | 28.11.2007 04:01 |
Часовой пояс GMT +3, время: 01:55.