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 :
Code:
NameVirtualHost *:443
<VirtualHost *:443>
ServerAdmin admin@localhost
ServerName mixmaster
ServerAlias mixmaster
DocumentRoot /home/mix/mixmaster/cgi-bin/
<Directory />
Options None
AllowOverride None
</Directory>
<Directory /home/mix/mixmaster/cgi-bin/>
Options ExecCGI
AllowOverride None
AddHandler cgi-script cgi pl
DirectoryIndex mixemail-send.cgi mixemail-user.cgi mixnews-send.cgi mixnews-user.cgi
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/mix.error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/mix.access.log combined
ServerSignature Off
ScriptAlias /cgi-bin/ "/home/mix/mixmaster/cgi-bin/"
# SSL
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/cert.pem
SSLCertificateKeyFile /etc/apache2/ssl/key.pem
SSLVerifyClient none
SSLCipherSuite HIGH:MEDIUM
</VirtualHost>
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 ??
Thanks !!!!