I'm building a site with drupal and it has going to have some parts , separeted virtualhosts , where there is a web interface to send emails with mixmaster and an another one to read usenet news . I never worked with cgi and i have few questions . That's how i configured my virtualhost :
AddHandler cgi-script cgi pl
DirectoryIndex mixemail-send.cgi mixemail-user.cgi mixnews-send.cgi mixnews-user.cgi
allow from all
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
CustomLog /var/log/apache2/mix.access.log combined
ScriptAlias /cgi-bin/ "/home/mix/mixmaster/cgi-bin/"
How do i configure the virtualhost DocumentRoot ?
In directoryIndex i included all the cgi scrits in /cgi-bin/
But when i connect the browser says i'm not alloweb to view the resource and is this the way to configure a site based on cgi ??