[SOLVED] Problem with redirects...

LatinPrince

Joined: 2005-01-28
Posts: 4
Posted: Fri, 2005-01-28 13:36

I am having a problem whenever I tell the application to either go back to the photo gallery or after a user logs in it will give an error (error stated below):

Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.

For more information as to why this behaviour exists, see the manual page for CGI security.

For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.

------------------------------------ o --------------------------------------------

This becomes quite an issue as no one is able to login although everything else was a perfect sucess (by the way excellent tutorials and excellect easy to use application major props on this project) I would imagine I would need to configure either the apache or the php config files in order to allow the redirect to go threw but please bare with me I have lil to no expierence with this at all!!! I am running an application called miniportal its a php apache mysql all in one to easily configure a home based localhost on a spare pc. I see it has stated here to input all the information I will gather as much as I can with my limited know how here goes...

apache 1.4xx
php 4.3.9
mysql 4.1
graphics toolkit netpbm
os: Windows XP
browser: IE
gallery: gallery 2
gallery url: not exactly sure but from this site
Info from wizard: None install went threw perfectly

Please help me out if you know what I can do to solve this matter thx and have a great day. :D
-----------------------------------------------------------------------------------

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

 
LatinPrince

Joined: 2005-01-28
Posts: 4
Posted: Fri, 2005-01-28 13:44

Almost forgot also you can view the gallery at: http://endlessknightsguild.info/gallery2/main.php

It happens when someone submits a new user registration then tries to go back will give that error you can submit a new user registration with gibberish if you like for test purposes ill delete it later.

-----
update: Sorry had to bring server down a couple of hours to rebuild some new things on the pc so if you try to view it today might not work.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Fri, 2005-01-28 14:15

[moved to G2 Support]

 
Kirill
Kirill's picture

Joined: 2004-12-22
Posts: 53
Posted: Fri, 2005-01-28 15:31

It seems like you're running Alpha 4, can you upgrade to the latest snapshot and see if the problem persists?

 
LatinPrince

Joined: 2005-01-28
Posts: 4
Posted: Fri, 2005-01-28 15:36

Snapshot of what my config file? If so how would I do that?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-01-28 16:20

LatinPrince, please see the G2 FAQ sticky topic in this forum.

 
Kirill
Kirill's picture

Joined: 2004-12-22
Posts: 53
Posted: Fri, 2005-01-28 16:29

LatinPrince, take a look at http://galleryupdates.jpmullan.com/

We're referring to the latest snapshot of the G2 codebase.

 
LatinPrince

Joined: 2005-01-28
Posts: 4
Posted: Fri, 2005-01-28 16:57

Sorry about that I really should read stickys beforehand sorry, and I feel really dumb now after the lil snapshot confusion :oops: , but 1 good thing did come about it all problem resolved I downloaded the original copy from sourceforge and it was the latest one posted but the link above had versions updated all the way up to last night, simply did an overwrite on all files followed the instruction and presto working like a charm now to modify the look = ) thanks for the help guys you rock! :lol: