I'm running into problems with the initial validation of a site. My first site is already OK on the coop network. When viewing the source for my site tekwholesale.com , it shows the "<?php..." code instead of an ad. Also, when I add in the .htaccess file as directed, anyone visiting the main URL gets a security error that the file type is unknown (I have removed the .htaccess file due to this - my server is PHP) Could anyone tell me what is wrong? If it is not parsing (I'm not certain what that is) could you let me know how to take care of it?
Just what the instructions say ".htaccess" with no prefix, which contains: "AddType application/x-httpd-php .php .htm .html"
I've tried everything suggested everywhere, and the problem seems to be with my .htaccess file. Every time I put up the .htaccess (using several methods) the site crashes and gives a security issue failure. I've tried parsing through the Appache server, and that does not work. The site - tekwholesale.com - does not show ads, even though all proper code is where it is supposed to go. Instead, the view-code reveals the script where the ad is supposed to go. The Apache handler on my host has this: User Defined Handlers System Defined Handlers .cgi .pl cgi-script .htm server-parsed .html server-parsed .php .php4 .php3 application/x-httpd-php .shtml server-parsed Any help?
Don't know if this is any help, but a few folks had alternative .htaccess commands in this thread - might be worth a try
Thanks - but again, it had me add a .htaccess file, which crashed the site. I have tried adding the .htaccess though the c-panel, FTP, as well as Frontpage - all fail. Any suggestions?
Hmm, does this host/ISP allow .htaccess? Is it the same host/ISP as the site/s you've successfully added co-op to? If that's all OK, have you tried modifying your .htaccess file in notepad or similar and then using a standard FTP client to upload the file?
The host is not the same as before. But I've tried 3 different sites that are on 3 different servers - all failed with the same problem. I have a post waiting for server support to see if they allow changes to the .htaccess, and will find out soon. But, I would think one of the 3 would definitely allow it. I've tried modifying the .htaccess directly on the c-panel, through FTP, using notepad, through Frontpage and anything else suggested in the forums. Still getting the 500 error thought when there is a .htaccess file with the commands in the instructions. Any ideas?