how do i make this file in order to allow an index.php file? or... something? what should i name the .htaccess?
You name the .htaccess file ".htaccess" (without quotes) its like a file with no filename.. its just a .htaccess file, thats all you call it.
And what do you mean by allowing an index.php file?
like, making it go to something other than index.html
Delete the index.html file and it will read index.php if it exists.
Thank you,
FreePgs.com Admin
I don't understand why this doesnt work then. Hmm Let me create an example to illustrate my problem:
This works: http://scorpionsoftware.org/gmonline/test/index.php
This doesn't: http://scorpionsoftware.org/gmonline/test/
This is because you have the following .htaccess file within your "httpdocs" directory.
DirectoryIndex down.html
You are defining the "DirectoryIndex" to use "down.html"
When you define this via .htaccess, it defines the variable for the current directory and all directories below it.
Please remove the .htaccess file OR modify the contents of the file to include "index.php" after down.html on the same line.
Thank you,
FreePgs.com Admin
Oh, ok thanks. I thought htaccess files only affected the folder they're in, not sub-folders they contain.