[98284] in RedHat Linux List
RE: Apache?
daemon@ATHENA.MIT.EDU (Randy Carpenter)
Sat Nov 7 22:41:49 1998
Date: Sat, 7 Nov 1998 22:41:08 -0500 (EST)
From: Randy Carpenter <rcarpen@celt.network1.net>
To: Randy Carpenter <redhat-list@redhat.com>
In-Reply-To: <199811080336.WAA08315@smtp3.erols.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
This is the RedHat installed httpd.conf file, with my added virtual host
directives at the bottom. There never were LogFormat directives in 1.2.x,
so this was added for 1.3.
--------------------------------------------------------------------
Randy Carpenter - UNIX Systems Admin First Network Group
rcarpen@celt.network1.net Wapakoneta, OH
--------------------------------------------------------------------
On Sat, 7 Nov 1998, Charles Galpin wrote:
> Date: Sat, 7 Nov 1998 22:33:51 -0500
> From: Charles Galpin <cgalpin@lighthouse-software.com>
> Reply-To: redhat-list@redhat.com
> To: Randy Carpenter <redhat-list@redhat.com>
> Subject: RE: Apache?
> Resent-Date: 8 Nov 1998 03:50:58 -0000
> Resent-From: redhat-list@redhat.com
> Resent-cc: recipient list not shown: ;
>
> not necessarily. it may just mean that it gets further along parsing now,
> and sees the next problem.
>
> It sounds like you kept your old conf files. I would take a closer look at
> that line, and see if it conforms to the format used in the 1.3 version.
>
> When I ported mine, I opened up emacs with 2 windows and methodically
> scrolled down each, making the necessary changes. It really did not take
> that long, and I was guaranteed that whatever I had not modified myself,
> would be correct.
>
> Also the error message is quite clear. make sure it is
> LogFormat "a string escaping any \" that are nested" optional_format_name
>
> hth
> charles
>
> ===== Original Message from Randy Carpenter <redhat-list@redhat.com> at
> 11/07/98 10:27 pm
> >Ok... I made sure to add the NameVirtualHost directive which was not in
> >1.2.x. i get this error mesage:
> >
> >Starting httpd: httpd Syntax error on line 159 of
> >/etc/httpd/conf/httpd.conf:
> >LogFormat takes 1-2 arguments, a log format string (see docs) and an
> >optional format name
> >
> >I did not change anything with LogFormat, so I would assume this is a
> >misconfiguration on Red Hat's part. Whats the deal?
> >
> >--------------------------------------------------------------------
> >Randy Carpenter - UNIX Systems Admin First Network Group
> >rcarpen@celt.network1.net Wapakoneta, OH
> >--------------------------------------------------------------------
> >
> >On Sat, 7 Nov 1998, Charles Galpin wrote:
> >
> >> Date: Sat, 7 Nov 1998 22:10:46 -0500
> >> From: Charles Galpin <cgalpin@lighthouse-software.com>
> >> Reply-To: redhat-list@redhat.com
> >> To: Randy Carpenter <redhat-list@redhat.com>
> >> Subject: RE: Apache?
> >> Resent-Date: 8 Nov 1998 03:27:50 -0000
> >> Resent-From: redhat-list@redhat.com
> >> Resent-cc: recipient list not shown: ;
> >>
> >> They work just fine in 1.3
> >>
> >> see if any of these settings differ from my old 1.3 conf
> >> <httpd.conf>
> >>
> >> ServerType standalone
> >>
> >> #BindAddress *
> >>
> >> #Listen 3000
> >> #Listen 12.34.56.78:80
> >>
> >> NameVirtualHost 123.456.78.9
> >>
> >> #
> >> # dom1.com
> >> #
> >> <VirtualHost 123.456.78.9>
> >> ServerAdmin webmaster@dom1.com
> >> DocumentRoot c:/dev/webdocs/dom1
> >> ServerName www.dom1.com
> >> ServerAlias www.dom1.com dom1.com *.dom1.com
> >> ErrorLog logs/www.dom1.com-error.log
> >> TransferLog logs/www.dom2.com-access.log
> >> </VirtualHost>
> >>
> >> #
> >> # dom2.com
> >> #
> >> <VirtualHost 123.456.78.9>
> >> ServerAdmin webmaster@dom2.com
> >> DocumentRoot c:/dev/webdocs/dom2
> >> ServerName www.dom2.com
> >> ServerAlias www.dom2.com dom2.com *.dom2.com
> >> ErrorLog logs/www.dom2.com-error.log
> >> TransferLog logs/www.dom2.com-access.log
> >> </VirtualHost>
> >>
> >>
> >> </httpd.conf>
> >>
> >> yes, comanche blows in my opinion.
> >>
> >> hth
> >> charles
> >>
> >> ===== Original Message from Randy Carpenter <redhat-list@redhat.com> at
> >> 11/07/98 9:56 pm
> >> >I need virtual hosts to work... 1.3 says it cannot bind addresses because
> >> >they are already used... (Duh! I am using a single IP for multiple
> >> >virtuals! :) ) On another note.. it seems the comanche utility is
> >> >seriously broken.. I tried to use it, but when you 'add' a virtual,
> >> >nothing is put into the config file...
> >> >
> >> >--------------------------------------------------------------------
> >> >Randy Carpenter - UNIX Systems Admin First Network Group
> >> >rcarpen@celt.network1.net Wapakoneta, OH
> >> >--------------------------------------------------------------------
> >>
> >> -- Charles Galpin <cgalpin@lighthouse-software.com>
> >>
> >>
> >> --
> >> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> >> http://www.redhat.com http://archive.redhat.com
> >> To unsubscribe: mail redhat-list-request@redhat.com with
> >> "unsubscribe" as the Subject.
> >>
> >
> >
> >--
> > PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> > http://www.redhat.com http://archive.redhat.com
> > To unsubscribe: mail redhat-list-request@redhat.com with
> > "unsubscribe" as the Subject.
>
> -- Charles Galpin <cgalpin@lighthouse-software.com>
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-list-request@redhat.com with
> "unsubscribe" as the Subject.
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.