Jump to content


apache2 is not parsing unless the .php extension is included

  • Please log in to reply
2 replies to this topic

#1 jakeyjake

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 30 October 2003 - 02:46 AM

I have recently update from apache 1 to apache 2. It used to be the case that i could just type in the file name such as http://localhost/index and it would recognise that the index file was php (or any other file) and parse it. Now however i have to make sure i type the file extension so that the file will be parsed such as http://localhost/index.php this is a rather annoying situation.

I have updated httpd.conf with:
AddType application/x-httpd-php .php
LoadModule ....

can someone point me in the right direction???

Ta :D

#2 pauper_i

  • Members
  • PipPipPip
  • Advanced Member
  • 59 posts
  • LocationPhoenix, AZ, USA

Posted 30 October 2003 - 11:04 PM

Did you update the directory index:

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

Genius is one percent inspiration, and ninety-nine percent perspiration. [br]Thomas Alva Edison

#3 jakeyjake

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 02 November 2003 - 12:40 AM

yer mate... all changed... i really have no idea whats going on... its not really a massive problem.... maybe its better in terms of security but i just got used to it with apache 1.3.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users