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? Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.