Yes
jimlongo, I have a Control Panel, but have looked in vain for anything that looks like I can ask for
.htaccess or anything else.
However, I noticed that I can password-protect my directories, so I did just that. Guess what – an
.htaccess file was added to my web site!
I then ftp'd that to my PC, returned to the Control Panel and removed the password-protection. Interestingly it left an empty
.htaccess file behind.
I removed everything from the downloaded
.htaccess file, inserted
CODE
AddType application/x-httpd-php .php .html
and ftp'd it back to the server.
This time, when trying to open
phpinfo.html, my browser downloaded it to my PC instead of viewing it! (the downloaded file is just a blank screen with a source code of
CODE
<html>
<?php phpinfo(); ?>
</html>
Does this never end?