[thelist] FilesMatch/ForceType leads to CSS death?

Amanda Kuek amandakuek at gmail.com
Sat Sep 10 10:26:55 CDT 2005


> Um, have you tried requesting your "css" file directly? It is
> definitely not a CSS file.
>
> http://www.example.com/trial/news/example.css
>

If I was any thicker I'd be a month-old custard.

The lack of a file extension on "news" (the PHP file) made it be
interpreted as a directory. It also explains why images weren't
showing (which I'd noticed, but dismissed, because I'd morphed into a
custard).

This was fixed by not using relative paths for images / external CSS files.

Thanks for that, saved me a lot of hair-pulling!


More information about the thelist mailing list