Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Is /cgi-bin safe?

by brian_d_foy (Abbot)
on Apr 18, 2005 at 17:59 UTC ( [id://448968] : note . print w/replies, xml ) Need Help??

in reply to Is /cgi-bin safe?

A URL does not have to map to a particular file name, so guessing what PayPal might have named its script (or handler, or whatever does the work) is pointless.

Note, however, that you usually don't have to name your script with an extension if it is in a CGI directory since the web server assumes that anything there is a script. The extension is useful when you allow scripts in any part of the browseable file system.

brian d foy <>

Replies are listed 'Best First'.
Re^2: Is /cgi-bin safe?
by Andre_br (Pilgrim) on Apr 19, 2005 at 18:17 UTC
    Hey folks,

    In fact, I meant 'safe' location to put the scripts. Sure, I´m pretty aware of the other safety issues. Thanks a lot for the replies.