htaccess render as php

Status
Not open for further replies.

wjh2303

New Member
Messages
139
Reaction score
0
Points
0
Put this in community support, but on reflection probably belongs here:

.htaccess reads as:

"AddType application/x-httpd-php .xml" (just the one entry)

to make it render .xml files as php, this is so i can use php/mysql to render an rss page that will update automatically. This works fine on my dev server, but when i try to put it onto the x10 server it all goes wrong, see http://lifeinmegapixels.com/rss.xml which when i visit it asks me how itd like to open the file, and on opening it it is just the original text with the php in it, rather than having been rendered by the server.

Something i need to do to make this work properly? it seems odd that it would work ok on the dev server but not live...
 

wjh2303

New Member
Messages
139
Reaction score
0
Points
0
already, ten minuites after i posted here, but whatever, yes solved etc, close the thread or somthing
 
Status
Not open for further replies.
Top