0
What is the procedure to check the apache version in a sun solaris machine?httpd -v is not working
0
What is the procedure to check the apache version in a sun solaris machine?httpd -v is not working
0
Check the reply HTTP headers when connecting to a page on this server using Live HTTP Headers in Firefox (if you use Firefox).
If your not using Firefox, just search for an HTTP Header Viewer on your browser of choice.
As long as your server gives this information (which it should by default in Apache), you should see it in the header. This is the information that it COULD give you. Good Luck.
Accept this answer if it solved your problem. Thx.
1
In what way does "httpd -v" not work? Does it return an error, or something else?
You may also be able to verify the version via the Solaris packaging system e.g. try "pkginfo" - if Apache has been installed as a package.
If you know exactly which httpd executable is running (e.g. "ps alxww | grep http") then you can determine which package owns that executable via "pkgchk -l -p /absolute/path/to/httpd"
But, in my experience, "httpd -v" should "just work" for the Apache httpd executable ...
Good luck.
Robb.
Most likely because httpd is installed in a directory not in the user path. If the error is httpd: Command not found.
(as I get on Solaris), run the command with the full path to the httpd binary, such as /usr/apache2/2.2/bin/httpd -v
. – alanc – 2014-01-08T17:24:38.780
Check the reply HTTP headers when connecting to a page on this server using
Live HTTP Headers
in Firefox (if you use Firefox). If your not using Firefox, just search for an HTTP Header Viewer on your browser of choice. As long as your server gives this information (which it should by default), you should see it in the header. Good Luck. Upvote this comment if it helped. – HelpingHand – 2014-01-07T16:23:46.8131@HelpingHand: Instead of a comment, why not give an answer? – Andrew Schulman – 2014-01-07T16:54:54.947
@Andrew Schulman Good idea! Just posted it! – HelpingHand – 2014-01-07T17:23:08.280