В общем, я уже не знаю что делать...
Проверил обмен заголовками и получил:
----------------------------------------------------------
http://x-test/system/dir.php?file=S%3A%2Fhome%2Fx-test%2Fwww%2Fremview.php&act=view
-> GET /system/dir.php?file=S%3A%2Fhome%2Fx-test%2Fwww%2Fremview.php&act=view HTTP/1.1
Host: x-test
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: ru-ru,ru;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://x-test/system/dir.php?file=S%3A%2Fhome%2Fx-test%2Fwww%2Fremview.php&act=view
<- HTTP/1.x 200 OK
Date: Tue, 26 Jul 2005 15:31:48 GMT
Server: Apache/2.0.54 (Win32) PHP/4.3.11
X-Powered-By: PHP/4.3.11
Keep-Alive: timeout=15, max=92
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html
----------------------------------------------------------
http://x-test/system/panel.php
-> GET /system/panel.php HTTP/1.1
Host: x-test
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: ru-ru,ru;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://x-test/system/dir.php?file=S%3A%2Fhome%2Fx-test%2Fwww%2Fremview.php&act=view
<- HTTP/1.x 200 OK
Date: Tue, 26 Jul 2005 15:31:49 GMT
Server: Apache/2.0.54 (Win32) PHP/4.3.11
X-Powered-By: PHP/4.3.11
Keep-Alive: timeout=15, max=91
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html
----------------------------------------------------------
http://x-test/~view
-> GET /~view HTTP/1.1
Host: x-test
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: ru-ru,ru;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://x-test/system/dir.php?file=S%3A%2Fhome%2Fx-test%2Fwww%2Fremview.php&act=view
<- HTTP/1.x 200 OK
Date: Tue, 26 Jul 2005 15:31:49 GMT
Server: Apache/2.0.54 (Win32) PHP/4.3.11
X-Powered-By: PHP/4.3.11
Content-Length: 345
Keep-Alive: timeout=15, max=92
Connection: Keep-Alive
Content-Type: text/html
----------------------------------------------------------
http://x-test/system/file.php?v=plain
-> GET /system/file.php?v=plain HTTP/1.1
Host: x-test
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: ru-ru,ru;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://x-test/~view
<- HTTP/1.x 200 OK
Date: Tue, 26 Jul 2005 15:31:49 GMT
Server: Apache/2.0.54 (Win32) PHP/4.3.11
X-Powered-By: PHP/4.3.11
Cache-Control: must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Keep-Alive: timeout=15, max=90
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/plain; charset=windows-1251
----------------------------------------------------------
А проблема в следующем:
есть страница (dir.php), на ней стоит ссылка (http://x-test/system/dir.php?file=S%3A%2Fhome%2Fx-test%2Fwww%2Fremview.php&act=view)
после перехода по этой ссылке генерируется новая страница, на которой через window.open(...) открывается дочернее окно.
в момент открытия окна mod_rewrite изменяет ссылку и открывает файл http://x-test/~view , который физически распологается здесь: /system/file.php
Файл file.php генерирует html-код, который в свою очередь содержит вложенный фрейм, который ссылается на этуже страницу (file.php), но с другими параметрами.
Проблема в том, что file.php во фрейме должен изменять header в зависимости от условия.
Вся эта систама работает абсолютно нормально в Opere 8, Firefox'e 1.0.3 и Netscape 8.02,
а вот в IE работать отказывается...
-~{}~ 26.07.05 23:01:
В общем получается так, что если передавать вручную определённые заголовки (через header), то IE предлагает загрузить этот файл, а если нет, то он его отображает нормально (и, как я уже и писал, такая проблема есть только в IE)...