Apache configuration: how to configure Apache to auto recognise http://localhost/myfile as http://localhost/myfile.php

Hi Experts,

Is it possible to configure apache to recognise the following:
http://localhost/myfile as http://localhost/myfile.php
or
http://localhost/myhtml as http://localhost/myhtml.html

If yes, how to configure apache to support such functionality?

Thank you
totoronAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
ahoffmannConnect With a Mentor Commented:
Alias /myfile /myfile.php
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.