LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Determine Apache level after upgrade (https://www.linuxquestions.org/questions/linux-software-2/determine-apache-level-after-upgrade-474870/)

Harry Seldon 08-17-2006 03:13 PM

Determine Apache level after upgrade
 
I upgraded an Apache 1.3x install to 2.2.3 on a Redhat 7.3 server. To do so, I compiled the source and just took all the defaults. The Apache 1.3x executable was in /usr/sbin so I renamed it and added a symbolic link to /usr/local/apache2/bin/httpd then restarted the http server. Everything appears to work flawlessly, i.e. websites come up and work the way they're supposed to. This seems like it was way too easy to have been successful. Is there some way to verify that I'm actually using my new Apache 2.2.3 code? I thought that at one point in time I had downloaded a webpage that I could place on a server and pull up to get info on installed mods, configuration parameters and the like but I can't seem to find it again.

Thanks!

w3bd3vil 08-17-2006 08:11 PM

do this from your server running apache
Quote:

telnet localhost 80
fsklfjdkljfslkjf <--enter anything and hit return a couple of times
you should see the apache version there!

Harry Seldon 08-18-2006 09:29 AM

Perfect! Looks like it was that easy:

[root@imageserver2vm b12837]# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
;asljdfsajdfas
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Method Not Implemented</title>
</head><body>
<h1>Method Not Implemented</h1>
<p>;asljdfsajdfas to /index.html.en not supported.<br />
</p>
<hr>
<address>Apache/2.2.3 (Unix) Server at 127.0.0.1 Port 80</address>
</body></html>
Connection closed by foreign host.


All times are GMT -5. The time now is 01:19 AM.