Uncle Lexus

Рейтинг
0
Регистрация
25.06.2003

В настройках чего?

Apache??

Какой вопрос провайдеру задать?

Вот что на Яндексе ответили:

Добрый день, Алексей!

Обратитесь к администратору своего сервера за разъяснениями:

$ telnet www.hotmessage.ru 80

Trying 62.118.251.36...

Connected to www.hotmessage.ru.

Escape character is '^]'.

GET /index/showpost-1 HTTP/1.0

Accept: text/html

Host: www.hotmessage.ru

HTTP/1.1 406 Not Acceptable

Date: Thu, 26 Jun 2003 10:22:11 GMT

Server: Apache/1.3.27 (Unix) FrontPage/5.0.2.2623 PHP/4.3.2 mod_gzip/1.3.19.1a m

od_accounting/1.0 mod_fastcgi/2.4.0 mod_ssl/2.8.14 OpenSSL/0.9.7b rus/PL30.17

Alternates: {"index.php" 1 {type application/x-httpd-php} {length 1248}}

Connection: close

Content-Type: text/html; charset=iso-8859-1

С уважением,

Александр Амилющенко

Служба поддержки

-----------------------

www.yandex.ru

-----------------------

Может я просто где-то накосячил:

Содержание .htaccess

------------------------------------------------

RewriteEngine On

RewriteBase /

RewriteRule ^index/(.*)$ /index.php/$1

<FilesMatch "^(index.php)$">

ForceType application/x-httpd-php

</FilesMatch>

--------------------------------------------------------

Содержание index.php - скрипт обрабатывающий урл

------------------------------------------------------

<?

function parse($uri)

{

if($uri){

$real=explode("/",$uri);

#echo $real[0];

#echo $real[1];

#echo $real[2];

#echo $real[3];

$convert=explode("-",$real[2]);

$num = sizeof($convert);

#print "$uri_number[0]\n";

#print "$uri_number[1]\n";

#print "$uri_number[2]\n";

#echo $num;

header("HTTP/1.0 200 OK");

header("HTTP/1.1 200 OK");

header("Status: 200");

header("Last-Modified: ".gmdate("D, M d Y H:i:s",filemtime(basename($PHP_SELF)))." GMT");

if ($convert[0]=='showpost')

{

if ($num==2)

{

$rid=$convert[1];

include('showpost.php');

}

if ($num==3)

{

$rid=$convert[1];

$page=$convert[2];

include('showpost.php');

}

}

if ($convert[0]=='addpost')

{

if ($num==2)

{

$rid=$convert[1];

include('addpost.php');

}

}

if ($convert[0]=='addreply')

{

if ($num==3)

{

$idpost=$convert[1];

$idrazdel=$convert[2];

include('addreply.php');

}

}

if ($num == 1)

{

include('http://www.hotmessage.ru/start.php');

}

if (!$num)

{

include('http://www.hotmessage.ru/start.php');

}

}

}

// вызываем функцию с глобальной переменной $REQUEST_URI в качестве параметра

parse($REQUEST_URI);

?>

------------------------------------------------------------------

Посмотрите плиз!

Спасибо

sorry, ошибся малец в ссылочке

http://www.hotmessage.ru/index/showpost-1-1

вот такая ссылка, например