Hello,
After many attempts to run this script and it failing.......I went on a mission. I was getting the good ol' 500 error after executing the script and it running for 60 seconds and giving me the above error. The problem was the .htaccess on my site! I renamed the file to oldhtaccess and the script ran perfect. The only issue that I saw was the mod_rewrite. I have it set to always use
www.my_domain.com
instead of
my_domain.com
for my domain name. This is because the google bot has indexed my site as
www.my_domain.com
As I said, I renamed the file, and the script ran prefect.
Now.....how do correct the mod_rewrite issue? Or does it really even matter?
BTW...now I got to fix all my broking links. (gezzzz)
This is the code in the htaccess file, of course I edited and removed my domain.
#zoom zoom zoom
AddHandler fcgid-script .php
FCGIWrapper /usr/local/cpanel/cgi-sys/fcgiwrapper .php
#Go away...php.ini is for the server only
<Files php.ini>
order allow,deny
deny from all
</Files>
#You cannot see me
Options -Indexes
#Parse my silly scripts within html
AddHandler application/x-httpd-php .htm
AddHandler application/x-httpd-php .html
#Let the games begin...Always use the www, damn google bot
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^my_domain.com [nc]
rewriterule ^(.*)$ http://www.my_domain.com/$1 [r=301,nc]