Solved

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

Posted on 2004-08-12
1
340 Views
Last Modified: 2010-03-04
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
0
Comment
Question by:totoron
1 Comment
 
LVL 51

Accepted Solution

by:
ahoffmann earned 125 total points
ID: 11791640
Alias /myfile /myfile.php
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Magento error 9 75
file path 14 71
Apache error.log 19 59
Does SSL have any bearing on connections via http on port 80? 3 53
In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question