Jump to content


Photo

File Extension


  • Please log in to reply
3 replies to this topic

#1 chillyb

chillyb
  • New Members
  • Pip
  • Newbie
  • 2 posts
  • LocationUK

Posted 05 September 2003 - 08:44 AM

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?

#2 catman

catman
  • Members
  • Pip
  • Newbie
  • 6 posts

Posted 07 September 2003 - 12:56 AM

so you want www.whatever.com/hello open hello.html
or do you want www.whatever.com to open index.html or index.php
Are you ready to get Jolted? [br]www.getJolted.com

#3 chillyb

chillyb
  • New Members
  • Pip
  • Newbie
  • 2 posts
  • LocationUK

Posted 08 September 2003 - 03:49 PM

www.whatever.com/hello


to open a .html or .php file

#4 catman

catman
  • Members
  • Pip
  • Newbie
  • 6 posts

Posted 12 September 2003 - 12:42 AM

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

Are you ready to get Jolted? [br]www.getJolted.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users