Hello everybody, I have tried to add the following in my .htaccess file as mentioned in the setup instruction: AddType application/x-httpd-php .php .htm .html After adding, my site gave 500 internal server error. So please tell me how do i edit my .htaccess file? Teena
Does removing that line fix the error? Was there an existing and needed .htaccess file that you overwrote by accident? Are you using a text editor that creates good clean files? Show us the contents.
Yes, removing the line fixes that error. I had an already existing .htaccess file, which I opened in dreamweaver and added the AddType line. When I saved the changes, the site gave 500 Internal Server Error. I then reverted back the changes and site started working perfectly. I am not able to put the ad coop ads on my site yet due to this. Please suggest.
Hello, I have tried everything. I have tried editing it in cpanel, using FTP, created new, etc. etc. After adding the AddType line my site gives Internal Server Error 500. And as I remove this line, the error goes away. Please suggest. Teena
Are you having the problem trying to use the coop on html pages using the passthru method? If so, try this for the .htaccess file: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} ^(.*)\.htm [NC,OR] RewriteCond %{REQUEST_FILENAME} ^(.*)\.html [NC] RewriteRule ^(.*) /passthru.php?file=$1 </IfModule> Code (markup):