baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: Stephen Clement <s.clement AT sympatico.ca>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] httpd
- Date: Mon, 01 Nov 2004 21:10:56 -0500
3aoo-cvfd AT dea.spamcon.org wrote:
Stephen Clement wrote:Well the httpd.conf I used was a modified version (by me) of the one that came with version 1.3.4.
Any idea what version it is then?
I think it's version 1.34.
The command line options like -u, -h and -r don't work, I get an illegal option.I can't get anything else no matter what I specify in my httpd.conf. Any ideas?
----------------------------------------------------------------
Typical usage:
for non root user
httpd -p 8080 -h $HOME/public_html
or for daemon start from rc script with uid=0:
httpd -u www
This is equivalent if www user have uid=80 to
httpd -p 80 -u 80 -h /www -c /etc/httpd.conf -r "Web Server Authentication"
When a url contains "cgi-bin" it is assumed to be a cgi script. TheDoes this httpd use a different httpd.conf style than the one from Apache? Is this Apache httpd or NCSA httpd that is in BL?
server changes directory to the location of the script and executes it
after setting QUERY_STRING and other environment variables.
The server can also be invoked as a url arg decoder and html text encoder
as follows:
foo=`httpd -d $foo` # decode "Hello%20World" as "Hello World"
bar=`httpd -e "<Hello World>"` # encode as "<Hello World>"
Note that url encoding for arguments is not the same as html encoding for
presenation. -d decodes a url-encoded argument while -e encodes in html
for page display.
--snip--
--snip--
Cheers,
Steven
-
Re: [BL] httpd,
3aoo-cvfd, 11/01/2004
-
Re: [BL] httpd,
3aoo-cvfd, 11/01/2004
-
Re: [BL] httpd,
Stephen Clement, 11/01/2004
-
Re: [BL] httpd,
David Lane, 11/01/2004
-
Re: [BL] httpd,
Stephen Clement, 11/01/2004
- Re: [BL] httpd, David Lane, 11/01/2004
-
Re: [BL] httpd,
Stephen Clement, 11/01/2004
-
Re: [BL] httpd,
David Lane, 11/01/2004
-
Re: [BL] httpd,
Stephen Clement, 11/01/2004
-
Re: [BL] httpd,
Stephen Clement, 11/01/2004
-
Re: [BL] httpd,
3aoo-cvfd, 11/01/2004
-
Re: [BL] httpd,
Stephen Clement, 11/01/2004
- Re: [BL] httpd, 3aoo-cvfd, 11/01/2004
-
Re: [BL] httpd,
Stephen Clement, 11/01/2004
-
Re: [BL] httpd,
3aoo-cvfd, 11/01/2004
-
Re: [BL] httpd,
3aoo-cvfd, 11/01/2004
Archive powered by MHonArc 2.6.24.