• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Question for the Experts: In Apache2 on Linux how to find the apache version ?

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Question for the Experts: In Apache2 on Linux how to find the apache version ?

    Afternoon All,

    I'm back on the enabling external access to .net systems and configuring a proxy.


    Apache2 on Linux


    how can I find the version of apache2 ?

    On normal apache, it's httpd -v

    but this apache2 doesn't seem to have a bin directory, or a httpd file


    Anyone got any ideas please

    Thanks,

    Milan.

    #2
    Apache2. The clue is in the name.
    Hard Brexit now!
    #prayfornodeal

    Comment


      #3
      Originally posted by milanbenes View Post
      Anyone got any ideas please
      Try posting in Technical.

      HTH
      ǝןqqıʍ

      Comment


        #4
        milan,

        You have been posting on CUK for several millenia now, as you have reminded us in the past. Has it not dawned on you yet that there is a specific forum for technical questions?

        FAQQ
        Best Forum Advisor 2014
        Work in the public sector? You can read my FAQ here
        Click here to get 15% off your first year's IPSE membership

        Comment


          #5
          httpd should be in

          /usr/sbin

          but depends on the distro.

          Are any logs files present? Is it running?

          The conf file should be here;

          /etc/httpd/conf/httpd.conf
          Me, me, me...

          Comment


            #6
            Telnet to the server and type
            Code:
            HEAD / HTTP/1.0
            Don't know why you don't have a bin directory, though - I would expect it to be in /usr/local/apache if you can't find it elsewhere.

            What does
            Code:
            ps -ef | grep httpd
            tell you - that should tell you where the httpd file is running from.
            Best Forum Advisor 2014
            Work in the public sector? You can read my FAQ here
            Click here to get 15% off your first year's IPSE membership

            Comment


              #7
              Try apachectl status or apachectl fullstatus not sure if it reports the version tho...

              Comment


                #8
                From root:

                /usr/local/apache/conf apache2 -v
                Brexit is having a wee in the middle of the room at a house party because nobody is talking to you, and then complaining about the smell.

                Comment


                  #9
                  Why not just type a wrong address in.

                  The server will give you the version number in the 404 page it sends back if you've no custom 404 page.

                  Comment


                    #10
                    which httpd at the command prompt should give you the path to the executable.

                    Comment

                    Working...
                    X