[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apache2 conf



Hi all

Today i seem to be fighting with Apache2.

I need to have a cgi-bin for /home/images/cgi-bin

But I keep getting premature script.

This is my current conf

<VirtualHost 1.2.3.4:80>
        ServerAdmin webmaster@abc.com

        ServerAlias abc.com
        ServerName abc

        SuexecUserGroup images images

        ScriptAlias /cgi-bin/ "/home/images/cgi-bin/"

        DocumentRoot /home/images/public_html/
         AddHandler cgi-script .cgi .pl

        <Directory "/home/images/cgi-bin/">
                Options +ExecCGI
                SetHandler cgi-script
                 AddHandler cgi-script .cgi .pl

#               AllowOverride None
#               Order deny,allow
#               Deny from all

               Order allow,deny
               Allow from all
        </Directory>

</VirtualHost>

I tried the command line option and I get the hello world outout.

If anyone could assist, I would be most greatful

Kind Regards
Brent Clark




Reply to: