All,

I do this in httpd.conf:

# David Arnold added these, 6/18/04, 11:33 pm
LoadModule perl_module modules/mod_perl.so
PerlModule Apache2
PerlModule Apache::compat

# More changes by David Arnold, 6/19, 12:17 am
PerlModule ModPerl::PerlRun

Alias /cgi-perl/ "/usr/local/apache2/cgi-perl/"
<Location /cgi-perl/>
        SetHandler perl-script
        PerlHandler ModPerl::PerlRun
        Options +ExecCGI
        PerlSendHeader On
</Location>

I have a little test file called test.pl in /usr/local/apache2/cgi-perl/.

#! /usr/bin/perl -w
# test.pl

use strict;
use CGI qw(:standard);

print header(),
    start_html(-title=>"Title Page"),
    h1("A Header"),
    p("A little text."),
    end_html();

exit(0);

My question is this. Once the file test.pl is ready to go, what should I
set owner, group, and permissions to?

It is currently running with:

[EMAIL PROTECTED] cgi-perl]$ll test.pl
-rwxr-xr-x    1 root     root          193 Jun 19 00:47 test.pl

But is this good?


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to