PDA

View Full Version : PvP Problem (404 when trying to fight someone)


dekkon
09-10-2005, 04:54 PM
Im running my server at www.youareadopted.com/lotgd/ using version 1.0.3. In the pvp menu when someone clicks on 'attack' next to the person they want to fights name, a 404 Error comes up.

In the address bar, this is the url "http://www.youareadopted.com/lotgd/php.cgi?act=attack&name=<name of who i want to attack>"

and this is the error i get:

Not Found
The requested URL /lotgd/php.cgi was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


I have PvP turned on in the main settings, but for the life of me i cant figure out how to fix this.

Elessa
09-10-2005, 05:16 PM
have you posted this problem on www.dragonprime.net, which is the official coder's resource forum?

you will probably receive an answer much quicker there.

dekkon
09-10-2005, 05:29 PM
thanks, i i had searched this forum but didnt think to search the modders forum. I got it fixed by turning off 'run php as cgi" (which i wasnt even aware i had turned it on)

SaucyWench
09-11-2005, 08:38 PM
php.cgi? is a big problem.

That url should have pvp.php instead. I have no idea what on earth has gone wrong there to cause that.

Talisman
09-11-2005, 09:11 PM
PHP has an option to run as CGI, for some security (from what I understand) amongst other reasons. However, doing so does cause some problems, and this is one of them.

The problem has been documented a few times in DragonPrime, and turning off 'run as cgi' has fixed it every time.

http://dragonprime.net/index.php?board=22;action=display;threadid=2844;st art=msg24928#msg24928
http://dragonprime.net/index.php?board=14;action=display;threadid=1317;st art=0
http://dragonprime.net/index.php?board=16;action=display;threadid=779;sta rt=msg5669#msg5669
http://dragonprime.net/index.php?board=16;action=display;threadid=711;sta rt=msg5137#msg5137