chillyb Posted September 5, 2003 Share Posted September 5, 2003 I\'ve re-installed Apache onto my server and I now cannot open any files in my browser without supplying the file extension. This is true for both .html files and .php files. Can any body help? Link to comment https://forums.phpfreaks.com/topic/986-file-extension/ Share on other sites More sharing options...
catman Posted September 7, 2003 Share Posted September 7, 2003 so you want www.whatever.com/hello open hello.html or do you want www.whatever.com to open index.html or index.php Link to comment https://forums.phpfreaks.com/topic/986-file-extension/#findComment-3352 Share on other sites More sharing options...
chillyb Posted September 8, 2003 Author Share Posted September 8, 2003 www.whatever.com/hello to open a .html or .php file Link to comment https://forums.phpfreaks.com/topic/986-file-extension/#findComment-3367 Share on other sites More sharing options...
catman Posted September 12, 2003 Share Posted September 12, 2003 you have to include the trailing / www.whatever.com/hello/ without the slash, the computer searches for file called hello with no file extention also check that httpd.conf has all of the correct default file types under DirectoryIndex- DirectoryIndex index.php index.html Link to comment https://forums.phpfreaks.com/topic/986-file-extension/#findComment-3410 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.