Perl, CGI, and Apache
March 15, 2005 9:56 PM Subscribe
I have a Perl script which is supposed to handle user registration. It works fine from the command line (perl blah.pl "username=blah&password=blah") but doesn't modify the file it's supposed to modify when run as a CGI script in Apache 2.0.
posted by IshmaelGraves to computers & internet (2 answers total)
I'm assuming this is some sort of permissions issue, but I've done chmod a+w and chmod 777 on the file in question and still no luck. Is there something I need in my httpd.conf?
Apologies if this is a really inane question, but my brain is fried right now and the Apache docs might as well be Greek.
(Also: I know I shouldn't keep my user data in a file. Eventually I will switch to some sort of SQL database. For the moment, though, I'd like to get the authentication crap out of the way so I can work on the fun bits of my webapp.)