9
Thank you Will! I spent alot of wasted time trying to get this right.
Anyway Will solved this in 2 minutes...
Here is the correct way to do it...
Open up
/usr/local/apache/conf/httpd.conf
Then scroll all the way down to your domain it will look like this below. You might be set up with lots of these like we are. Just make sure you edit the domain that you want to install protector on only.
-------------------
<VirtualHost xxx.xx.xxx.xx>
ServerAlias yourdomain.org
ServerAdmin
webmaster@yourdomain.orgDocumentRoot /home/yourdomain/public_html
BytesLog domlogs/yourdomain.org-bytes_log
ServerName www.yourdomain.org
php_admin_flag allow_url_fopen off
User yourdomain
Group yourdomain
CustomLog /usr/local/apache/domlogs/yourdomain.org combined
ScriptAlias /cgi-bin/ /home/yourdomain/public_html/cgi-bin/
</VirtualHost>
--------------------
See where this code below is put in httpd.conf?
php_admin_flag allow_url_fopen off
Thats it save it back to the server and restart http.
By the way you should make a back up of your file before you do anything to it.
I would like to thank all the people who helped on this. Now maybe someone will be able to figure it out. With out all the wasted time.