Jump to content

apache2 is not parsing unless the .php extension is included


jakeyjake

Recommended Posts

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

and

LoadModule ....

 

can someone point me in the right direction???

 

Ta :D

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.