Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Perl CGI with SQLite Windows and IIS

by poj (Abbot)
on Mar 19, 2018 at 21:25 UTC ( #1211268=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl CGI with SQLite Windows and IIS
in thread Perl CGI with SQLite Windows and IIS

Write a small test program

#!/usr/bin/perl use strict; use warnings; use CGI qw(:standard); use CGI::Carp 'fatalsToBrowser'; my $dir = "c:/inetpub/wwwroot/data"; print header('text/plain'); if ( open my $fh,'>',$dir.'/write.txt' ){ print "OK : write.txt created in $dir"; close $fh; } else { print "ERROR : No write permission to $dir" }
poj

Replies are listed 'Best First'.
Re^4: Perl CGI with SQLite Windows and IIS
by RedJeep (Sexton) on Mar 19, 2018 at 22:46 UTC
    Much better. Solved the rights issue. In Anonymous Authentication switched from "Specific User" to "Application pool identity". Thanks all!!!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1211268]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2023-01-27 08:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?