Hi All,
I am having a little bit of trouble with thr configuration of Virtual Hosts
and cgi-bin on my current Server.
It has 3 independent websites running from the same box which are working
fine. I have given each there own cgi-bin (for formmail.pl).
What i want to do is to seperate totally the scripts in the cgi-bin so they
can be independently modified to suit the user. Currently the cgi-bin
scripts are being read from /usr/local/apache/cgi-bin from all 3 sites and
not from there own cgi-bin,s. I have tried adding the alias path to each
site which kinda works but an error message "The requested method POST is
not allowed for the URL /cgi-bin/formmail.pl." The permissions are set
correctly and the scripts as above.
Can anyone kindly advise what i have to do in the httpd.conf file to fix
this?
This is what i already have:
<VirtualHost 192.168.10.2>
DocumentRoot /www/joeblogs/htdocs
ServerName www.joeblogs.com.au
Alias /cgi-bin /www/joeblogs/cgi-bin
</VirtualHosts>
Regards,
Greg
Greg Darby
Systems Administrator
Ramelec (SA) Pty Ltd
2 Ontario Ave Panorama
South Australia 5041
Tel: +61 8 83742100
Fax: +61 8 83742102
_______________________
=============================================================================================
This email and any attachment has been checked for the presence of known Virus's by Ramelec's NTMail Virus Scanner.
---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
I am having a little bit of trouble with thr configuration of Virtual Hosts
and cgi-bin on my current Server.
It has 3 independent websites running from the same box which are working
fine. I have given each there own cgi-bin (for formmail.pl).
What i want to do is to seperate totally the scripts in the cgi-bin so they
can be independently modified to suit the user. Currently the cgi-bin
scripts are being read from /usr/local/apache/cgi-bin from all 3 sites and
not from there own cgi-bin,s. I have tried adding the alias path to each
site which kinda works but an error message "The requested method POST is
not allowed for the URL /cgi-bin/formmail.pl." The permissions are set
correctly and the scripts as above.
Can anyone kindly advise what i have to do in the httpd.conf file to fix
this?
This is what i already have:
<VirtualHost 192.168.10.2>
DocumentRoot /www/joeblogs/htdocs
ServerName www.joeblogs.com.au
Alias /cgi-bin /www/joeblogs/cgi-bin
</VirtualHosts>
Regards,
Greg
Greg Darby
Systems Administrator
Ramelec (SA) Pty Ltd
2 Ontario Ave Panorama
South Australia 5041
Tel: +61 8 83742100
Fax: +61 8 83742102
_______________________
=============================================================================================
This email and any attachment has been checked for the presence of known Virus's by Ramelec's NTMail Virus Scanner.
---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org