#######################################################################
# Submitting from add_files.php too uu_upload.pl on Windows Machine #
# The scripts are working on a Unix machine with very similar setup #
#######################################################################
###############################
# The http:// configuration #
###############################
ServerName cgsurveying.localhost
ServerAlias www.cgsurveying.localhost
DocumentRoot /www/vhosts/cgsurveying.localhost
ErrorLog /www/Apache22/logs/error.log
##################################################################################
# If I remove /cgi-bin/ it tells me "client denied by server configuration:" #
# If I include /cgi-bin/ it tells me: #
# "The system cannot find the path specified : couldn't create child process" #
# And then: #
# "The system cannot find the path specified. : couldn't spawn child process" #
# "process: D:/www/vhosts/cgsurveying.localhost/cgi-bin/uu_upload.pl, " #
# However I can access the specified path in my browser? #
##################################################################################
ScriptAlias /cgi-bin/ /www/vhosts/cgsurveying.localhost/cgi-bin/
Options +FollowSymLinks +ExecCGI
AddHandler cgi-script .cgi .pl
AddHandler server-parsed .shtml
AddType text/html .shtml
Options +Includes +ExecCGI
Options All
AllowOverride All
order allow,deny
allow from all
#########################
# The https:// config #
#########################
ServerName cgsurveying.localhost
ServerAlias www.cgsurveying.localhost
DocumentRoot /www/vhosts/cgsurveying.localhost
ErrorLog /www/Apache22/logs/ssl-error.log
Options All
AllowOverride All
order allow,deny
allow from all
SSLEngine on
SSLCertificateFile conf/ssl.crt/server.crt
SSLCertificateKeyFile conf/ssl.key/server.key