Using Safari with Apache

Note: this is very preliminary. More to come

1.0 Introduction

Safari is a cgi-bin script and may be run under a wide variety of web servers. It is, however, being developed under Apache, mod_perl, and Linux 2.2.9. This all-too-scanty page describes the particulars of using it in that environment.

Apache Configuration

If your Apache is built with mod_perl, then the following entries in your httpd.conf (or equivalent) file might be close to what you need:

#
# Optional, but a nice way to allow for other mod_perl scripts.
#
Alias /mod-perl/ "/your/httpd/dir/mod-perl/"

<Location /mod-perl>
    #AllowOverride None
    SetHandler perl-script
    PerlHandler Apache::Registry
    Options ExecCGI
    Order allow,deny
    allow from all
    PerlSendHeader On
</Location>

#
# Make a nice top level URL to hang all safari projects under.
#
Alias /safari "/home/barries/src/safari/test/httpd/mod-perl/cgimake"

<Location /safari>
    #AllowOverride None
    SetHandler perl-script
    PerlHandler Apache::Registry
    Options ExecCGI
    Order allow,deny
    allow from all
    PerlSendHeader On
</Location>