fixed installer setup

This commit is contained in:
valenok 2010-09-03 04:01:55 +01:00
parent 5fdbbcd895
commit 4279543f73
2 changed files with 23 additions and 25 deletions

View File

@ -2,7 +2,7 @@
!define MENUDIR "Mongoose web server"
!define SVC "Mongoose ${VERSION}"
OutFile mongoose-${VERSION}.install.exe
OutFile c:\mongoose-${VERSION}.install.exe
Name "Mongoose ${VERSION}"
InstallDir C:\mongoose-${VERSION}
@ -30,7 +30,6 @@ Section "SSL files"
File ssl_cert.pem
# Following lines add full path to the certificate file in the mongoose.conf
# The -ssl_cert option must go before -ports option.
FileOpen $0 mongoose.conf a
FileRead $0 $1
FileRead $0 $1
@ -38,7 +37,7 @@ Section "SSL files"
FileRead $0 $1
FileRead $0 $1
FileRead $0 $1
FileWrite $0 "ssl_cert $INSTDIR\ssl_cert.pem"
FileWrite $0 "ssl_certificate $INSTDIR\ssl_cert.pem"
FileClose $0
SectionEnd

View File

@ -3,29 +3,28 @@
# For detailed description of every option, visit
# http://code.google.com/p/mongoose/wiki/MongooseManual
root c:\
ports 80,443s
access_log c:\mongoose_access_log.txt
error_log c:\mongoose_error_log.txt
document_root c:\
listening_ports 80,443s
access_log_file c:\mongoose_access_log.txt
error_log_file c:\mongoose_error_log.txt
# NOTE FOR PHP USERS:
# Correct PHP binary to use is php-cgi.exe, NOT php.exe!
# cgi_interp c:\php\php-cgi.exe
# cgi_interp c:\perl\bin\perl.exe
# cgi_interpreter c:\php\php-cgi.exe
# cgi_ext cgi,pl,php
# ssi_ext shtml,shtm
# auth_realm mydomain.com
# dir_list no
# index_files index.html,index.htm,index.php,index.cgi
# aliases /my_d_disk=d:\,/my_e_disk=e:\
# acl -0.0.0.0/0,+10.0.0.0/8,+192.168.0.0/16
# admin_uri /remote_admin
# protect /remote_admin=c:\passwords.txt
# cgi_env FOO=BAR,BAZ=POO
# auth_gpass c:\mongoose_global_web_passwords.txt
# auth_PUT c:\mongoose_put_delete_passwords.txt
# ssl_cert ssl_cert.pem
# max_threads 100
# idle_time 10
# cgi_extensions cgi,pl,php
# ssi_extensions shtml,shtm
# authentication_domain mydomain.com
# enable_directory_listing no
# index_files index.html,index.htm,index.php,index.cgi
# access_control_list -0.0.0.0/0,+10.0.0.0/8,+192.168.0.0/16
# protect_uri /foo=c:\passwords.txt
# cgi_environment FOO=BAR,BAZ=POO
# global_passwords_file c:\mongoose_global_web_passwords.txt
# put_delete_passwords_file c:\mongoose_put_delete_passwords.txt
# ssl_certificate ssl_cert.pem
# num_threads 10
# enable_keep_alive no