From owner-freebsd-isp Sun Jul 4 0:37:40 1999 Delivered-To: freebsd-isp@freebsd.org Received: from arnold.neland.dk (mail.neland.dk [194.255.12.232]) by hub.freebsd.org (Postfix) with ESMTP id 8610C14BED for ; Sun, 4 Jul 1999 00:37:36 -0700 (PDT) (envelope-from leifn@neland.dk) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.9.3/8.9.3) with ESMTP id JAA72689; Sun, 4 Jul 1999 09:37:24 +0200 (CEST) (envelope-from leifn@neland.dk) Date: Sun, 4 Jul 1999 09:37:24 +0200 (CEST) From: Leif Neland To: bb@taex001.tamu.edu Cc: freebsd-isp@FreeBSD.ORG Subject: Re: {bb} BB, sendmail and rbl In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 3 Jul 1999, root wrote: > > > On Sun, 4 Jul 1999, Leif Neland wrote: > > > I run Big Brother on a FreeBSD box, which is connected to the world on a > > dial-on-demand isdn. > > A few days ago, I enabled FEATURE(rbl)dnl, Realtime Blackhole list in my > > sendmail.mc > > > > Now everytime bb connects to sendmail, > > the dial-on-demand kicks in! > > > RBL is expensive in DNS transactions. Every mail address gets matched > against a illegal Reverse zone scheme. If you can stand it, you could > set up your named to be a downstream zone for the RBL master. It helps > (A Lot)!!! > > Steve Foster > BBS-la.com > > sysop@bbs-la.com I added logging to my named, and discovered that sendmail did a rbl-lookup on 127.0.0.1 (or the host connecting to it) at the initial connect. i.e. before any HELO or other chat. So I made my named authoritative for 0.0.127.maps.rbl.vix.com and 0.168.192.maps.rbl.vix.com. This stopped the dial-on-demand's on every bb-test Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Jul 4 11:58:52 1999 Delivered-To: freebsd-isp@freebsd.org Received: from host1.premier-hosting.com (unknown [209.98.119.194]) by hub.freebsd.org (Postfix) with ESMTP id E112F14FC7 for ; Sun, 4 Jul 1999 11:58:45 -0700 (PDT) (envelope-from paul@premier-networks.com) Received: from premier-networks.com (cgowave-36-34.cgocable.net [24.226.36.34]) by host1.premier-hosting.com (8.9.2/8.8.7) with ESMTP id OAA00563 for ; Sun, 4 Jul 1999 14:57:20 -0400 (EDT) Message-ID: <377FAEB3.58923C4E@premier-networks.com> Date: Sun, 04 Jul 1999 14:57:55 -0400 From: Paul Stewart Organization: Premier Networks X-Mailer: Mozilla 4.6 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-isp@freebsd.org Subject: Frustrated Apache Error Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On a Frontpage 1.3.6 server I am getting the following errors when I try to add virtual hosts... I can't figure out this stupid error. it's driving me nuts... I have taken the installed httpd.conf and added a virtualhost section at the bottom and I keep getting this... any help would be appreciated.. [Sun Jul 4 14:54:13 1999] [warn] VirtualHost 209.98.119.95:80 overlaps with VirtualHost 209.98.119.95:80, the first has precedence, perhaps you need a NameVirtualHost directive There is only one virtualhost entry currently which is: ServerAdmin admin@canadian-links.com DocumentRoot /usr/local/www/data/links-canada ServerName www.candian-links.com ErrorLog logs/error_log CustomLog logs/access_log common Thanks for any help... Paul -- --- Paul Stewart Premier Networks (705)740-0442 voice (705)740-0443 fax http://www.premier-networks.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Jul 4 12:19:45 1999 Delivered-To: freebsd-isp@freebsd.org Received: from monster.abyss.net (dark.abyss.net [207.198.22.202]) by hub.freebsd.org (Postfix) with ESMTP id D2B3B14EA2 for ; Sun, 4 Jul 1999 12:19:40 -0700 (PDT) (envelope-from ksb@abyss.net) Received: from nightmare.abyss.net (ksb@nightmare.abyss.net [10.0.0.3]) by monster.abyss.net (8.9.2/8.9.2) with ESMTP id PAA01369; Sun, 4 Jul 1999 15:13:02 -0400 (EDT) (envelope-from ksb@abyss.net) Date: Sun, 4 Jul 1999 15:18:38 -0400 (EDT) From: "Kevin S. Brackett" To: Paul Stewart Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Frustrated Apache Error In-Reply-To: <377FAEB3.58923C4E@premier-networks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org try adding NameVirtualHost 209.98.119.95 in the config. - kevin On Sun, 4 Jul 1999, Paul Stewart wrote: > On a Frontpage 1.3.6 server I am getting the following errors when I > try to add virtual hosts... I can't figure out this stupid error. it's > driving me nuts... > > I have taken the installed httpd.conf and added a virtualhost section at > the bottom and I keep getting this... any help would be appreciated.. > > [Sun Jul 4 14:54:13 1999] [warn] VirtualHost 209.98.119.95:80 overlaps > with VirtualHost 209.98.119.95:80, the first has precedence, perhaps you > need a NameVirtualHost directive > > > There is only one virtualhost entry currently which is: > > > ServerAdmin admin@canadian-links.com > DocumentRoot /usr/local/www/data/links-canada > ServerName www.candian-links.com > ErrorLog logs/error_log > CustomLog logs/access_log common > > > Thanks for any help... > > Paul > > > -- > --- > Paul Stewart > Premier Networks > > (705)740-0442 voice > (705)740-0443 fax > http://www.premier-networks.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Jul 4 12:25: 0 1999 Delivered-To: freebsd-isp@freebsd.org Received: from host1.premier-hosting.com (unknown [209.98.119.194]) by hub.freebsd.org (Postfix) with ESMTP id 465B714EA2 for ; Sun, 4 Jul 1999 12:24:56 -0700 (PDT) (envelope-from paul@premier-networks.com) Received: from premier-networks.com (cgowave-36-34.cgocable.net [24.226.36.34]) by host1.premier-hosting.com (8.9.2/8.8.7) with ESMTP id PAA00723; Sun, 4 Jul 1999 15:23:24 -0400 (EDT) Message-ID: <377FB4CE.79C79782@premier-networks.com> Date: Sun, 04 Jul 1999 15:23:58 -0400 From: Paul Stewart Organization: Premier Networks X-Mailer: Mozilla 4.6 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Kevin S. Brackett" Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Frustrated Apache Error References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org When I add that I get... [Sun Jul 4 15:22:51 1999] [warn] NameVirtualHost 209.98.119.195:80 has no Virtu alHosts [Sun Jul 4 15:22:51 1999] [warn] NameVirtualHost 209.98.119.195:80 has no Virtu alHosts Which doesn't make sense.... it's going to be something really dumb.. "Kevin S. Brackett" wrote: > > try adding > > NameVirtualHost 209.98.119.95 > > in the config. > > - kevin > > On Sun, 4 Jul 1999, Paul Stewart wrote: > > > On a Frontpage 1.3.6 server I am getting the following errors when I > > try to add virtual hosts... I can't figure out this stupid error. it's > > driving me nuts... > > > > I have taken the installed httpd.conf and added a virtualhost section at > > the bottom and I keep getting this... any help would be appreciated.. > > > > [Sun Jul 4 14:54:13 1999] [warn] VirtualHost 209.98.119.95:80 overlaps > > with VirtualHost 209.98.119.95:80, the first has precedence, perhaps you > > need a NameVirtualHost directive > > > > > > There is only one virtualhost entry currently which is: > > > > > > ServerAdmin admin@canadian-links.com > > DocumentRoot /usr/local/www/data/links-canada > > ServerName www.candian-links.com > > ErrorLog logs/error_log > > CustomLog logs/access_log common > > > > > > Thanks for any help... > > > > Paul > > > > > > -- > > --- > > Paul Stewart > > Premier Networks > > > > (705)740-0442 voice > > (705)740-0443 fax > > http://www.premier-networks.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-isp" in the body of the message > > -- --- Paul Stewart Premier Networks (705)740-0442 voice (705)740-0443 fax http://www.premier-networks.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Jul 4 12:28:24 1999 Delivered-To: freebsd-isp@freebsd.org Received: from monster.abyss.net (dark.abyss.net [207.198.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 14C0614EA2 for ; Sun, 4 Jul 1999 12:28:20 -0700 (PDT) (envelope-from ksb@abyss.net) Received: from nightmare.abyss.net (ksb@nightmare.abyss.net [10.0.0.3]) by monster.abyss.net (8.9.2/8.9.2) with ESMTP id PAA01449; Sun, 4 Jul 1999 15:21:52 -0400 (EDT) (envelope-from ksb@abyss.net) Date: Sun, 4 Jul 1999 15:27:28 -0400 (EDT) From: "Kevin S. Brackett" To: Paul Stewart Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Frustrated Apache Error In-Reply-To: <377FB4CE.79C79782@premier-networks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Off the wall, but I believe NameVirtualHost has to be above the VirtualHost entries... hope that helps. - kevin On Sun, 4 Jul 1999, Paul Stewart wrote: > When I add that I get... > > [Sun Jul 4 15:22:51 1999] [warn] NameVirtualHost 209.98.119.195:80 has > no Virtu > alHosts > [Sun Jul 4 15:22:51 1999] [warn] NameVirtualHost 209.98.119.195:80 has > no Virtu > alHosts > > Which doesn't make sense.... it's going to be something really dumb.. > > "Kevin S. Brackett" wrote: > > > > try adding > > > > NameVirtualHost 209.98.119.95 > > > > in the config. > > > > - kevin > > > > On Sun, 4 Jul 1999, Paul Stewart wrote: > > > > > On a Frontpage 1.3.6 server I am getting the following errors when I > > > try to add virtual hosts... I can't figure out this stupid error. it's > > > driving me nuts... > > > > > > I have taken the installed httpd.conf and added a virtualhost section at > > > the bottom and I keep getting this... any help would be appreciated.. > > > > > > [Sun Jul 4 14:54:13 1999] [warn] VirtualHost 209.98.119.95:80 overlaps > > > with VirtualHost 209.98.119.95:80, the first has precedence, perhaps you > > > need a NameVirtualHost directive > > > > > > > > > There is only one virtualhost entry currently which is: > > > > > > > > > ServerAdmin admin@canadian-links.com > > > DocumentRoot /usr/local/www/data/links-canada > > > ServerName www.candian-links.com > > > ErrorLog logs/error_log > > > CustomLog logs/access_log common > > > > > > > > > Thanks for any help... > > > > > > Paul > > > > > > > > > -- > > > --- > > > Paul Stewart > > > Premier Networks > > > > > > (705)740-0442 voice > > > (705)740-0443 fax > > > http://www.premier-networks.com > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-isp" in the body of the message > > > > > -- > --- > Paul Stewart > Premier Networks > > (705)740-0442 voice > (705)740-0443 fax > http://www.premier-networks.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Jul 4 12:32:27 1999 Delivered-To: freebsd-isp@freebsd.org Received: from host1.premier-hosting.com (unknown [209.98.119.194]) by hub.freebsd.org (Postfix) with ESMTP id 68A02150C8 for ; Sun, 4 Jul 1999 12:32:18 -0700 (PDT) (envelope-from paul@premier-networks.com) Received: from premier-networks.com (cgowave-36-34.cgocable.net [24.226.36.34]) by host1.premier-hosting.com (8.9.2/8.8.7) with ESMTP id PAA00765; Sun, 4 Jul 1999 15:30:47 -0400 (EDT) Message-ID: <377FB688.8D769B40@premier-networks.com> Date: Sun, 04 Jul 1999 15:31:20 -0400 From: Paul Stewart Organization: Premier Networks X-Mailer: Mozilla 4.6 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Kevin S. Brackett" Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Frustrated Apache Error References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks for the try... no, it's already above them... Someone correct me if I'm wrong but I shouldn't even need to have uncommented the NameVirtualHost entries anyways as I"m using IP based virtual hosts.. versus named based sharing the same IP... Thanks, Paul "Kevin S. Brackett" wrote: > > Off the wall, but I believe NameVirtualHost has to be above the > VirtualHost entries... hope that helps. > > - kevin > > On Sun, 4 Jul 1999, Paul Stewart wrote: > > > When I add that I get... > > > > [Sun Jul 4 15:22:51 1999] [warn] NameVirtualHost 209.98.119.195:80 has > > no Virtu > > alHosts > > [Sun Jul 4 15:22:51 1999] [warn] NameVirtualHost 209.98.119.195:80 has > > no Virtu > > alHosts > > > > Which doesn't make sense.... it's going to be something really dumb.. > > > > "Kevin S. Brackett" wrote: > > > > > > try adding > > > > > > NameVirtualHost 209.98.119.95 > > > > > > in the config. > > > > > > - kevin > > > > > > On Sun, 4 Jul 1999, Paul Stewart wrote: > > > > > > > On a Frontpage 1.3.6 server I am getting the following errors when I > > > > try to add virtual hosts... I can't figure out this stupid error. it's > > > > driving me nuts... > > > > > > > > I have taken the installed httpd.conf and added a virtualhost section at > > > > the bottom and I keep getting this... any help would be appreciated.. > > > > > > > > [Sun Jul 4 14:54:13 1999] [warn] VirtualHost 209.98.119.95:80 overlaps > > > > with VirtualHost 209.98.119.95:80, the first has precedence, perhaps you > > > > need a NameVirtualHost directive > > > > > > > > > > > > There is only one virtualhost entry currently which is: > > > > > > > > > > > > ServerAdmin admin@canadian-links.com > > > > DocumentRoot /usr/local/www/data/links-canada > > > > ServerName www.candian-links.com > > > > ErrorLog logs/error_log > > > > CustomLog logs/access_log common > > > > > > > > > > > > Thanks for any help... > > > > > > > > Paul > > > > > > > > > > > > -- > > > > --- > > > > Paul Stewart > > > > Premier Networks > > > > > > > > (705)740-0442 voice > > > > (705)740-0443 fax > > > > http://www.premier-networks.com > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > with "unsubscribe freebsd-isp" in the body of the message > > > > > > > > -- > > --- > > Paul Stewart > > Premier Networks > > > > (705)740-0442 voice > > (705)740-0443 fax > > http://www.premier-networks.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message -- --- Paul Stewart Premier Networks (705)740-0442 voice (705)740-0443 fax http://www.premier-networks.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Jul 4 12:49:24 1999 Delivered-To: freebsd-isp@freebsd.org Received: from filer2.isc.rit.edu (filer2.isc.rit.edu [129.21.3.107]) by hub.freebsd.org (Postfix) with ESMTP id DE037150D3 for ; Sun, 4 Jul 1999 12:49:22 -0700 (PDT) (envelope-from jcptch@osfmail.isc.rit.edu) Received: from grace ("port 2175"@[129.21.3.102]) by osfmail.isc.rit.edu (PMDF V5.2-32 #34621) with SMTP id <0FED00I2430BV4@osfmail.isc.rit.edu> for freebsd-isp@FreeBSD.ORG; Sun, 4 Jul 1999 15:48:11 -0400 (EDT) Received: by grace (5.65v4.0/1.1.19.2/21Sep98-0910AM) id AA22712; Sun, 04 Jul 1999 15:48:36 -0400 Date: Sun, 04 Jul 1999 15:48:36 -0400 From: jcptch@osfmail.isc.rit.edu Subject: Re: Frustrated Apache Error In-reply-to: <377FB688.8D769B40@premier-networks.com>; from Paul Stewart on Sun, Jul 04, 1999 at 03:31:20PM -0400 To: freebsd-isp@FreeBSD.ORG Mail-followup-to: freebsd-isp@FreeBSD.ORG Message-id: <19990704154836.A22649@osfmail.rit.edu> MIME-version: 1.0 X-Mailer: Mutt 0.95i Content-type: text/plain; charset=us-ascii X-Operating-System: OSF1 alpha References: <377FB688.8D769B40@premier-networks.com> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Jul 04, 1999 at 03:31:20PM -0400, Paul Stewart wrote: > Someone correct me if I'm wrong but I shouldn't even need to have > uncommented the NameVirtualHost entries anyways as I"m using IP based > virtual hosts.. versus named based sharing the same IP... Right, name virtual hosts require the IP address to be define in a NameVirtualHost directive and subsequent blocks require an actual FQDN (as opposed to IP address) to work correctly. I'm assuming, then, that this server has two IP addresses bound to it, the server's primary one and the second one you are trying to set up as a VirtualHost? The behavior you're describing is indicative of tryng to use the same IP address for both. Maybe you have them mixed up? -- Jon Parise (parise@pobox.com) . Rochester Inst. of Technology http://www.pobox.com/~parise/ : Computer Science House Member To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Jul 4 13: 1:31 1999 Delivered-To: freebsd-isp@freebsd.org Received: from host1.premier-hosting.com (unknown [209.98.119.194]) by hub.freebsd.org (Postfix) with ESMTP id 115E114E18 for ; Sun, 4 Jul 1999 13:01:11 -0700 (PDT) (envelope-from paul@premier-networks.com) Received: from premier-networks.com (cgowave-36-34.cgocable.net [24.226.36.34]) by host1.premier-hosting.com (8.9.2/8.8.7) with ESMTP id PAA00844; Sun, 4 Jul 1999 15:59:37 -0400 (EDT) Message-ID: <377FBD45.35782027@premier-networks.com> Date: Sun, 04 Jul 1999 16:00:05 -0400 From: Paul Stewart Organization: Premier Networks X-Mailer: Mozilla 4.6 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: jcptch@osfmail.isc.rit.edu Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Frustrated Apache Error References: <377FB688.8D769B40@premier-networks.com> <19990704154836.A22649@osfmail.rit.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Actually... there will be 7 or 8 hosts setup today on this server... The first host is the default host.. www.premier-hosting.com Then we have about another 6 or 7 virtual hosts to add.. the default host works fine but the virtual hosts are causing the problems.. it's almost as if the httpd.conf is missing a line or something... Here's my httpd.conf file... sorry that it's so long.... ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerType is either inetd, or standalone. Inetd mode is only supported on # Unix platforms. # ServerType standalone # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at ); # you will save yourself a lot of trouble. # # Do NOT add a slash at the end of the directory path. # ServerRoot "/usr/local" # # The LockFile directive sets the path to the lockfile used when Apache # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at # its default value. The main reason for changing it is if the logs # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL # DISK. The PID of the main server process is automatically appended to # the filename. # #LockFile /var/run/httpd.lock # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile /var/run/httpd.pid # # ScoreBoardFile: File used to store internal server process information. # Not all architectures require this. But if yours does (you'll know because # this file will be created when you run Apache) then you *must* ensure that # no two invocations of Apache share the same scoreboard file. # ScoreBoardFile /var/run/httpd.scoreboard # # In the standard configuration, the server will process this file, # srm.conf, and access.conf in that order. The latter two files are # now distributed empty, as it is recommended that all directives # be kept in a single file for simplicity. The commented-out values # below are the built-in defaults. You can have the server ignore # these files altogether by using "/dev/null" (for Unix) or # "nul" (for Win32) for the arguments to the directives. # #ResourceConfig conf/srm.conf #AccessConfig conf/access.conf ### FrontPage needs these two directives defined, otherwise ### ### the fpadmsrv.exe program will cause errors. ### ResourceConfig /usr/local/etc/apache/httpd.conf AccessConfig /usr/local/etc/apache/httpd.conf # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 15 # # Server-pool size regulation. Rather than making you guess how many # server processes you need, Apache dynamically adapts to the load it # sees --- that is, it tries to maintain enough server processes to # handle the current load, plus a few spare servers to handle transient # load spikes (e.g., multiple simultaneous requests from a single # Netscape browser). # # It does this by periodically checking how many servers are waiting # for a request. If there are fewer than MinSpareServers, it creates # a new spare. If there are more than MaxSpareServers, some of the # spares die off. The default values are probably OK for most sites. # MinSpareServers 5 MaxSpareServers 10 # # Number of servers to start initially --- should be a reasonable ballpark # figure. # StartServers 5 # # Limit on total number of servers running, i.e., limit on the number # of clients who can simultaneously connect --- if this limit is ever # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW. # It is intended mainly as a brake to keep a runaway server from taking # the system with it as it spirals down... # MaxClients 150 # # MaxRequestsPerChild: the number of requests each child process is # allowed to process before the child dies. The child will exit so # as to avoid problems after prolonged use when Apache (and maybe the # libraries it uses) leak memory or other resources. On most systems, this # isn't really needed, but a few (such as Solaris) do have notable leaks # in the libraries. # MaxRequestsPerChild 30 # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the # directive. # #Listen 3000 #Listen 12.34.56.78:80 # # BindAddress: You can support virtual hosts with this option. This directive # is used to tell the server which IP address to listen to. It can either # contain "*", an IP address, or a fully qualified Internet domain name. # See also the and Listen directives. # #BindAddress * # # Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Please read the file README.DSO in the Apache 1.3 distribution for more # details about the DSO mechanism and run `httpd -l' for the list of already # built-in (statically linked and thus always available) modules in your httpd # binary. # # Note: The order is which modules are loaded is important. Don't change # the order below without expert advice. # # Example: # LoadModule foo_module libexec/mod_foo.so LoadModule mime_magic_module libexec/apache/mod_mime_magic.so LoadModule info_module libexec/apache/mod_info.so LoadModule speling_module libexec/apache/mod_speling.so LoadModule proxy_module libexec/apache/libproxy.so LoadModule rewrite_module libexec/apache/mod_rewrite.so LoadModule anon_auth_module libexec/apache/mod_auth_anon.so LoadModule db_auth_module libexec/apache/mod_auth_db.so LoadModule digest_module libexec/apache/mod_digest.so LoadModule cern_meta_module libexec/apache/mod_cern_meta.so LoadModule expires_module libexec/apache/mod_expires.so LoadModule headers_module libexec/apache/mod_headers.so LoadModule usertrack_module libexec/apache/mod_usertrack.so LoadModule unique_id_module libexec/apache/mod_unique_id.so # Reconstruction of the complete module list from all available modules # (static and shared ones) to achieve correct module execution order. # [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO] ClearModuleList AddModule mod_env.c AddModule mod_log_config.c AddModule mod_mime_magic.c AddModule mod_mime.c AddModule mod_negotiation.c AddModule mod_status.c AddModule mod_info.c AddModule mod_include.c AddModule mod_autoindex.c AddModule mod_dir.c AddModule mod_cgi.c AddModule mod_asis.c AddModule mod_imap.c AddModule mod_actions.c AddModule mod_speling.c AddModule mod_userdir.c AddModule mod_proxy.c AddModule mod_alias.c AddModule mod_rewrite.c AddModule mod_access.c AddModule mod_auth.c AddModule mod_auth_anon.c AddModule mod_auth_db.c AddModule mod_digest.c AddModule mod_cern_meta.c AddModule mod_expires.c AddModule mod_headers.c AddModule mod_usertrack.c AddModule mod_unique_id.c AddModule mod_so.c AddModule mod_setenvif.c ### Uncomment the following if you wish to use SSL and you need RSAREF: ### #LoadFile !librsaref.so.2 LoadFile !libcrypto.so.0 LoadFile !libssl.so.0 LoadModule ssl_module libexec/apache/mod_ssl.so AddModule mod_ssl.c ### We need to check if it matters when the frontpage ### ### module is loaded, before or after the SSL module? ### LoadModule frontpage_module libexec/apache/mod_frontpage.so AddModule mod_frontpage.c # # ExtendedStatus controls whether Apache will generate "full" status # information (ExtendedStatus On) or just basic information (ExtendedStatus # Off) when the "server-status" handler is called. The default is Off. # #ExtendedStatus On ### Section 2: 'Main' server configuration # # The directives in this section set up the values used by the 'main' # server, which responds to any requests that aren't handled by a # definition. These values also provide defaults for # any containers you may define later in the file. # # All of these directives may appear inside containers, # in which case these default settings will be overridden for the # virtual host being defined. # # # If your ServerType directive (set earlier in the 'Global Environment' # section) is set to "inetd", the next few directives don't have any # effect since their settings are defined by the inetd configuration. # Skip ahead to the ServerAdmin directive. # # # Port: The port to which the standalone server listens. For # ports < 1023, you will need httpd to be run as root initially. # Port 80 # # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use "User nouser" and "Group nogroup". # . On HPUX you may not be able to use shared memory as nobody, and the # suggested workaround is to create a user www and use that user. # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) # when the value of (unsigned)Group is above 60000; # don't use Group on these systems! # User nobody Group nogroup # # ServerAdmin: Your address, where problems with the server should be # e-mailed. This address appears on some server-generated pages, such # as error documents. # ServerAdmin you@your.address # # ServerName allows you to set a host name which is sent back to clients for # your server if it's different than the one the program would get (i.e., use # "www" instead of the host's real name). # # Note: You cannot just invent host names and hope they work. The name you # define here must be a valid DNS name for your host. If you don't understand # this, ask your network administrator. # If your host doesn't have a registered DNS name, enter its IP address here. # You will have to access it by its address (e.g., http://123.45.67.89/) # anyway, and this will make redirections work in a sensible way. # #ServerName new.host.name # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot /usr/local/www/data # # Each directory to which Apache has access, can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # permissions. # Options FollowSymLinks AllowOverride None # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # This should be changed to whatever you set DocumentRoot to. # # # This may also be "None", "All", or any combination of "Indexes", # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews". # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # Options Indexes FollowSymLinks # # This controls which options the .htaccess files in directories can # override. Can also be "All", or any combination of "Options", "FileInfo", # "AuthConfig", and "Limit" # AllowOverride None ### These are the Minimum options need by the FrontPage Module. ### With out these options set the FrontPage Client will not be ### able to access the server. AllowOverride AuthConfig Limit Indexes Options # # Controls who can get stuff from this server. # Order allow,deny Allow from all # # UserDir: The name of the directory which is appended onto a user's home # directory if a ~user request is received. # UserDir public_html # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # # # AllowOverride FileInfo AuthConfig Limit # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec # # Order allow,deny # Allow from all # # # Order deny,allow # Deny from all # # ### In Order for FrontPage to work in User and Virtual ### ### Web Directories, they need to be set up as shown: ### AllowOverride AuthConfig Limit Indexes Options Options ExecCGI # # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # DirectoryIndex index.html # # AccessFileName: The name of the file to look for in each directory # for access control information. # AccessFileName .htaccess # # The following lines prevent .htaccess files from being viewed by # Web clients. Since .htaccess files often contain authorization # information, access is disallowed for security reasons. Comment # these lines out if you want Web visitors to see the contents of # .htaccess files. If you change the AccessFileName directive above, # be sure to make the corresponding changes here. # Order allow,deny Deny from all # # CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each # document that was negotiated on the basis of content. This asks proxy # servers not to cache the document. Uncommenting the following line disables # this behavior, and proxies will be allowed to cache the documents. # #CacheNegotiatedDocs # # UseCanonicalName: (new for 1.3) With this setting turned on, whenever # Apache needs to construct a self-referencing URL (a URL that refers back # to the server the response is coming from) it will use ServerName and # Port to form a "canonical" name. With this setting off, Apache will # use the hostname:port that the client supplied, when possible. This # also affects SERVER_NAME and SERVER_PORT in CGI scripts. # UseCanonicalName On # # TypesConfig describes where the mime.types file (or equivalent) is # to be found. # TypesConfig /usr/local/etc/apache/mime.types # # DefaultType is the default MIME type the server will use for a document # if it cannot otherwise determine one, such as from filename extensions. # If your server contains mostly text or HTML documents, "text/plain" is # a good value. If most of your content is binary, such as applications # or images, you may want to use "application/octet-stream" instead to # keep browsers from trying to display binary files as though they are # text. # DefaultType text/plain # # The mod_mime_magic module allows the server to use various hints from the # contents of the file itself to determine its type. The MIMEMagicFile # directive tells the module where the hint definitions are located. # mod_mime_magic is not part of the default server (you have to add # it yourself with a LoadModule [see the DSO paragraph in the 'Global # Environment' section], or recompile the server and include mod_mime_magic # as part of the configuration), so it's enclosed in an container. # This means that the MIMEMagicFile directive will only be processed if the # module is part of the server. # MIMEMagicFile /usr/local/etc/apache/magic # # HostnameLookups: Log the names of clients or just their IP addresses # e.g., www.apache.org (on) or 204.62.129.132 (off). # The default is off because it'd be overall better for the net if people # had to knowingly turn this feature on, since enabling it means that # each client request will result in AT LEAST one lookup request to the # nameserver. # HostnameLookups Off # # ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a # container, error messages relating to that virtual host will be # logged here. If you *do* define an error logfile for a # container, that host's errors will be logged there and not here. # ErrorLog /var/log/httpd-error.log # # LogLevel: Control the number of messages logged to the error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # LogLevel warn # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent # # The location and format of the access logfile (Common Logfile Format). # If you do not define any access logfiles within a # container, they will be logged here. Contrariwise, if you *do* # define per- access logfiles, transactions will be # logged therein and *not* in this file. # #CustomLog /var/log/httpd-access.log common # # If you would like to have agent and referer logfiles, uncomment the # following directives. # #CustomLog /var/log/httpd-referer.log referer #CustomLog /var/log/httpd-agent.log agent # # If you prefer a single logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # CustomLog /var/log/httpd-access.log combined # # Optionally add a line containing the server version and virtual host # name to server-generated pages (error documents, FTP directory listings, # mod_status and mod_info output etc., but not CGI generated documents). # Set to "EMail" to also include a mailto: link to the ServerAdmin. # Set to one of: On | Off | EMail # ServerSignature On # # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # # Note that if you include a trailing / on fakename then the server will # require it to be present in the URL. So "/icons" isn't aliased in this # example, only "/icons/".. # Alias /icons/ "/usr/local/www/icons/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" # # "/usr/local/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride None Options None Order allow,deny Allow from all # # Redirect allows you to tell clients about documents which used to exist in # your server's namespace, but do not anymore. This allows you to tell the # clients where to look for the relocated document. # Format: Redirect old-URI new-URL # # # Directives controlling the display of server-generated directory listings. # # # FancyIndexing is whether you want fancy directory indexing or standard # IndexOptions FancyIndexing # # AddIcon* directives tell the server which icon to show for different # files or filename extensions. These are only displayed for # FancyIndexed directories. # AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ # # DefaultIcon is which icon to show for files which do not have an icon # explicitly set. # DefaultIcon /icons/unknown.gif # # AddDescription allows you to place a short description after a file in # server-generated indexes. These are only displayed for FancyIndexed # directories. # Format: AddDescription "description" filename # #AddDescription "GZIP compressed document" .gz #AddDescription "tar archive" .tar #AddDescription "GZIP compressed tar archive" .tgz # # ReadmeName is the name of the README file the server will look for by # default, and append to directory listings. # # HeaderName is the name of a file which should be prepended to # directory indexes. # # The server will first look for name.html and include it if found. # If name.html doesn't exist, the server will then look for name.txt # and include it as plaintext if found. # ReadmeName README HeaderName HEADER # # IndexIgnore is a set of filenames which directory indexing should ignore # and not include in the listing. Shell-style wildcarding is permitted. # IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t # # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress # information on the fly. Note: Not all browsers support this. # Despite the name similarity, the following Add* directives have nothing # to do with the FancyIndexing customization directives above. # AddEncoding x-compress Z AddEncoding x-gzip gz # # AddLanguage allows you to specify the language of a document. You can # then use content negotiation to give a browser a file in a language # it can understand. Note that the suffix does not have to be the same # as the language keyword --- those with documents in Polish (whose # net-standard language code is pl) may wish to use "AddLanguage pl .po" # to avoid the ambiguity with the common suffix for perl scripts. # AddLanguage en .en AddLanguage fr .fr AddLanguage de .de AddLanguage da .da AddLanguage el .el AddLanguage it .it # # LanguagePriority allows you to give precedence to some languages # in case of a tie during content negotiation. # Just list the languages in decreasing order of preference. # LanguagePriority en fr de # # AddType allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # # For example, the PHP3 module (not part of the Apache distribution - see # http://www.php.net) will typically use: # #AddType application/x-httpd-php3 .php3 #AddType application/x-httpd-php3-source .phps # # AddHandler allows you to map certain file extensions to "handlers", # actions unrelated to filetype. These can be either built into the server # or added with the Action command (see below) # # If you want to use server side includes, or CGI outside # ScriptAliased directories, uncomment the following lines. # # To use CGI scripts: # #AddHandler cgi-script .cgi # # To use server-parsed HTML files # #AddType text/html .shtml #AddHandler server-parsed .shtml # # Uncomment the following line to enable Apache's send-asis HTTP file # feature # #AddHandler send-as-is asis # # If you wish to use server-parsed imagemap files, use # #AddHandler imap-file map # # To enable type maps, you might want to use # #AddHandler type-map var # # Action lets you define media types that will execute a script whenever # a matching file is called. This eliminates the need for repeated URL # pathnames for oft-used CGI file processors. # Format: Action media/type /cgi-script/location # Format: Action handler-name /cgi-script/location # # # MetaDir: specifies the name of the directory in which Apache can find # meta information files. These files contain additional HTTP headers # to include when sending the document # #MetaDir .web # # MetaSuffix: specifies the file name suffix for the file containing the # meta information. # #MetaSuffix .meta # # Customizable error response (Apache style) # these come in three flavors # # 1) plain text #ErrorDocument 500 "The server made a boo boo. # n.b. the (") marks it as text, it does not get output # # 2) local redirects #ErrorDocument 404 /missing.html # to redirect to local URL /missing.html #ErrorDocument 404 /cgi-bin/missing_handler.pl # N.B.: You can redirect to a script or a document using server-side-includes. # # 3) external redirects #ErrorDocument 402 http://some.other_server.com/subscription_info.html # N.B.: Many of the environment variables associated with the original # request will *not* be available to such a script. # # The following directives modify normal HTTP response behavior. # The first directive disables keepalive for Netscape 2.x and browsers that # spoof it. There are known problems with these browser implementations. # The second directive is for Microsoft Internet Explorer 4.0b2 # which has a broken HTTP/1.1 implementation and does not properly # support keepalive when it is used on 301 or 302 (redirect) responses. # BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 # # The following directive disables HTTP/1.1 responses to browsers which # are in violation of the HTTP/1.0 spec by not being able to grok a # basic 1.1 response. # BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 # # Allow server status reports, with the URL of http://servername/server-status # Change the ".your_domain.com" to match your domain to enable. # # # SetHandler server-status # Order deny,allow # Deny from all # Allow from .your_domain.com # # # Allow remote server configuration reports, with the URL of # http://servername/server-info (requires that mod_info.c be loaded). # Change the ".your_domain.com" to match your domain to enable. # # # SetHandler server-info # Order deny,allow # Deny from all # Allow from .your_domain.com # # # There have been reports of people trying to abuse an old bug from pre-1.1 # days. This bug involved a CGI script distributed as a part of Apache. # By uncommenting these lines you can redirect these attacks to a logging # script on phf.apache.org. Or, you can record them yourself, using the script # support/phf_abuse_log.cgi. # # # Deny from all # ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi # # # Proxy Server directives. Uncomment the following lines to # enable the proxy server: # # #ProxyRequests On # # # Order deny,allow # Deny from all # Allow from .your_domain.com # # # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) # Set to one of: Off | On | Full | Block # #ProxyVia On # # To enable the cache as well, edit and uncomment the following lines: # (no cacheing without CacheRoot) # #CacheRoot "/usr/local/www/proxy" #CacheSize 5 #CacheGcInterval 4 #CacheMaxExpire 24 #CacheLastModifiedFactor 0.1 #CacheDefaultExpire 1 #NoCache a_domain.com another_domain.edu joes.garage_sale.com # # End of proxy directives. ### Section 3: Virtual Hosts # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. # Please see the documentation at # for further details before you try to setup virtual hosts. # You may use the command line option '-S' to verify your virtual host # configuration. # # If you want to use name-based virtual hosts you need to define at # least one IP address (and port number) for them. # #NameVirtualHost 209.98.119.195:80 {comment: taken back out after not working anyways) #NameVirtualHost 12.34.56.78 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # ServerAdmin admin@canadian-links.com DocumentRoot /usr/local/www/data/links-canada ServerName www.candian-links.com ErrorLog logs/error_log CustomLog logs/access_log common # # jcptch@osfmail.isc.rit.edu wrote: > > On Sun, Jul 04, 1999 at 03:31:20PM -0400, Paul Stewart wrote: > > > Someone correct me if I'm wrong but I shouldn't even need to have > > uncommented the NameVirtualHost entries anyways as I"m using IP based > > virtual hosts.. versus named based sharing the same IP... > > Right, name virtual hosts require the IP address to be define in a > NameVirtualHost directive and subsequent blocks require > an actual FQDN (as opposed to IP address) to work correctly. > > I'm assuming, then, that this server has two IP addresses bound to > it, the server's primary one and the second one you are trying to set > up as a VirtualHost? The behavior you're describing is indicative of > tryng to use the same IP address for both. Maybe you have them mixed > up? > > -- > Jon Parise (parise@pobox.com) . Rochester Inst. of Technology > http://www.pobox.com/~parise/ : Computer Science House Member > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message -- --- Paul Stewart Premier Networks (705)740-0442 voice (705)740-0443 fax http://www.premier-networks.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Jul 4 13:58:29 1999 Delivered-To: freebsd-isp@freebsd.org Received: from mothership.hostresource.com (unknown [216.37.30.11]) by hub.freebsd.org (Postfix) with ESMTP id 4554914FC8 for ; Sun, 4 Jul 1999 13:57:57 -0700 (PDT) (envelope-from angrick@netdirect.net) Received: from angrick (p40-term3-in.netdirect.net [209.212.203.168]) by mothership.hostresource.com (8.8.8/8.8.8) with SMTP id PAA17232; Sun, 4 Jul 1999 15:54:06 -0500 (EST) (envelope-from angrick@netdirect.net) From: "andy angrick" To: "Paul Stewart" Cc: "freebsd-isp" Subject: RE: Frustrated Apache Error Date: Sun, 4 Jul 1999 15:39:18 -0500 Message-ID: <000c01bec65d$49934900$3701a8c0@angrick.infostrm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 In-Reply-To: <377FBD45.35782027@premier-networks.com> Importance: Normal Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It could be freaking out because you don't have anything specified for the default. Maybe try either using the virtualhost default section with a different IP address or maybe even use the Listen directive with that other IP address. It could be complaining because you're telling it to do IP based vhost but there is only one IP address that it knows of. Since no other IP address is specified in the config file its probably using that same IP address for the default. Worth a try anyway :) > -----Original Message----- > From: owner-freebsd-isp@FreeBSD.ORG > [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Paul Stewart > Sent: Sunday, July 04, 1999 3:00 PM > To: jcptch@osfmail.isc.rit.edu > Cc: freebsd-isp@FreeBSD.ORG > Subject: Re: Frustrated Apache Error > > > Actually... there will be 7 or 8 hosts setup today on this server... > > The first host is the default host.. www.premier-hosting.com > > Then we have about another 6 or 7 virtual hosts to add.. the default > host works fine but the virtual hosts are causing the problems.. it's > almost as if the httpd.conf is missing a line or something... > > Here's my httpd.conf file... sorry that it's so long.... > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Wed Jul 7 18:42:49 1999 Delivered-To: freebsd-isp@freebsd.org Received: from mail.prophetnetworks.net (mail.prophetnetworks.net [63.71.252.9]) by hub.freebsd.org (Postfix) with ESMTP id 27CAF14D75 for ; Wed, 7 Jul 1999 18:42:44 -0700 (PDT) (envelope-from bvaughn@prophetnetworks.net) Received: from shell01.prophetnetworks.net (bvaughn@shell01.prophetnetworks.net [63.71.252.10]) by mail.prophetnetworks.net (8.9.3/8.9.1) with ESMTP id UAA04799 for ; Wed, 7 Jul 1999 20:46:43 -0500 (EST) (envelope-from bvaughn@prophetnetworks.net) Date: Wed, 7 Jul 1999 20:42:40 -0500 (EST) From: Ben Vaughn To: isp@freebsd.org Subject: NIS and 'passwd' on client machines Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I have an NIS setup using ypserv and yppasswdd on my server machine, and ypbind on my client machine. I was wondering how (if it's possible at all) I would make it so users on the client machine can change their passwords on the machine and have the changes reflected in the nis map on the server. Does anybody have a clue as to how one would do this? Thanks in advance, Ben Vaughn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Wed Jul 7 20:57:36 1999 Delivered-To: freebsd-isp@freebsd.org Received: from velvet.sensation.net.au (serial0-velvet.Brunswick.sensation.net.au [203.20.114.195]) by hub.freebsd.org (Postfix) with ESMTP id 4040414C14 for ; Wed, 7 Jul 1999 20:57:20 -0700 (PDT) (envelope-from rowan@sensation.net.au) Received: from localhost (rowan@localhost) by velvet.sensation.net.au (8.8.8/8.8.8) with SMTP id NAA02959 for ; Thu, 8 Jul 1999 13:57:25 +1000 (EST) (envelope-from rowan@sensation.net.au) X-Authentication-Warning: velvet.sensation.net.au: rowan owned process doing -bs Date: Thu, 8 Jul 1999 13:57:25 +1000 (EST) From: Rowan Crowe To: freebsd-isp@freebsd.org Subject: Re: NIS and 'passwd' on client machines In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 7 Jul 1999, Ben Vaughn wrote: > I have an NIS setup using ypserv and yppasswdd on my server > machine, and ypbind on my client machine. I was wondering how (if it's > possible at all) I would make it so users on the client machine can change > their passwords on the machine and have the changes reflected in the nis > map on the server. Does anybody have a clue as to how one would do this? Run rpc.yppasswd on the server machine. passwd on the client machine(s) will detect this and use it appropriately with no further configuration required. Cheers. -- Rowan Crowe http://www.rowan.sensation.net.au/ Sensation Internet Services http://www.sensation.net.au/ Melbourne, Australia Phone: +61-3-9388-9260 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Thu Jul 8 14: 7:53 1999 Delivered-To: freebsd-isp@freebsd.org Received: from troi.csw.net (troi.csw.net [209.136.192.23]) by hub.freebsd.org (Postfix) with ESMTP id 23DA014FF9 for ; Thu, 8 Jul 1999 14:07:42 -0700 (PDT) (envelope-from lambert@cswnet.com) Received: from ssaos2.csw.net (ssaos2.csw.net [209.136.201.13]) by troi.csw.net (8.9.3/8.9.3) with SMTP id QAA87249 for ; Thu, 8 Jul 1999 16:07:41 -0500 (CDT) (envelope-from lambert@cswnet.com) Message-Id: <199907082107.QAA87249@troi.csw.net> From: lambert@cswnet.com Date: Thu, 08 Jul 1999 15:47:34 -0500 To: freebsd-isp@freebsd.org Subject: Web based address book /rolodex type programs X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v1.60 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Does anybody know of a web based address book / rolodex / PIM type of application which would allow my customers to maintain and access their data from any web browser. It needs to run on FreeBSD 3.2-STABLE of course. I know about Joydesk but am looking for other options as well. -- Scott Lambert lambert@cswnet.com Systems and Security Administrator CSW Net, Inc. ================================================================ Written: Thursday, July 08, 1999 - 03:47 PM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jul 9 16:14:10 1999 Delivered-To: freebsd-isp@freebsd.org Received: from mail.prophetnetworks.net (mail.prophetnetworks.net [63.71.252.9]) by hub.freebsd.org (Postfix) with ESMTP id 9DF1714D9E for ; Fri, 9 Jul 1999 16:13:58 -0700 (PDT) (envelope-from bvaughn@prophetnetworks.net) Received: from workstation01 (gallium.noc.prophetnetworks.net [63.71.252.5]) by mail.prophetnetworks.net (8.9.3/8.9.1) with SMTP id SAA76521 for ; Fri, 9 Jul 1999 18:17:52 -0500 (EST) (envelope-from bvaughn@prophetnetworks.net) Message-ID: <000b01beca61$063f4200$05fc473f@prophetnetworks.net> From: "Ben Vaughn" To: Subject: NIS Master and non-split passwd files Date: Fri, 9 Jul 1999 18:15:59 -0500 Organization: Prophet Network Systems MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0007_01BECA37.1A1A5D20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0007_01BECA37.1A1A5D20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hello again, I just noticed that since I am using a /var/yp/master.passwd file, when adding users I have to adduser on the master and then copy the entry over to the /var/yp/master.passwd file. Does anyone know of how to keep these files in sync with each other? I know its not advisable to make nis use /etc/master.passwd, so I am avoiding that situation. If anyone knows of a way to use /etc/master.passwd while stripping anything ; Fri, 9 Jul 1999 16:55:36 -0700 (PDT) (envelope-from khetan@link.freebsd.os.org.za) X-Disclaimer: Contents of this e-mail are the writer's opinion X-Disclaimer2: and may not be quoted, re-produced or forwarded X-Disclaimer3: (in part or whole) without the author's permission. Received: from localhost (khetan@localhost) by pleb.cs.uct.ac.za (8.9.3/8.9.3) with SMTP id BAA23797; Sat, 10 Jul 1999 01:55:23 +0200 (SAT) (envelope-from khetan@link.freebsd.os.org.za) Date: Sat, 10 Jul 1999 01:55:22 +0200 (SAT) From: Khetan Gajjar X-Sender: khetan@pleb.cs.uct.ac.za Reply-To: Khetan Gajjar To: lambert@cswnet.com Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Web based address book /rolodex type programs In-Reply-To: <199907082107.QAA87249@troi.csw.net> Message-ID: X-Mobile: +27 82 9907663 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 8 Jul 1999 lambert@cswnet.com wrote: >Does anybody know of a web based address book / rolodex / PIM type of >application which would allow my customers to maintain and access >their data from any web browser. It needs to run on FreeBSD >3.2-STABLE of course. I found this; not sure if it's what you're looking for http://www.in-berlin.de/User/bitrot/plan.html --- Khetan Gajjar (!kg1779) * khetan@iafrica.com ; khetan@os.org.za http://www.os.org.za/~khetan * Talk/Finger khetan@chain.freebsd.os.org.za FreeBSD enthusiast * http://www2.za.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jul 9 18:45: 9 1999 Delivered-To: freebsd-isp@freebsd.org Received: from velvet.sensation.net.au (serial0-velvet.Brunswick.sensation.net.au [203.20.114.195]) by hub.freebsd.org (Postfix) with ESMTP id D29BD14FE6 for ; Fri, 9 Jul 1999 18:44:49 -0700 (PDT) (envelope-from rowan@sensation.net.au) Received: from localhost (rowan@localhost) by velvet.sensation.net.au (8.8.8/8.8.8) with SMTP id LAA15672 for ; Sat, 10 Jul 1999 11:44:53 +1000 (EST) (envelope-from rowan@sensation.net.au) X-Authentication-Warning: velvet.sensation.net.au: rowan owned process doing -bs Date: Sat, 10 Jul 1999 11:44:53 +1000 (EST) From: Rowan Crowe To: freebsd-isp@freebsd.org Subject: Re: NIS Master and non-split passwd files In-Reply-To: <000b01beca61$063f4200$05fc473f@prophetnetworks.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 9 Jul 1999, Ben Vaughn wrote: > I just noticed that since I am using a /var/yp/master.passwd file, when > adding users I have to adduser on the master and then copy the entry over to > the /var/yp/master.passwd file. Does anyone know of how to keep these files > in sync with each other? I know its not advisable to make nis use > /etc/master.passwd, so I am avoiding that situation. If anyone knows of a > way to use /etc/master.passwd while stripping anything also be nice. I'm working on something like this at the moment. It will either use a hacked 'pw' or a chrooted environment, as 'pw' has /etc/ hard coded as the directory that the password files are stored in. For now I'm doing the same as you, adduser, copy the master.passwd entry over to the NIS master password file, delete the entry from master.passwd, run make to propagate changes out. I also have to choose the UID manually to make sure I'm not duplicating it. This method is fine but it gets a little tedious... FWIW, I use NIS over 2 machines with each one having a 0-999 UID range for local accounts which don't need to/shouldn't be shared. Each master.passwd has a '+:::::::::' entry at the end for everything else. Both machines run ypserv with one of them a master and one a slave - VERY handy if the master dies, as the slave/client won't freeze up trying to authenticate. Cheers. -- Rowan Crowe http://www.rowan.sensation.net.au/ Sensation Internet Services http://www.sensation.net.au/ Melbourne, Australia Phone: +61-3-9388-9260 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jul 9 20:16:28 1999 Delivered-To: freebsd-isp@freebsd.org Received: from mail.nfol.com (unknown [209.177.34.120]) by hub.freebsd.org (Postfix) with ESMTP id 6E51E151DF for ; Fri, 9 Jul 1999 20:16:08 -0700 (PDT) (envelope-from dan@nfol.com) Received: by mail.nfol.com (Postfix, from userid 1000) id 8F70572501; Fri, 9 Jul 1999 23:07:56 -0400 (EDT) Subject: Re: NIS Master and non-split passwd files In-Reply-To: <000b01beca61$063f4200$05fc473f@prophetnetworks.net> from Ben Vaughn at "Jul 9, 1999 6:15:59 pm" To: freebsd-isp@freebsd.org Date: Fri, 9 Jul 1999 23:07:56 -0400 (EDT) Reply-To: freebsd-isp@freebsd.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1078 Message-Id: <19990710030756.8F70572501@mail.nfol.com> From: dan@nfol.com (Dan Harnett) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, The 'pw' program already has the capability to keep /etc/master.passwd in sync with a NIS one. You can also restrict pw to the range of UIDs that it may use. To make this easier, you can create an /etc/pw.conf file that looks something like this: nispasswd=/var/yp/master.passwd reuseuids=yes minuid=1000 maxuid=65533 home=/home Also when pw is run with the -Y option, it will also run make on /var/yp/Makefile. For more information see the man pages for 'pw' and 'pw.conf'. Dan Harnett (dan@nfol.com) > Hello again, > I just noticed that since I am using a /var/yp/master.passwd file, when > adding users I have to adduser on the master and then copy the entry over to > the /var/yp/master.passwd file. Does anyone know of how to keep these files > in sync with each other? I know its not advisable to make nis use > /etc/master.passwd, so I am avoiding that situation. If anyone knows of a > way to use /etc/master.passwd while stripping anything also be nice. > > Thanks in advance (and for the previous help!), > Ben Vaughn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Jul 9 23:36:53 1999 Delivered-To: freebsd-isp@freebsd.org Received: from xenetserver.harz.de (xenetserver.harz.de [193.159.181.125]) by hub.freebsd.org (Postfix) with ESMTP id 7601415196 for ; Fri, 9 Jul 1999 23:36:50 -0700 (PDT) (envelope-from Matthias.Meyser@harz.de) Received: (from matthias@localhost) by xenetserver.harz.de (8.9.1/8.9.1) id IAA11825; Sat, 10 Jul 1999 08:36:48 +0200 (CEST) Message-ID: <19990710083629.A11798@xenetserver.harz.de> Date: Sat, 10 Jul 1999 08:36:29 +0200 From: Matthias Meyser To: Ben Vaughn , freebsd-isp@FreeBSD.ORG Subject: Re: NIS Master and non-split passwd files References: <000b01beca61$063f4200$05fc473f@prophetnetworks.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <000b01beca61$063f4200$05fc473f@prophetnetworks.net>; from Ben Vaughn on Fri, Jul 09, 1999 at 06:15:59PM -0500 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi On Fri, Jul 09, 1999 at 06:15:59PM -0500, Ben Vaughn wrote: > Hello again, > I just noticed that since I am using a /var/yp/master.passwd file, when > adding users I have to adduser on the master and then copy the entry over to > the /var/yp/master.passwd file. Does anyone know of how to keep these files > in sync with each other? I know its not advisable to make nis use > /etc/master.passwd, so I am avoiding that situation. If anyone knows of a > way to use /etc/master.passwd while stripping anything also be nice. Just configure your nisserver as a nisclient too. (Put a "+:::::::" in /etc/passwd /master.passwd....) then put all local UIDS in /etc/master.passwd and all net uids to /var/yp/master.passwd this works here just fine. CU matthias -- \\ // N N EEE TTT Matthias Meyser, Meyser@harz.de \\ // eee NN N E T Gesellschaft fuer Informations- und \X/ e e N N N EE T Kommunikationssysteme mbH // \\ e ee N NN E T 38678 Clausthal-Zellerfeld, Burgstaetter Strasse 6 // \\ eeee N N EEE T Telefon: +49-5323-94018 Fax: +49-5323-94011 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message