Forum Moderators: phranque
The file extensions are .html, which Apache parses as PHP, as specified in httpd.conf ("AddType application/x-httpd-php .html" in a VirtualHost directive)
Today I noticed to my horror that if I access my site as
http: //00.00.00.00/~accountname/page.html
... the page is served as plain text (i.e. you can see unparsed PHP by looking at "View source") (!)
How do I prevent this happening?!
This happens with sites I've coded, but doesn't happen with my sites running Wordpress, so I'm guessing it's something simple but pretty fundamental that I've left out :-)