better cnp support
svn: r13564
This commit is contained in:
parent
dc78217029
commit
e026f89d37
|
@ -73,7 +73,7 @@ Second, if you want to make your own Scheme start-up script, you can write:
|
||||||
@(require (for-label mzlib/os))
|
@(require (for-label mzlib/os))
|
||||||
@schemeblock[
|
@schemeblock[
|
||||||
(require mzlib/os)
|
(require mzlib/os)
|
||||||
(with-output-to-file _pid-file (lambda () (write (getpid))))
|
(with-output-to-file _your-pid-file (lambda () (write (getpid))))
|
||||||
(_start-server)
|
(_start-server)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -1153,7 +1153,7 @@ Second, add the following at the bottom of your application:
|
||||||
#:listen-ip #f
|
#:listen-ip #f
|
||||||
#:port 8000
|
#:port 8000
|
||||||
#:extra-files-paths
|
#:extra-files-paths
|
||||||
(list (build-path _path "htdocs"))
|
(list (build-path _your-path-here "htdocs"))
|
||||||
#:servlet-path
|
#:servlet-path
|
||||||
"/servlets/APPLICATION.ss")
|
"/servlets/APPLICATION.ss")
|
||||||
]
|
]
|
||||||
|
@ -1162,7 +1162,7 @@ You can change the value of the @scheme[#:port] parameter to use a different por
|
||||||
|
|
||||||
@scheme[#:listen-ip] is set to @scheme[#f] so that the server will listen on @emph{all} available IPs.
|
@scheme[#:listen-ip] is set to @scheme[#f] so that the server will listen on @emph{all} available IPs.
|
||||||
|
|
||||||
You should change @scheme[_path] to be the path to the parent of your @scheme[htdocs] directory.
|
You should change @scheme[_your-path-here] to be the path to the parent of your @scheme[htdocs] directory.
|
||||||
|
|
||||||
You should change @scheme["APPLICATION.ss"] to be the name of your application.
|
You should change @scheme["APPLICATION.ss"] to be the name of your application.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user