Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / index.php - my host blocked it??

index.php - my host blocked it??

Locked

Views: 2,654

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
25 Jan 2008, 6:06 AM
#1
pwoens avatar

pwoens

New Zenner

Join Date:
Dec 2007
Posts:
63
Plugin Contributions:
0

index.php - my host blocked it??

my /zen/index.php has been blocked by my host causing a 500 internal server error?? forgive my ignorant question as I am a newb, but do I need my index.php file?? The host said it is a spamming security risk and therefore they have blocked it?? Currently my site is down becuase they wont unblock my index.php file?? please advise?? thanks

25 Jan 2008, 6:26 AM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: index.php - my host blocked it??

99% your host is running PHP on CGI. Make sure you set the index.php permission to 0644.

25 Jan 2008, 6:43 AM
#3
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: index.php - my host blocked it??

create a info.php file with the following in it and chmod it to 644

<?php phpinfo(); ?>

point your browser at this new file and liik under where it says apache handlers
if it says cgi as the handler then you need to make sure that your folders are al set to 755 and all files ( exception is includes/configure.php ) are set to 644

the includes/configure.php need to be set to 444

again only do this if the info.php shows cgi as the apache handler

25 Jan 2008, 9:58 PM
#4
pwoens avatar

pwoens

New Zenner

Join Date:
Dec 2007
Posts:
63
Plugin Contributions:
0

Re: index.php - my host blocked it??

Merlinpa1969:

create a info.php file with the following in it and chmod it to 644

<?php phpinfo(); ?>

point your browser at this new file and liik under where it says apache handlers
if it says cgi as the handler then you need to make sure that your folders are al set to 755 and all files ( exception is includes/configure.php ) are set to 644

the includes/configure.php need to be set to 444

again only do this if the info.php shows cgi as the apache handler

it says "Server API CGI"

I have confirmed that all folders are set to 755 and all files are 644 except includes/configure.php are set to 444

here is what the hosting company instant chat person told me

Adolph Kent: Our records show that /Zen/index.php is a script used for spamming. This is the reason we have suspended the CGI for your account.

Adolph Kent: You need to delete the script from your account.

Adolph Kent: It looks like the script provided above is the configuration script for any of the third party application. You need to re-view those application and see that they are updated to the latest version available in the market or contact them to see if there is any kind of patches they have released recently.

25 Jan 2008, 10:06 PM
#5
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: index.php - my host blocked it??

The drone that told you that has no clue. Either talk to another tech/admin at your hosting company or pull up and move to more fertile soil.

BTW, they probably had a bad experience once with something in a folder called "Zen". Ask them to take a peek at the Zen Cart website...

25 Jan 2008, 10:14 PM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,611
Plugin Contributions:
0

Re: index.php - my host blocked it??

What version of Zen Cart are you using?

26 Jan 2008, 12:04 AM
#7
pwoens avatar

pwoens

New Zenner

Join Date:
Dec 2007
Posts:
63
Plugin Contributions:
0

Re: index.php - my host blocked it??

Kim:

What version of Zen Cart are you using?

1.3.0.2 ... but was on my way to 1.3.0.8 . 302 had an issue, so I thought...turns out it was my host so I completely rebuilt 1302 and restored my db. Worked for two days then got shut down again.....the whole time thinking my software or setup was hosed .....it wasnt until lastnight that I found out they were blocking my index.php. Im switching hosts after last nights experience with them and will be upgrading to 1.3.0.8 after the switch.

26 Jan 2008, 12:06 AM
#8
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: index.php - my host blocked it??

You mean 1.3.8a ^^?

26 Jan 2008, 12:20 AM
#9
pwoens avatar

pwoens

New Zenner

Join Date:
Dec 2007
Posts:
63
Plugin Contributions:
0

Re: index.php - my host blocked it??

yellow1912:

You mean 1.3.8a ^^?

yes...sorry...thx for clarifying