wendu Posted August 1, 2009 Share Posted August 1, 2009 hey how can I serve a non-php page like .rss as php? currently it shows the entire code of the script if not set to extension of .php apache on win vista and most recent version of php. i think I need to edit php.ini but couldn't find the neccessary part thanks Quote Link to comment Share on other sites More sharing options...
gevans Posted August 1, 2009 Share Posted August 1, 2009 You can do this via a htacces file; AddHandler application/x-httpd-php .rssAddType application/x-httpd-php .rss Quote Link to comment Share on other sites More sharing options...
ldougherty Posted August 1, 2009 Share Posted August 1, 2009 If the .htaccess file breaks your site (500 Internal Server Error) you would need to contact your host to have them add the entry to the Apache configuration (httpd.conf) file. Quote Link to comment 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.