I use the following to help work with SEO-friendly URLs:

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L,QSA]

This works fine on my development machine in the main .htaccess file.

On the production machine, I do the same thing, except it¹s in the main conf
file and there is no RewriteBase, since that is per dir context.

But on the prod. machine, the css and images do not appear. All files are
relative to root (/css/file, /images/file). Any ideas?

Cliff
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to