Forum Moderators: coopster

Message Too Old, No Replies

PHP Index.php & .htaccess

wont automatically go to..

         

evileyez

1:59 am on Jan 26, 2004 (gmt 0)

10+ Year Member



is there anyway to make my server use index.php as a default? when i access a page using index.php, im not able to view it i have to click it in the directory..another question is how do i make a htaccess file on a windows server? it will always rename it back to a .txt file

evileyez

2:08 am on Jan 26, 2004 (gmt 0)

10+ Year Member



i found out my problem, i jsut needed to fix the httpd.conf file, but i still need help wit the htaccess

isitreal

3:13 am on Jan 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I assume you are talking about running Apache server on windows, if that's the case, to make an .htaccess file all you need to do is create the file, save it as .htaccess (if you forgot the . windows will assume it's a text file), you should have no problems after that, unless you've made a mistake on the .htaccess syntax, or if you don't have support for .htaccess turned on yet.

evileyez

2:01 am on Jan 27, 2004 (gmt 0)

10+ Year Member



thanks alot man, i forgot all about that