Hello pipol!
 
Im having an error below once apache is started:
 
../bin/apachectl stop: httpd (no pid file) not running
noc# ../bin/apachectl start
Syntax error on line 577 of /usr/local/apache/conf/httpd.conf:
Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not included in the server configuration
../bin/apachectl start: httpd could not be started
 
This is my httpd.conf:
 
....
    #
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the realname directory are treated as applications and
    # run by the server when requested rather than as documents sent to the client.
    # The same rules about trailing "/" apply to ScriptAlias directives as to
    # Alias.
    #
    ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
 
    #
    # "/usr/local/apache/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    #
    <Directory "/usr/local/apache/cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
 
# Alias config for enabling mod_perl in Apache server
    Alias /ptts/ /usr/local/OpenTRS/bin/cgi-bin/
 
        PerlModule Apache::Registry
        <Location /ptts/>
        SetHandler perl-script
        PerlHandler Apache::Registry
        Options +ExecCGI
        PerlSendHeader On
        </Location>
 
</IfModule>
# End of aliases.
 
Im currently using FreeBSD-4.4, Apache-1.3.26, PHP, Postgres in this machine.
What do you think is the problem?
 
Thanks for any advise,
Edwin
 
 
================================
If others think ten minutes ahead;
Filipinos must think 10 years ahead;
-- Edwin D. Vinas
   http://www.geocities.com/edwin_vinas
================================

Reply via email to