Solved

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

Posted on 2004-08-12
1
329 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Guacamole and browser performance 1 62
.htaccess rewrite url with querystring problem 13 85
New OSQA server has a ton of fake users 4 53
HHTP and HTTPS redirect question 3 94
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…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

948 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now