Adding Handlers Directly In httpd.conf Of Apache
Please dont do the below steps if you are not familiar with Apache and httpd.conf
It may create errors if not done properly and your server might need a reinstallation.

Hey guys here i am back again with another kind of approach for adding handlers for Apache Webserver in your local testing enviornment.Say your localhost.
I am having Xampp as my all in one apache server.I installed it in my C drive.
So the path of our htdocs will be
c:\xampp\htdocs
and the path of out httpd.conf file will be in
c:\xampp\apache\conf\httpd.conf
So open this file in your favourit text editor.I am using simple NOTEPAD
Guys you are going to edit this file which is the heart part of Apache so if any errors happen your complete server needs to reinstalled.For safer side please take a backup always.And if you are not too sure about the httpd.conf file please dont edit it.Please……
Now editing the heart i mean operating it.
Go to this portion of httpd.conf as shown below and add AddHandler application/x-httpd-php .balu line.
<IfModule mime_module>
AddHandler application/x-httpd-php .balu
</IfModule>
Simple thats it your own handler have been added.Insert any php code in a file with .balu extention and you will get it compiled as a regular .php file.
Dont forget to restart your apache server to get this in to effect.
Wow what an option…I love Apache and PHP so much.
Related posts:
- Adding apache handlers in cpanel
- Fix the problem in getting 500 Internal Server Error In Localhost Due To .htaccess
- Apache AddHandler application/x-httpd-php not working?
- How to run CGI or Perl Scripts in IBM Http Server [IHS] or Apache Servers
- ScriptAlias and Alias in httpd.conf at a glance
- mod_security the Apache Module, The Apache Firewall blocking your website?
- Finding size of a directory using php

Hello, I can’t understand how to add your blog in my rss reader
————————
sponsor: http://werato.ru/