Browse Source

removed obsolete stuff

valenok 15 years ago
parent
commit
8853d320fe
4 changed files with 0 additions and 101 deletions
  1. 0 4
      win32/README.txt
  2. 0 67
      win32/installer.nsi
  3. 0 30
      win32/mongoose.conf
  4. BIN
      win32/srvany.exe

+ 0 - 4
win32/README.txt

@@ -1,4 +0,0 @@
-For detailed documentation, please visit
-http://code.google.com/p/mongoose/wiki/WindowsUsage
-
-Thanks for using Mongoose!

+ 0 - 67
win32/installer.nsi

@@ -1,67 +0,0 @@
-!define VERSION "2.9"
-!define MENUDIR "Mongoose web server"
-!define	SVC "Mongoose ${VERSION}"
-
-OutFile mongoose-${VERSION}.install.exe
-Name "Mongoose ${VERSION}"
-InstallDir C:\mongoose-${VERSION}
-
-Page components
-Page directory
-Page instfiles
-UninstPage uninstConfirm
-UninstPage instfiles
-
-Section "Mongoose files (required)"
-  SectionIn RO
-  SetOutPath $INSTDIR
-  File ..\mongoose.exe
-  File ..\_mongoose.dll
-  File ..\_mongoose.lib
-  File mongoose.conf
-  File README.txt
-  File srvany.exe
-  WriteUninstaller uninstall.exe
-SectionEnd
-
-Section "SSL files"
-  SectionIn RO
-  File ssl_cert.pem
-
-  # Following lines add full path to the certificate file in the mongoose.conf
-  FileOpen $0 mongoose.conf a
-  FileRead $0 $1
-  FileRead $0 $1
-  FileRead $0 $1
-  FileRead $0 $1
-  FileRead $0 $1
-  FileRead $0 $1
-  FileWrite $0 "ssl_certificate $INSTDIR\ssl_cert.pem"
-  FileClose $0
-SectionEnd
-
-Section "Run Mongoose as service"
-  ExecWait 'sc create "${SVC}" binpath= $INSTDIR\srvany.exe start= auto depend= Tcpip'
-  ExecWait 'sc description "${SVC}" "Web server"'
-  WriteRegStr HKLM "System\CurrentControlSet\Services\${SVC}\Parameters" "Application" "$INSTDIR\mongoose.exe"
-  WriteRegStr HKLM "System\CurrentControlSet\Services\${SVC}\Parameters" "AppDirectory" "$INSTDIR"
-  ExecWait 'sc start "${SVC}"'
-SectionEnd
-
-Section "Create menu shortcuts"
-  CreateDirectory "$SMPROGRAMS\${MENUDIR}"
-  CreateShortCut "$SMPROGRAMS\${MENUDIR}\Start in console.lnk" "$INSTDIR\mongoose.exe"
-  CreateShortCut "$SMPROGRAMS\${MENUDIR}\Edit config.lnk" "notepad" "$INSTDIR\mongoose.conf"
-  CreateShortCut "$SMPROGRAMS\${MENUDIR}\Stop service.lnk" "sc" 'stop "Mongoose ${VERSION}"'
-  CreateShortCut "$SMPROGRAMS\${MENUDIR}\Start service.lnk" "sc" 'start "Mongoose ${VERSION}"'
-  CreateShortCut "$SMPROGRAMS\${MENUDIR}\uninstall.lnk" "$INSTDIR\uninstall.exe"
-SectionEnd
-
-Section "Uninstall"
-  ExecWait 'sc stop "${SVC}"'
-  ExecWait 'sc delete "${SVC}"'
-  Delete "$INSTDIR\*.*"
-  Delete "$SMPROGRAMS\${MENUDIR}\*.*"
-  RMDir "$SMPROGRAMS\${MENUDIR}"
-  RMDir "$INSTDIR"
-SectionEnd

+ 0 - 30
win32/mongoose.conf

@@ -1,30 +0,0 @@
-# Mongoose web server configuration file.
-# Lines starting with '#' and empty lines are ignored.
-# For detailed description of every option, visit
-# http://code.google.com/p/mongoose/wiki/MongooseManual
-
-document_root c:\
-
-# Placeholder for ssl_certificate                                                                                                                                                   
-
-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_interpreter    c:\php\php-cgi.exe
-
-# 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

BIN
win32/srvany.exe