[Herefordshire] Apache Versions
Mark Broadbent
markb at wetlettuce.com
Sun Oct 31 16:27:34 GMT 2004
Hi Gary,
On Sun, 2004-10-31 at 15:04, Gary Watts wrote:
> I put /usr/local/apache2/bin at the front of the path in /etc/.bash_profile
> and now when I type httpd -v I get the right version. httpd service seems
> to have started OK, presumably with the right version now (although I don't
> know how I can tell just by looking at the default page at http://localhost)
You can do it through telnet if you need make sure:
# telnet localhost 80
Type the following in:
GET / HTTP/1.0
After the 0 press return twice and then look for a line near the top of
the response starting with 'Server:'
Thanks
Mark
> -----Original Message-----
> From: herefordshire-bounces at mailman.lug.org.uk
> [mailto:herefordshire-bounces at mailman.lug.org.uk]On Behalf Of Mark
> Broadbent
> Sent: 31 October 2004 14:24
> To: gwatts at cmconsultancy.co.uk; Herefordshire Linux Users Group.
> Subject: RE: [Herefordshire] Apache Versions
>
>
> Hi Gary,
>
> On Sun, 2004-10-31 at 12:14, Gary Watts wrote:
> > 2.0.49 was installed on te system as part of the Fedora Core 2 distro,
> > but I couldn't upgrade it to 2.0.52 (or rather I didn't know how to).
> > I ran rpm -e httpd-2.0.49 to get rid of it but then I didn't have a
> > web server at all. I think I got round the problem in the end by
> > using Webmin (as suggested by Julian), so then at least I could point
> > the system to /usr/local/apache2, which is where 2.0.52 is installed.
> >
> > I reinstalled 2.0.49 from the distro, just to get a web server running
> > again, so now when I type httpd -v I get 2.0.49, even though Webmin
> > says I'm on 2.0.52.
>
> If you /usr/local/apache2/bin/apache -v it will get 2.0.52. It's either
> because /usr/local/apache2/bin isn't in your path or it appears after
> /usr/bin in the path variable so 2.0.49 gets picked up first.
>
> > So, how do I get rid of 2.0.49 in favour of 2.0.52?
>
> See:
>
> http://www.fedoraforum.org/forum/archive/index.php/t-25462.html
>
> Someone has asked almost the same question here.
>
> Thanks
> Mark
>
> > -----Original Message-----
> > From: herefordshire-bounces at mailman.lug.org.uk
> > [mailto:herefordshire-bounces at mailman.lug.org.uk]On Behalf Of
> > Mark Broadbent
> > Sent: 30 October 2004 12:52
> > To: herefordshire at mailman.lug.org.uk
> > Subject: Re: [Herefordshire] Apache Versions
> >
> >
> > On Fri, 2004-10-29 at 23:50 +0100, Gary Watts wrote:
> > > Good evening all
> > >
> > > I've just spent some considerable time installing Apache 2.0.52
> by following
> > > the instructions on www.developerside.net. It all seemed to go
> through OK,
> > > but when I type httpd -v I'm told it's still running 2.0.49!
> I've set my
> > > doc_root to /usr/local/apache2/htdocs, but of course 2.0.49
> still treats
> > > /var/www/html as the doc_root, so if I create a test file in
> > > /usr/local/apache2/htdocs and point my browser to localhost it
> doesn't find
> > > it.
> > >
> > > Any ideas?
> > Daft question, but you don't have Apache 2.0.49 installed on
> > your machine already do you? Type:
> >
> > # whereis httpd
> >
> > and that should tell you where all the httpd executables are.
> > You should be able to locate the older version. Alternatively
> > you could use you package manager to search for installed
> > versions of apache.
> >
> > # rpm -qa | grep -E 'httpd|apache'
> >
> > Thanks
> > Mark
> >
> > --
> > Mark Broadbent <markb at wetlettuce.com>
> >
> >
> > ______________________________________________________________________
> > _______________________________________________
> > Herefordshire mailing list
> > Herefordshire at mailman.lug.org.uk
> > http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>
>
> _______________________________________________
> Herefordshire mailing list
> Herefordshire at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>
>
>
> _______________________________________________
> Herefordshire mailing list
> Herefordshire at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/herefordshire
>
More information about the Herefordshire
mailing list