apache mime types

5
Jul
0

Ever wonder what server side language a site uses? Normally you can tell by there file extensions .php .asp .cfm. But about sites who have extensions like .go or have .html pages that you can tell have alot more that just html going on behind the seens.

well you can make apache parse any extension as if it were php with what is called a mime type. For example

to enable .html to run like php add

AddTpye application\x-httpd-php .html

to your httpd.conf file then restart apache and caboom ever .html page on your site is php ready. Whats the point? Well for the most part its confuse the opposition (hackers, competitors, etc..). However that being said anyone with a little internet know how can figure out the servers side language(s) being used on a page, but i’ll leave that for a different post

Filed under: Uncategorized
Comments (0) Trackbacks (0)

No comments yet.

Sorry, the comment form is closed at this time.