By djbenny on
hello
i have a module that requires php5 my server is using 4.4.8 apprently looked on support for the server and says it requires a .htaccess file with the following
AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml
but im not sure where to put the htaccess file as i tried adding the line in the htaccess file in the root dir and by placing one within the module directory.
Comments
The .htaccess file should be
The .htaccess file should be placed in the document root directory with no other .htaccess files in Drupal subdirectories. You may have a shared hosting account that also gives you a home directory and the .htaccess file does no good here.
For example you would want to place .htaccess in ./youraccount/public_html/.htaccess or ./youraccount/www/.htaccess.
in my public html folder i
in my public html folder i have serveral domains branching off in different folders and have drupal installed in a subdirectory.