Hi,

I'm still working on the PhotoShelf rpm, things are looking brighter.
Now I need to insert some settings into the http / http-perl
configuration. See this bit from the documentation
(http://photoshelf.sourceforge.net/INSTALL.txt):

===
You can run PhotoShelf without mod_perl, but believe me,
you will *want* to run it. My Apache config has the following
in the perl lines:

DocumentRoot "/home/httpd/html"

        PerlHandler Apache::Registry
        PerlFreshRestart On
        PerlSendHeader On

and also:

<Location /photoshelf>
        SetHandler perl-script
        PerlHandler Apache::Registry
        Options ExecCGI
</Location>
===

I though I could include this into the httpd.conf,

===
# Configuration file for PhotoShelf. See
http://photoshelf.sourceforge.net/
 
Alias /var/www/PhotoShelf /photoshelf
 
<Location /photoshelf>
        SetHandler perl-script
        PerlHandler Apache::Registry
        PerlFreshRestart On
        PerlSendHeader On
        Options ExecCGI
</Location>
===

But it gives errors like:

Shutting down httpd-perl:                                  [  OK  ]
Shutting down httpd:                                       [  OK  ]
Starting httpd-perl:                                       [  OK  ]
Starting httpd: Syntax error on line 7 of
/etc/httpd/conf/PhotoShelf.conf:
Invalid command 'PerlHandler', perhaps mis-spelled or defined by a
module not included in the server configuration
                                                           [FAILED]

Any idea's?

Stefan

Reply via email to