.php to .mycode with Apache

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

.php to .mycode with Apache

Post by tecktalkcm0391 »

Could you put this:

ScriptAlias /php/ "c:/server/php/"
AddType application/x-httpd-php .mycode <---- Not the file extension...
Action application/x-httpd-php "/php/php.exe"

in your Apache to make your own file extension for PHP?
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Yes you can :)
Post Reply