Перейти к содержимому



Ошибка 404 хотя...

#1 Гость_PepeL_*

Гость_PepeL_*
  • Гости
0

Отправлено 23 Февраль 2009 - 03:54

ПОставил новый движок вап чата пришлось и хтачес старый на новый заменить и теперь при заходе
в любой раздел сайта например forum.site.ru выпрыгивает 404 ошибка типа каталога не существует(((
DirectoryIndex index.php
не помогло,но помогите вы пожалуйста!!!
Вот код хтачеса
DirectoryIndex index.php
php_value register_globals Off
<Files ~ ".dat$|.htaccess$|.htpasswd$|.log$|.cfg$|.inc$|.ini$|.inc.php$|.class.php$|config.php$|^functions.php$|^header.php$">
Order allow,deny
Deny from All
Satisfy All
</Files>

php_value session.use_cookies 0
php_value session.use_trans_sid 1
php_value arg_separator.output "&amp;"

php_value magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value magic_quotes_sybase 0

php_flag register_argc_argv Off

php_flag register_globals Off

php_flag display_errors Off
php_value error_reporting 0
php_flag log_errors Off

Options -Indexes
AddDefaultCharset UTF-8
php_value default_charset cp1251


RewriteEngine on
RewriteRule ^([a-z0-9]*)/?$ index.php?ver=$1 [L,QSA]
RewriteRule ^menu/([a-z0-9]*)/([0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ menu.php?ver=1$&nickname=$2&password=$3&action=$4 [L,QSA]
RewriteRule ^go/([a-z0-9]*)/([0-9]*)/([a-z0-9]*)/?$ go.php?ver=$1&nickname=$2&password=$3 [L,QSA]
RewriteRule ^kto/([a-z0-9]*)/?$ kto.php?ver=$1 [L,QSA]
RewriteRule ^menu/([a-z0-9]*)/([a-z0-9]*)/?$ menu.php?ver=$1&nocache=$2 [L,QSA]
RewriteRule ^menu/([a-z0-9]*)/?$ menu.php?ver=$1 [L,QSA]
RewriteRule ^dobav/([a-z0-9]*)/?$ dobav.php?ver=$1 [L,QSA]
RewriteRule ^dobav/([a-z0-9]*)/([a-z0-9]*)/?$ dobav.php?ver=$1&case=$2 [L,QSA]
RewriteRule ^news/([a-z0-9]*)/([a-z0-9]*)/?$ news.php?ver=$1&nid=$2 [L,QSA]
RewriteRule ^art/([a-z0-9]*)/([a-z0-9]*)/?$ art.php?ver=$1&nomer=$2 [L,QSA]
RewriteRule ^info/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ info.php?uid=$1&ver=$2&act=$3 [L,QSA]
RewriteRule ^search/([a-z0-9]*)/([a-z0-9]*)/?$ search.php?ref=$1&ver=$2 [L,QSA]
RewriteRule ^gazeta/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ gazeta.php?ver=$1&case=$2&nomer=$3 [L,QSA]
RewriteRule ^history/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ history.php?ver=$1&rid=$2&nocache=$3 [L,QSA]
RewriteRule ^history/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ history.php?ver=$1&rid=$2&s=$3&nocache=$4 [L,QSA]
RewriteRule ^room/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ room.php?ver=$1&rid=$2&z=$3&msg=$4&nocache=$5 [L,QSA]
RewriteRule ^letters/([a-z0-9]*)/([a-z0-9]*)/?$ letters.php?ver=$1&mod=$2 [L,QSA]
RewriteRule ^room/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ room.php?ver=$1&rid=$2&nocache=$3 [L,QSA]
RewriteRule ^add/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ add.php?ver=$1&rid=$2&nocache=$3 [L,QSA]
RewriteRule ^room/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ room.php?ver=$1&rid=$2&act=$3&nocache=$4 [L,QSA]
RewriteRule ^mroom/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ mroom.php?ver=$1&rid=$2&nocache=$3 [L,QSA]
RewriteRule ^intim/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ intim.php?ver=$1&key=$2&nocache=$3 [L,QSA]
RewriteRule ^intim/([a-z0-9]*)/([a-z0-9]*)/?$ intim.php?ver=$1&nocache=$2 [L,QSA]
RewriteRule ^key/([a-z0-9]*)/([a-z0-9]*)/?$ key.php?ver=$1&act=invalid [L,QSA]
RewriteRule ^intim/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ intim.php?ver=$1&key=$2&nocache=$3 [L,QSA]
RewriteRule ^intim/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ intim.php?ver=$1&key=$2&z=$3&msg=$4&nocache=$5 [L,QSA]
RewriteRule ^ihistory/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ ihistory.php?ver=$1&key=$2&nocache=$3 [L,QSA]
RewriteRule ^info/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ info.php?ver=$1&rid=$2&nocache=$3&uid=$4 [L,QSA]
RewriteRule ^info/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ info.php?ver=$1&rid=$2&uid=$3&nocache=$4&act=$5 [L,QSA]
RewriteRule ^infoi/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ infoi.php?ver=$1&key=$2&nocache=$3&uid=$4 [L,QSA]
RewriteRule ^infoi/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ infoi.php?ver=$1&key=$2&uid=$3&nocache=$4&act=$5 [L,QSA]
RewriteRule ^addi/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ addi.php?ver=$1&key=$2&nocache=$3 [L,QSA]
RewriteRule ^fotko/([a-z0-9]*)/([a-z0-9]*)/?$ fotko.php?ver=$1&uid=$2 [L,QSA]
RewriteRule ^info/([a-z0-9]*)/([a-z0-9]*)/?$ info.php?act=$1&site=$2 [L,QSA]
RewriteRule ^ignor/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ ignor.php?ver=$1&mod=$2&uid=$3 [L,QSA]
RewriteRule ^room/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ room.php?ver=$1&rid=$2&nocache=$3&to=$4 [L,QSA]
RewriteRule ^rules/([a-z0-9]*)/?$ rules.php?ver=$1 [L,QSA]
RewriteRule ^rules/([a-z0-9]*)/([a-z0-9]*)/?$ rules.php?ver=$1&action=$2 [L,QSA]
RewriteRule ^registration/([a-z0-9]*)/([a-z0-9]*)/?$ registration.php?ver=$1&nocache=$2 [L,QSA]
RewriteRule ^registration/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ registration.php?ver=$1&asp=$2&nocache=$3 [L,QSA]
RewriteRule ^gazeta/([a-z0-9]*)/?$ gazeta.php?ver=$1 [L,QSA]
RewriteRule ^faq/([a-z0-9]*)/([a-z0-9]*)/?$ faq.php?ver=$1&mod=$2 [L,QSA]
RewriteRule ^stats/([a-z0-9]*)/?$ stats.php?ver=$1 [L,QSA]
RewriteRule ^allnews/([a-z0-9]*)/?$ allnews.php?ver=$1 [L,QSA]
RewriteRule ^meets/([a-z0-9]*)/?$ meets.php?ver=$1 [L,QSA]
RewriteRule ^kabinet/([a-z0-9]*)/?$ kabinet.php?ver=$1 [L,QSA]
RewriteRule ^letters/([a-z0-9]*)/?$ letters.php?ver=$1 [L,QSA]
RewriteRule ^bank/([a-z0-9]*)/?$ bank.php?ver=$1 [L,QSA]
RewriteRule ^magazin/([a-z0-9]*)/?$ magazin.php?ver=$1 [L,QSA]
RewriteRule ^galery/([a-z0-9]*)/([a-z0-9]*)/?$ galery.php?ver=$1&page=$2 [L,QSA]
RewriteRule ^galery/([a-z0-9]*)/?$ galery.php?ver=$1 [L,QSA]
RewriteRule ^online/([a-z0-9]*)/?$ online.php?ver=$1 [L,QSA]
RewriteRule ^search/([a-z0-9]*)/?$ search.php?ver=$1 [L,QSA]
RewriteRule ^games/dice/([a-z0-9]*)/?$ games/dice.php?ver=$1 [L,QSA]
RewriteRule ^games/ugadaika/([a-z0-9]*)/?$ games/ugadaika.php?ver=$1 [L,QSA]
RewriteRule ^embassies/([a-z0-9]*)/?$ embassies.php?ver=$1 [L,QSA]
RewriteRule ^unlim/([a-z0-9]*)/([a-z0-9]*)/?$ unlim.php?rid=$1&ver=$2 [L,QSA]
RewriteRule ^room/([a-z0-9]*)/([a-z0-9]*)/?$ room.php?rid=$1&ver=$2 [L,QSA]
RewriteRule ^room/([a-z0-9]*)/([a-z0-9]*)/([a-z0-9]*)/?$ room.php?rid=$1&ver=$2&ref=$3 [L,QSA]
RewriteRule ^key/([a-z0-9]*)/?$ key.php?ver=$1 [L,QSA]
RewriteRule ^faq/([a-z0-9]*)/?$ faq.php?ver=$1 [L,QSA]
RewriteRule ^faq/([a-z0-9]*)/([a-z0-9]*)/?$ faq.php?ver=$1&mod=$1& [L,QSA]
RewriteRule ^([a-z0-9]*)/([a-z0-9]*)/?$ index.php?ver=$1&act=$2 [L,QSA]

Подскажите что где нетак ;)

 

 

  • 0

#2 ZiTosS

ZiTosS
  • Пользователь
  • 5 148 сообщений
  • Репутация: 8

Отправлено 23 Февраль 2009 - 14:04

А какой был старый?
  • 0


Оформление форума – IPBSkins.ru