Нужна консультация по отправке заголовков на сервер (404 ошибка)

golos81

Новичок
Нужна консультация по отправке заголовков на сервер (404 ошибка)

Сразу скажу, не совсем уверен, что данная тема должна находится в этой ветке.

Пишу cms систему. Приходится маскировать адреса, переделываю из mysite.ru/index.php?cat=news&date=11&month=04&year=2006 в mysite.ru/news/11/04/2006/ пользуюсь php+mod_rewrite.
Честно говоря не силен в заголовках, поэтому хотелось бы услышать мнение знающих.
На данный момент приходят следующие заголовки:
GET /img/logo.gif HTTP/1.1
Accept: */*
Referer: http://localhost/mysite/company/
Accept-Language: ru
Accept-Encoding: gzip, deflate
If-Modified-Since: Wed, 19 Apr 2006 19:17:55 GMT
If-None-Match: "0-2d82-44468ce3"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: localhost
Connection: Keep-Alive

GET /img/ban4.gif HTTP/1.1
Accept: */*
Referer: http://localhost/mysite/company/
Accept-Language: ru
Accept-Encoding: gzip, deflate
If-Modified-Since: Sun, 02 Apr 2006 15:28:15 GMT
If-None-Match: "0-425-442fed8f"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: localhost
Connection: Keep-Alive

HTTP/1.1 404 Not Found
Date: Sat, 22 Apr 2006 05:01:35 GMT
Server: Apache/1.3.33 (Win32) PHP/4.4.0
X-Powered-By: PHP/4.4.0
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html

GET /img.jpg HTTP/1.1
Accept: */*
Referer: http://localhost/mysite/company/
Accept-Language: ru
Accept-Encoding: gzip, deflate
If-Modified-Since: Sat, 01 Apr 2006 05:53:59 GMT
If-None-Match: "0-be3-442e1577"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: localhost
Connection: Keep-Alive

HTTP/1.1 404 Not Found
Date: Sat, 22 Apr 2006 05:01:35 GMT
Server: Apache/1.3.33 (Win32) PHP/4.4.0
X-Powered-By: PHP/4.4.0
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html

GET /img/img.jpg HTTP/1.1
Accept: */*
Referer: http://localhost/mysite/company/
Accept-Language: ru
Accept-Encoding: gzip, deflate
If-Modified-Since: Sat, 01 Apr 2006 05:53:59 GMT
If-None-Match: "0-be3-442e1577"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: localhost
Connection: Keep-Alive

HTTP/1.1 404 Not Found
Date: Sat, 22 Apr 2006 05:01:35 GMT
Server: Apache/1.3.33 (Win32) PHP/4.4.0
X-Powered-By: PHP/4.4.0
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html

HTTP/1.1 404 Not Found
Date: Sat, 22 Apr 2006 05:01:35 GMT
Server: Apache/1.3.33 (Win32) PHP/4.4.0
X-Powered-By: PHP/4.4.0
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html

GET /img/ban.gif HTTP/1.1
Accept: */*
Referer: http://localhost/mysite/company/
Accept-Language: ru
Accept-Encoding: gzip, deflate
If-Modified-Since: Sat, 01 Apr 2006 05:49:13 GMT
If-None-Match: "0-4ed-442e1459"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: localhost
Connection: Keep-Alive

GET /img/ban3.jpg HTTP/1.1
Accept: */*
Referer: http://localhost/mysite/company/
Accept-Language: ru
Accept-Encoding: gzip, deflate
If-Modified-Since: Sat, 01 Apr 2006 06:04:52 GMT
If-None-Match: "0-644-442e1804"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: localhost
Connection: Keep-Alive

HTTP/1.1 404 Not Found
Date: Sat, 22 Apr 2006 05:01:35 GMT
Server: Apache/1.3.33 (Win32) PHP/4.4.0
X-Powered-By: PHP/4.4.0
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html

GET /mysite/company/an4.gif HTTP/1.1
Accept: */*
Referer: http://localhost/mysite/company/
Accept-Language: ru
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: localhost
Connection: Keep-Alive

HTTP/1.1 404 Not Found
Date: Sat, 22 Apr 2006 05:01:35 GMT
Server: Apache/1.3.33 (Win32) PHP/4.4.0
X-Powered-By: PHP/4.4.0
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html

GET /img/ban2.jpg HTTP/1.1
Accept: */*
Referer: http://localhost/mysite/company/
Accept-Language: ru
Accept-Encoding: gzip, deflate
If-Modified-Since: Sat, 01 Apr 2006 06:03:40 GMT
If-None-Match: "0-9ec-442e17bc"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: localhost
Connection: Keep-Alive

HTTP/1.1 404 Not Found
Date: Sat, 22 Apr 2006 05:01:35 GMT
Server: Apache/1.3.33 (Win32) PHP/4.4.0
X-Powered-By: PHP/4.4.0
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html

HTTP/1.1 404 Not Found
Date: Sat, 22 Apr 2006 05:01:35 GMT
Server: Apache/1.3.33 (Win32) PHP/4.4.0
X-Powered-By: PHP/4.4.0
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html


GET /u?ver=2&id=1498692&lang=1049&url=http: //localhost/mysite/company/&referer=http://localhost/mysite/index.php&show=1&thc=0 HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: bar-navig.yandex.ru
Connection: Keep-Alive
Cookie: yandexuid=383213591144952709; yabs-frequency=855208.3:849790.3:828351.2:828843.1:849782.3:817750.1:840361.1:827876.2:846517.2:765223.1:[email protected]; my=Yx4CAAAA

HTTP/1.1 200 Ok
Connection: close
Cache-control: no-cache, max-age=0
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Content-Type: text/xml; charset=windows-1251

Это все дело приходит при загрузке одной страницы. Смущает что выводится очень много заголовков, почему?

Так же смущает, что проскакивате "HTTP/1.1 404 Not Found". Главный вопрос, как все это дело воспримут поисковики, как они будут индексировать мои страницы? Будут ли они считать, что страница http://localhost/mysite/company/ действительно есть или будут считать, что ее нет?
 

God

Новичок
как все это дело воспримут поисковики
При правильном RewriteRule поисковик и не узнает о действительной архитектуре твоего сайта.
А заниматься гаданием без текста .htaccess'а бесполезная затея.
 

golos81

Новичок
Автор оригинала: God
При правильном RewriteRule поисковик и не узнает о действительной архитектуре твоего сайта.
А заниматься гаданием без текста .htaccess'а бесполезная затея.
Привожу текст содержимого .htaccess
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
Options -MultiViews
RewriteRule ^([-0-9a-z/]+[^/])$ /mysite.ru/index.php?cat=/$1/ [L]
RewriteRule ^([-0-9a-z/]+)$ /mysite.ru/index.php?cat=/$1 [L]

Что на это скажут поисковики?
 

Фанат

oncle terrible
Команда форума
не забудь ответить на мой вопрос.
а правила хорошие, да.
милые, я бы сказал
 

WP

^_^
Барби
Говорит "Последний символ - любой кроме прямого слеша".
 
Сверху