Skip to content

lucaercoli/mod_vhost_alias_hostname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mod_vhost_alias_hostname

An Apache module that stores the Host header of the HTTP request in the apache's scoreboard. It's useful to display the VHost (that otherwise would be empty) in mod_status when you're using mod_vhost_alias in order to creates dynamically configured virtual hosts.

Requirements

  • apache >= 2.4
  • mod_vhost_alias

Getting Started

Install as DSO

If you have got the apxs2 (APache eXtenSion tool) tool installed, write the following commands to build module:

$ tar xzvf mod_vhost_alias_hostname.tar.gz
$ cd mod_vhost_alias_hostname
$ make
$ make install

Check that in the main config file of your web server there is the following command:

LoadModule vhost_alias_hostname_module /usr/lib/apache2/modules/mod_vhost_alias_hostname.so

(The path to mod_vhost_alias_hostname.so depends on your apache installation)

About

Apache module that stores the `Host` header of the HTTP request in the apache's scoreboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published