>>AddHandler cgi-script .cgi .html
>>ScriptAlias /cgi-bin/ /home/mine/public_html/cgi-bin/
These lines 'll also required to run script:
<Directory "/home/mine/public_html/cgi-bin">
Options -Indexes +ExecCGI
Order Allow,Deny
Allow from All
</Directory>
In addition, i guess you can run script without
AddHandler cgi-script .cgi .html
Regards,
On Mon, 2006-02-20 at 18:13, azeem ahmad wrote:
> is this configuration ok to run cgi scripts.
> -----------------------------------------------------------------------------------------------------------------------------------------
> <VirtualHost 1.2.3.4>
> ServerAlias domain.com
> ServerAdmin [EMAIL PROTECTED]
> DocumentRoot /home/mine/public_html
> BytesLog domlogs/mine.com-bytes_log
> ServerName www.domain.com
>
> User mine
> Group mine
> CustomLog /usr/local/apache/domlogs/mine.com combined
> AddHandler cgi-script .cgi .html
> ScriptAlias /cgi-bin/ /home/mine/public_html/cgi-bin/
> </VirtualHost>
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Regards
> Azeem
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> " from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]