Server error! ....server is overloaded or there was an error in a CGI script.
Hello,
Anybody have a clue why all of a sudden, when I try to download a file which is an attribute of a product, I get the following error page?
I changed permissions every which way
Server error!
The server encountered an internal error and was unable to complete your request.ither the server is overloaded or there was an error in a CGI script.
The results page is http://www.mywebsite.com/store/pub/....xmvzvp/123.zip
I am running on Apache/2.0.54 (Debian GNU/Linux) mod_auth_pgsql/2.0.1 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4
:lookaroun
Re: Server error! ....server is overloaded or there was an error in a CGI script.
Have you spoken to your host?
Re: Server error! ....server is overloaded or there was an error in a CGI script.
Quote:
Originally Posted by
Kim
Have you spoken to your host?
yes, indeedy. and there are server issues, so i'm relieved. :happy:
hope that's all there is.
thanks for your feedback.
cheers! :D
Re: Server error! ....server is overloaded or there was an error in a CGI script.
Quote:
Originally Posted by
steely
yes, indeedy. and there are server issues, so i'm relieved. :happy:
hope that's all there is.
thanks for your feedback.
cheers! :D
Well, I ain't happy. The problem is caused by the .htaccess file in the /pub/ folder. It contains the directive:
Options +FollowSymLinks -Indexes
which is actually forbidden directive on my host's machines.
once I've disabled the .htaccess, the system started returning 'Forbidden' error
Any way around this directive? I've spent a lot of time working w/the Zen Cart on a test site, not realizing it wouldn't work on this host's server, for whom I am actually reselling.
:P
Re: Server error! ....server is overloaded or there was an error in a CGI script.
You would have to turn off the Redirect in the Configuration ... Attribute settings ... which is less secure but should work ...
Re: Server error! ....server is overloaded or there was an error in a CGI script.
Quote:
Originally Posted by
Ajeh
You would have to turn off the Redirect in the Configuration ... Attribute settings ... which is less secure but should work ...
Life should be that simple. But it's not, and that didn't work. Getting this error:
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: index.php
surely there must be a fix for this, can't be that we have to find hosts that will specifically accomodate - i've seen many posts on the web w/this sort of problem from others
:(
Re: Server error! ....server is overloaded or there was an error in a CGI script.
Hosts that do not allow you to control your own server are diffcult to work with ...
I am not sure if this is an .htaccess issue or some other setting that your host has limited you to ...
Re: Server error! ....server is overloaded or there was an error in a CGI script.
Have you tried turning on Download by Streaming ?
If the server has a memory-configuration limitation, this should help get around it.
Re: Server error! ....server is overloaded or there was an error in a CGI script.
Quote:
Originally Posted by
Ajeh
Hosts that do not allow you to control your own server are diffcult to work with ...
I am not sure if this is an .htaccess issue or some other setting that your host has limited you to ...
Thanks for your reply.
I mentioned in my post that the directive
Options +FollowSymLinks -Indexes
in the htaccess file is 'forbidden' by my host. Possibly for security reasons.
how much control should I have over a remote server?
This would be an issue of price, and this hosting is fine for my humble needs.
Now, if I could get the originators of this Zen cart to give us something to work around this Apache issue without giving up on the program...:bored:
Re: Server error! ....server is overloaded or there was an error in a CGI script.
Without using the .htaccess file you described, use your Browser and go to the images dir. of your site. Do you see a blank page or a listing of sub-directories and files.
Could be, if your Hoster is smart, that they have already disabled directory indexing; which is what the -Indexes means. If so, you do not need to use it any .htaccess file and things might work properly by just using:
Options +FollowSymLinks
If you cannot use the Options directive for anything, then you could ask your Hoster why that is so. Could be they've got some Server-wide security setup in place and can suggest an alternative directive to use.