appweb.conf 1.29 KB
#
#   appweb.conf -- Appweb configuration for ${UAPP} (esp-html-mvc)
#

ErrorLog stdout level=2 append stamp=1hr

Listen 80

LoadModulePath "../../${PLATFORM}/bin"
LoadModule espHandler libmod_esp

#LoadModule espHandler libTrafficSDK
#LoadModule espHandler libmxml

#LoadModule espHandler libSCOS
#LoadModule espHandler libiconv
#LoadModule espHandler libasound
#LoadModule espHandler libini
#LoadModule espHandler libSCVasNet
#LoadModule espHandler libSCVdo
#LoadModule espHandler libxml2
#LoadModule espHandler libz

Redirect permanent /web /
SessionTimeout      999999hour

AddHandler espHandler esp
AddHandler fileHandler ""

EspUpdate off
#
#   SSL/TLS configuration
#
#   LoadModule sslModule libmod_ssl
#   ListenSecure 443
#
#   SECURITY NOTE: you must generate the server.crt and server.key.pem.
#   Use a decrypted key here so it won't prompt for the password.
#
#   SSLCertificateFile "server.crt"
#   SSLCertificateKeyFile "server.key.pem"

#
#   Define the application
#
<EspApp name="TrafficClient" routes="esp-html-mvc">
    #
    #   EspResource NAME
    #   EspResourceGroup 
    #
    #   <Route /upload-uri>
           AddInputFilter uploadFilter
           UploadDir /tmp
           UploadAutoDelete on
           LimitUpload 200MB
    #   </Route>
	SessionCookie visible=false
</EspApp>

# LogRoutes