On Mon, Sep 11, 2000 at 07:06:42PM -0500, Jonathan Wilson wrote:
> More to that: This is a leased server with a dozen or so IPs (to be used in 
> VirtualHosting, specifically) Right now however, if you go to any one of 
> those, you get the index.html or the standard site, because Apache is 
> listening to all those IPs. How do I restrict the *default* (or whatever 
> you call it) server to the box's main IP? I do not want anything at all to 
> show up on the other IPs untill we actually set up the new Virtual Sites.

        Make the default your "nothing" ("Coming soon to a browser near
you", "Under construction", "Bugger off", or whatever you want) configuration.
Then make your current "standard site" to be a specific virtual server.

>                  JW



> >Howdy,
> >
> >Being new to Linux we serving., I have a silly Q:
> >
> >the DocumentRoot on this server is /home/httpd/html right now if you go to 
> >the main ip in a web browser you see the index.html that resides there.
> >
> >I've figured out how to set up VirtualHosting OK, but I noticed that the 
> >example in /etc/httpd/conf/httpd.conf says:
> >
> >
> >DocumentRoot /www/docs/host.somedomain.com
> >
> >
> >Though the general Apache Docment root is of course /home/httpd/html
> >
> >So my Q is, what's the standard place to keep the directories for all the 
> >Virtual Sites on a an Apache server? We'll probably have about 10 - 20 
> >sites, all with different names. Of course, right now they're on NT, and 
> >they all reside in C:\intepub (or something like that) so if you listed 
> >C:\inetpub you'd see folders:
> >
> >C:\inetpub\ABC\
> >C:\inetpub\DEF\
> >C:\inetpub\Asdf\
> >C:\inetpub\MyHomeSite\
> >C:\inetpub\YourHomeSite\
> >
> >
> >Etc. Is /home/httpd/html a good enough place to move these too, or is 
> >there something insecure about it? It really doesn't matter to me, but I'd 
> >like to do what's ever's "standard".
> >
> >Also, I'm intending on making all the dirs and docs owned by a webadmins 
> >group, and the users will just be whoever happens to make/move/copy the 
> >document (but not root) - does that sound ok?
> >
> >Thanks a bunch,
> >
> >                 JW

        Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  [EMAIL PROTECTED]
  (The Mad Wizard)      |  (678) 463-0932   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to