SeanFromIT Posted June 10, 2008 Share Posted June 10, 2008 So I have a PHP program written with a .ssa extension. I want Apache/PHP to render this as if it is .php. I've added to httpd.conf "AddType application/x-httpd-php .ssa" but it doesn't work. I can rename the .ssa file to .php and it is displayed just fine. Apache was restarted after httpd.conf edits. Any ideas why this isn't working? Quote Link to comment https://forums.phpfreaks.com/topic/109659-extension-other-than-php/ Share on other sites More sharing options...
PFMaBiSmAd Posted June 11, 2008 Share Posted June 11, 2008 I recommend finding the existing AddType application/x-httpd-php .php statement and adding the .ssa to it - AddType application/x-httpd-php .php .ssa Quote Link to comment https://forums.phpfreaks.com/topic/109659-extension-other-than-php/#findComment-562787 Share on other sites More sharing options...
keeB Posted June 11, 2008 Share Posted June 11, 2008 Agree with above. You're most likely updating the wrong httpd.conf Quote Link to comment https://forums.phpfreaks.com/topic/109659-extension-other-than-php/#findComment-562868 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.