Jump to content

snailface

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

snailface's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Does anyone know of a situation where modifying the htaccess file (or adding one to a specific directory within a hosting account) would cause the following behavior? I added an htaccess file consiting only of the line to a directroy where I would like .html files to be parsed for PHP: [b]AddType application/x-httpd-php .html .htm .php3 .phtml[/b] But now, when I navigate to that directory (without specifying a file so that it should default to index) I get prompted to open or save a file. If I navigate specifically to the file, it is displayed in the browser, but without the PHP having been parsed. To see what I am talking about I put up some sample files. To see the wierd file download behavior go to: http://www.littlegreentoaster.com/testdir/ To see the HTML file without the PHP parsed: http://www.littlegreentoaster.com/testdir/index.html And to validate that PHP is installed and working http://www.littlegreentoaster.com/testdir/index2.php Thanks in advance to anyone who can shed some light on this for me. -adam
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.