Apache HTTP Server

Apache HTTP Server is an open source HTTP web server for UNIX-like systems (BSD, Linux, and UNIX), Microsoft Windows, and other platforms.

DreamHost customers have only limited access to Apache settings. Certain options can be changed through the panel and .htaccess files.

DreamHost Apache Version
DreamHost currently runs several versions of the open source Apache HTTP Server. New domains do not have the option to choose the older Apache/1.3.37 version.

In the past one could determine information about the web server from the HTTP response headers through the "Server" header. However for security reasons it has been decided to set ServerTokens to "Prod" and as a result the value of this header will return only "Apache". It cannot be modified through per-directory configuration files (.htaccess) and not all machines may be affected yet.

--then-- $ curl -Is http://www.dreamhost.com |grep Server Server: Apache/1.3.37 (Unix) mod_throttle/3.1.2 DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.7 mod_ssl/2.8.22 OpenSSL/0.9.7e

--now--

$ curl -Is http://www.dreamhost.com |grep Server Server: Apache

To find the version of apache currently running, use: $ dpkg -l ndn-apache22

Apache Modules for DreamHost
This list is not verified and some of these modules are not neccessarily loaded for your server. mod_access mod_actions mod_alias mod_asis mod_auth mod_auth_anon mod_auth_dbm mod_auth_digest mod_auth_mysql mod_auth_svn mod_autoindex mod_cache mod_cband mod_cern_meta mod_cgi mod_dav mod_dav_fs mod_dav_svn mod_deflate mod_dir mod_encoding mod_env mod_expires mod_ext_filter mod_fastcgi mod_fcgid mod_headers mod_imap mod_include mod_info mod_limitipconn mod_log_config mod_log_forensic mod_logio mod_mime mod_mime_magic mod_negotiation mod_rewrite mod_security mod_setenvif mod_speling mod_ssl mod_status mod_suexec mod_unique_id mod_userdir mod_usertrack mod_vhost_alias

To determine precisely which of those modules are loaded for your server, one way is to explicitly test each. Create a temporary directory with two files, index.shtml:

and .htaccess:

 SetEnv MOD_mod_access 1   SetEnv MOD_mod_actions 1   SetEnv MOD_mod_alias 1   SetEnv MOD_mod_asis 1   SetEnv MOD_mod_auth 1   SetEnv MOD_mod_auth_anon 1   SetEnv MOD_mod_auth_dbm 1   SetEnv MOD_mod_auth_digest 1   SetEnv MOD_mod_auth_mysql 1 </IfModule>  SetEnv MOD_mod_auth_svn 1 </IfModule>  SetEnv MOD_mod_autoindex 1 </IfModule>  SetEnv MOD_mod_cache 1 </IfModule>  SetEnv MOD_mod_cband 1 </IfModule>  SetEnv MOD_mod_cern_meta 1 </IfModule>  SetEnv MOD_mod_cgi 1 </IfModule>  SetEnv MOD_mod_dav 1 </IfModule>  SetEnv MOD_mod_dav_fs 1 </IfModule>  SetEnv MOD_mod_dav_svn 1 </IfModule>  SetEnv MOD_mod_deflate 1 </IfModule>  SetEnv MOD_mod_dir 1 </IfModule>  SetEnv MOD_mod_encoding 1 </IfModule>  SetEnv MOD_mod_env 1 </IfModule>  SetEnv MOD_mod_expires 1 </IfModule>  SetEnv MOD_mod_ext_filter 1 </IfModule> <IfModule mod_fastcgi.c> SetEnv MOD_mod_fastcgi 1 </IfModule> <IfModule mod_fcgid.c> SetEnv MOD_mod_fcgid 1 </IfModule> <IfModule mod_headers.c> SetEnv MOD_mod_headers 1 </IfModule> <IfModule mod_imap.c> SetEnv MOD_mod_imap 1 </IfModule> <IfModule mod_include.c> SetEnv MOD_mod_include 1 </IfModule> <IfModule mod_info.c> SetEnv MOD_mod_info 1 </IfModule> <IfModule mod_limitipconn.c> SetEnv MOD_mod_limitipconn 1 </IfModule> <IfModule mod_log_config.c> SetEnv MOD_mod_log_config 1 </IfModule> <IfModule mod_log_forensic.c> SetEnv MOD_mod_log_forensic 1 </IfModule> <IfModule mod_logio.c> SetEnv MOD_mod_logio 1 </IfModule> <IfModule mod_mime.c> SetEnv MOD_mod_mime 1 </IfModule> <IfModule mod_mime_magic.c> SetEnv MOD_mod_mime_magic 1 </IfModule> <IfModule mod_negotiation.c> SetEnv MOD_mod_negotiation 1 </IfModule> <IfModule mod_rewrite.c> SetEnv MOD_mod_rewrite 1 </IfModule> <IfModule mod_security.c> SetEnv MOD_mod_security 1 </IfModule> <IfModule mod_setenvif.c> SetEnv MOD_mod_setenvif 1 </IfModule> <IfModule mod_speling.c> SetEnv MOD_mod_speling 1 </IfModule> <IfModule mod_ssl.c> SetEnv MOD_mod_ssl 1 </IfModule> <IfModule mod_status.c> SetEnv MOD_mod_status 1 </IfModule> <IfModule mod_suexec.c> SetEnv MOD_mod_suexec 1 </IfModule> <IfModule mod_unique_id.c> SetEnv MOD_mod_unique_id 1 </IfModule> <IfModule mod_userdir.c> SetEnv MOD_mod_userdir 1 </IfModule> <IfModule mod_usertrack.c> SetEnv MOD_mod_usertrack 1 </IfModule> <IfModule mod_vhost_alias.c> SetEnv MOD_mod_vhost_alias 1 </IfModule>

Then navigate with your browser to the path and look for all lines beginning with "MOD_".