Hi, - I'm having some trouble with a CGI script and I think its a Sambar problem, not the scripts problem.
I'll quote a copy of a message I sent to a CGI group yesterday - see below.. - Basically, When i start the script, it displays a form in order to upload a file.. .. But when I submit, it should send the information back to the same script & process the upload .. Everything works fine - at home.. However here (where i want it) - I get a 200 code in my access.log - When it displays the form to enter your password & stuff.. But when I submit, it says "server not found" / "page not found" etc.. - Nothing turns up on the logs Is there something I can do ? G. - Message follows :- -------------------------- http://homepages.slingshot.co.nz/~gordon52/upload.zip Hi there, Ive uploaded the above Zip file.. Basically, it includes 2 (main) files, upload.cgi & crypt.cgi.. - At home, (here), I can install the upload.cgi & everything works.. I create new encoded crypted password using the crypt.cgi (Simple thing which I created - Nothing special...) At home, Everything works fine - & I can create valid encrypted passwords which work.. However - at work, I use the same script (I change the path-names to upload to.. - of course) Sometimes it works, & I can upload (at work).. But sometimes all it says is "page not found".. when uploading... Questions :- 1) Is the crypt.cgi - Giving / Producing the same crypted passwords, that can be used by upload.cgi ? 2) Is there an error in the upload.cgi ? - As the 1st 'header' part of the script says :- > print $query->header; - Which should produce a header - regardless of if the password is correct or not. I'm no expert - or moderatly versed on the query command, I normally use :- print "Content-type: text/html\n\n"; - Which works all the time (unless of course another part of my scripts contain errors :-) Can someone have a quick look - - Sorry, I'm not sure what URL I got this script from... G. ------------------------------------------------------- To unsubscribe please go to http://www.sambar.ch/list/
