Jump to content


Photo

Change extension from index.php to default.php on apache


  • Please log in to reply
1 reply to this topic

#1 calbolino

calbolino
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 15 October 2003 - 02:14 PM

Hi

My default page is on index.php and the server apache reconize only indx.php how can I change de extension on apache 2, running on red hat 9
thanks

#2 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 15 October 2003 - 03:52 PM

add to this line in your httpd.conf:

DirectoryIndex index.html index.html.var index.php default.php


Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users