Jason,
I think you’ve mis-understood me somewhere. I have had networking problems over the last few days explaining the loss of my site.
Here’s the snippet of my .htaccess which handles re-writing:
RewriteEngine On
RewriteBase /site_v61/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# If your MODx installation is in a subdirectory, change the following line to m atch the physical
# path to the "root" of the site as follows:
# RewriteRule ^(.*)$ /path/to/subdirectory/index.php?q=$1 [L,QSA]
RewriteRule ^(.*)$ /site_v61/index.php?q=$1 [L,QSA]
This isn’t a problem, and as I stated, works fine in Firefox 1.5 and 2.0.
In Firefox (or IE6), if you go to
http://www.andyshellam.eu/site_v61/links/site-nav/journal, then move your mouse over the links in the yellow links bar (e.g. "Who Am I?", "Articles" etc) you’ll notice you get links like
http://www.andyshellam.eu/site_v61/links/site-nav/about, http://www.andyshellam.eu/site_v61/links/site-nav/articles.
Perfect - that’s what I want.
Go to the same page in IE7 and it’s a different story. The same two links (about, articles) appear as:
http://www.andyshellam.eu/site_v61/links/site-nav/links/site-nav/about
http://www.andyshellam.eu/site_v61/links/site-nav/links/site-nav/articles
So clearly IE7 is not taking notice of the BASE HREF tag which is "<base href="
http://www.andyshellam.eu/site_v61/" />", right underneath <BODY>.
The links appear in the source as "links/site-nav/about". If I could prefix all links generated in ModX with "/site_v61/", IE7 would therefore see it as "/site_v61/links/site-nav/about" which would be correct.
My IE7 version is Beta-3 (7.0.5450.4)