Re: re-starting http; changing ports
"John C. Mallery" <[email protected]> Tue, 1 Jun 2004 15:55:16 -0400
| Newsgroups | gmane.lisp.cl-http |
|---|---|
| Message-ID | <p06020405bce28e1d33cd@[10.0.1.2]> |
At 11:38 AM -0700 6/1/04, Paul Pangaro wrote: >cl-http is working great overall under OS X and MCL. Might not hurt to state what version you are using. >i have a few questions about running more gracefully: > > > >Q. restarting cl-http after loading > >1. when the machine wakes up from sleep mode, http service doesn't work. even doing (http:start) doesn't restart it MCL issue? The MCL networking layer requires a full rewrite by Digitool. A good starting point would be the OpenMCL networking layer. Then, the CL-HTTP port needs to target the new networking layer. Volunteers? > >2. similarly, if i change the network settings [IP address etc.] because i change the network or whatever, i don't know how to reset cl-http to wake it up See HTTP::MAYBE-MOVE-SERVER-IP-ADDRESS > > > >Q. I'm trying to use (http:enable-http-service :on-ports '(8002)) to control which ports serve and which do not. after executing these functions, do i need to do something more to get the http service up again? when should i use http::maybe-move-server-ip-address and (http::disallow-http-service-on-port 8000), if at all? You should probably be using: (http:set-standard-http-port 8002) in your init file. Probably wouldn't hurt to read the init file (http:examples;configuration.lisp) > > > >many thanks in advance -paul >--