[PHP] apache htaccess mod rewrite with php querystring urls

2004-08-12 Thread raisinlove
Hi, I realize this isnt specificaly related to php, but most php developers are familiar with this. My website uses an index.php file to load all content with a template, using urls like so: http://www.foo.com/index.php?page=splash.html In the same directory, there is a file called

RE: [PHP] apache htaccess mod rewrite with php querystring urls

2004-08-12 Thread Jay Blanchard
[snip] My website uses an index.php file to load all content with a template, using urls like so: http://www.foo.com/index.php?page=splash.html In the same directory, there is a file called splash.html, but what I would like to do is that if the source file is called, the php file would load

Re: [PHP] apache htaccess mod rewrite with php querystring urls

2004-08-12 Thread raisinlove
A simple redirection using meta refresh in the html file would work meta http-equiv=refresh content=1;url=http://www.foo.com/index.php?page=splash.html; This isn't what I want since (I should probably have specified) the html files contain no headers. The header is generated by the php file.