Ravindra Jaju forced the electrons to say:
> >    I want to start two Apache Server one on default 80
> > port & Other on port 8000. Document root for First
> > server will be /home/httpd/html & Other
> > /home/anil/sys/ how i can do this.
> 
> you need to have two different config files. normally, httpd.conf file has
> the port number specified.

If you just need two document roots, then there is no need for two httpd
processes. Just access your /home/anil/sys directory as http://whatever/~anil
(You have to set UserDir in the configfile).

Or you can setup a virtual host.

Binand

> > and one more thing second server will be password protected.
> 
> password proctection? See the manual. I gives the syntax etc. for it. also
> try out www.apacheweek.com

You can have one DocumentRoot password protected, and another not. Use the
.htaccess file to your advantage.

Binand

-- 
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. ([EMAIL PROTECTED])


-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH

Reply via email to