On windows, shttpd ignores command line options. You have to use shttpd.conf file instead. Put shttpd.conf file in the same directory from where do you start shttpd.exe. Single line in conf file is enough - "listen_ports 8000"
On 09/02/2008, Fred <[EMAIL PROTECTED]> wrote: > Hello > > I'd like to send a friend a PHP application, so am looking for a very > simple HTTP server to ship with PHP for Windows in CGI. > > I have a couple of questions on using SimpleHTTPd for this: > - I wrote a batch file to launch "shttpd.exe -p 8000", but netstat shows > that shttpd is listening on TCP80... which is already in use by another > HTTP server :-) > - What is the file format to list file extensions that should be handled by > CGI instead of being shown by shttpd? I need to add ".php" so that any PHP > script is handled by the PHP-CGI interpreter. > > Thank you. > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ shttpd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shttpd-general
