Hi all. I think I have some sort of permissions problem here i'm hoping to
get help for.
I'm running apache on HP-UX. I have a perl script that accesses a database
(local) and displays the results in a HTML table format. Pretty simple. I've
done lots of database scripting before so i figured this should be nothing
new. Well, when I run it from the command line it runs fine, displaying the
html output with the database records like it should. HOWEVER, when i put
said script in my cgi-bin and access it with a web browser I get a database
connect error. Basically the DBI->connect() is failing.
Since it runs fine from the command line and fails when run through apache i
figure it's got to be some sort of permissions thing. Or something else
fairly simple (hopefully). What user does apache run scripts as?
Any other ideas?
Thanks,
Brian