Page 1 of 1
Redirect "something.com/?" to a script
Posted: Tue Aug 02, 2005 7:01 pm
by benforbes
I've seen some sites where you can specify GET variables in the address without naming a script, eg:
How can I set up my Apache server to do something like this?
Posted: Tue Aug 02, 2005 7:46 pm
by feyd
it's already done... the query string is passed directly to the index of that path..
Posted: Wed Aug 03, 2005 8:54 pm
by benforbes
Do you mean index.html? My server doesn't parse .html for php, do I have to make it do that?
Posted: Wed Aug 03, 2005 8:58 pm
by feyd
if hosted, your host should have set up several index files, including index.php ... check their settings to find out..
Posted: Thu Aug 04, 2005 5:41 pm
by benforbes
I found the problem. I wasn't restarting the server after adding index.php to DirectoryIndex.
