Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I configure Apache to render .htm through PHP Server? 1

Status
Not open for further replies.

josel

Programmer
Oct 16, 2001
716
US
It has come to my attention that one should be able to configure Apache Server to render .htm and .html pages through PHP Server thus resolving PHP code just as it does with .php pages. Is that clear? :)

What I am looking for is hide the type of server behind the page. So, if I were able to have Apache pass my pages (.htm and .html) to PHP Server and so having PHP parse the PHP code within, the users will always see a page with a standard .htm or .html extension and not know what's behind the scenes.

I think I have visited websites where I can tell the information is not static and yet the document extension is always .htm or html.

I am not even sure how important this could be but I figure that it helps hide the technology in use and thus lessen possibilities of revealing your server's known bulnerabilities.



Jose Lerebours







KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
feherke,

It is a beautiful thing !!! I wish everything was this simple.

Thanks a BILLION!


Jose Lerebours


KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top