Apache on Linux: What version am I running?
Moderator: General Moderators
Apache on Linux: What version am I running?
From console and without access to any config files how could I figure out what version of apache i'm using?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Windows or *nix? The uppercase V flag shows compile information (including version number).
Code: Select all
# C:\Apache\bin\> apache -V
Server version: Apache/2.0.49
Server built: Mar 18 2004 11:14:46
Server's Module Magic Number: 20020903:7
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="e;server/mpm/winnt"e;
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="e;/apache"e;
-D SUEXEC_BIN="e;/apache/bin/suexec"e;
-D DEFAULT_SCOREBOARD="e;logs/apache_runtime
-D DEFAULT_ERRORLOG="e;logs/error.log"e;
-D AP_TYPES_CONFIG_FILE="e;conf/mime.types"e;
-D SERVER_CONFIG_FILE="e;conf/httpd.conf"e;
# C:\Apache\bin>- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
-
thegreatone2176
- Forum Contributor
- Posts: 102
- Joined: Sun Jul 11, 2004 1:27 pm
some other ways to do this could be by getting a 404 error, http://www.netcraft.com your site, or telnet localhost 80 and see whats running on the port