Ever wondered how to have you own file extension instead of the boring .php? Just like arstechnica has .ars ? Well with just one line of code, you can make your webserver accept your custom extension!

1. Open the apache httpd.conf file

2. Add the line “AddType application/x-httpd-php .bot” without the quotes. What it does is instruct the server that .bot extension is a php file and that it should be treated as a normal php file

3. Rename your php file with extension bot

4. Open in web browser and see the magic!

    Stuff
    Everyone
    Calendar
    March 2010
    M T W T F S S
    « Jan    
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  
    Rate this blog
    Clickity
    15470
Get Adobe Flash playerPlugin by wpburn.com wordpress themes