I'm attempting to do a new install that makes use of rewriting the
URL to remove index.php. If I use the IE browser, the page loads are
quick with each request generating 5 hits to the server. But with
Firefox 1.0PR, the page loads are slow because the browser is making
40-45 hits to the server. The page, once loaded, looks the same in
both browsers.
I'd be very grateful with any advice. I've gone over Rewrite_Rules
and Apache_config numerous times, but still can't figure this out.
I'd be happy to update one of those pages to help others in the
situation.
I'm using Apache 1, PHP 4 (all current). Apache was patched with the
ampersand patch. Here is the portion of my httpd.conf and
LocalSettings.php. Apache's error log has no errors.
DocumentRoot /home/domains/wiki.speedfc.com/htdocs
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/(stylesheets|images|skins)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php
RewriteCond %{REQUEST_URI} !^/error/(40(1|3|4)|500).html
RewriteCond %{REQUEST_URI} !^/favicon.ico
RewriteCond %{REQUEST_URI} !^/robots.txt
RewriteMap ampescape int:ampescape
RewriteRule ^/(.*)$ /index.php?title=${ampescape:$1} [L,QSA]
-------------
$wgScriptPath = "";
$wgScript = "$wgScriptPath";
$wgRedirectScript = "$wgScriptPath/redirect.php";
-------------
Here is my Apache access log when the IE request is made:
172.25.32.32 - - [30/Oct/2004:02:06:58 -0500] "GET /Main_Page
HTTP/1.1" 304 26 "http://wiki.speedfc.com/Main_Page" "Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; MyIE2; SV1; Feedreader)"
172.25.32.32 - - [30/Oct/2004:02:06:58 -0500] "GET
/-?action=raw&gen=js HTTP/1.1" 302 38
"http://wiki.speedfc.com/Main_Page" "Mozilla/4.0 (compatible; MSIE
6.0; Windows NT 5.1; MyIE2; SV1; Feedreader)"
172.25.32.32 - - [30/Oct/2004:02:06:58 -0500] "GET
/-?action=raw&ctype=text%2Fjavascript&smaxage=18000&maxage=18000&gen=js&oldid=0
HTTP/1.1" 302 38 "http://wiki.speedfc.com/Main_Page" "Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; MyIE2; SV1; Feedreader)"
172.25.32.32 - - [30/Oct/2004:02:06:58 -0500] "GET
/-?action=raw&gen=css HTTP/1.1" 302 38
"http://wiki.speedfc.com/Main_Page" "Mozilla/4.0 (compatible; MSIE
6.0; Windows NT 5.1; MyIE2; SV1; Feedreader)"
172.25.32.32 - - [30/Oct/2004:02:06:58 -0500] "GET
/-?action=raw&ctype=text%2Fcss&smaxage=18000&maxage=18000&gen=css&oldid=0
HTTP/1.1" 302 38 "http://wiki.speedfc.com/Main_Page" "Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; MyIE2; SV1; Feedreader)"
-------------
And here is portion of my Apache log when Firefox makes the request:
172.25.32.32 - - [30/Oct/2004:02:08:28 -0500] "GET /Main_Page
HTTP/1.1" 304 26 "http://wiki.speedfc.com/Main_Page" "Mozilla/5.0
(Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
172.25.32.32 - - [30/Oct/2004:02:08:28 -0500] "GET
/-?action=raw&gen=js HTTP/1.1" 302 38
"http://wiki.speedfc.com/Main_Page" "Mozilla/5.0 (Windows; U; Windows
NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
172.25.32.32 - - [30/Oct/2004:02:08:29 -0500] "GET
/-?action=raw&ctype=text%2Fjavascript&smaxage=18000&maxage=18000&gen=js&oldid=0
HTTP/1.1" 302 38 "http://wiki.speedfc.com/Main_Page" "Mozilla/5.0
(Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
172.25.32.32 - - [30/Oct/2004:02:08:29 -0500] "GET
/-?action=raw&ctype=text%2Fjavascript&smaxage=18000&maxage=18000&gen=js&oldid=0
HTTP/1.1" 302 38 "http://wiki.speedfc.com/Main_Page" "Mozilla/5.0
(Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
172.25.32.32 - - [30/Oct/2004:02:08:29 -0500] "GET
/-?action=raw&ctype=text%2Fjavascript&smaxage=18000&maxage=18000&gen=js&oldid=0
HTTP/1.1" 302 38 "http://wiki.speedfc.com/Main_Page" "Mozilla/5.0
(Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
172.25.32.32 - - [30/Oct/2004:02:08:29 -0500] "GET
/-?action=raw&ctype=text%2Fjavascript&smaxage=18000&maxage=18000&gen=js&oldid=0
HTTP/1.1" 302 38 "http://wiki.speedfc.com/Main_Page" "Mozilla/5.0
(Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
172.25.32.32 - - [30/Oct/2004:02:08:29 -0500] "GET
/-?action=raw&ctype=text%2Fjavascript&smaxage=18000&maxage=18000&gen=js&oldid=0
HTTP/1.1" 302 38 "http://wiki.speedfc.com/Main_Page" "Mozilla/5.0
(Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
172.25.32.32 - - [30/Oct/2004:02:08:29 -0500] "GET
/-?action=raw&ctype=text%2Fjavascript&smaxage=18000&maxage=18000&gen=js&oldid=0
HTTP/1.1" 302 38 "http://wiki.speedfc.com/Main_Page" "Mozilla/5.0
(Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
172.25.32.32 - - [30/Oct/2004:02:08:29 -0500] "GET
/-?action=raw&ctype=text%2Fjavascript&smaxage=18000&maxage=18000&gen=js&oldid=0
HTTP/1.1" 302 38 "http://wiki.speedfc.com/Main_Page" "Mozilla/5.0
(Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10"
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail