Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.146.507 Times

mod_vhost_alias 1.3

  Date Added: April 18, 2010  |  Visits: 689

mod_vhost_alias

Report Broken Link
Printer Friendly Version


Product Homepage
Download (74 downloads)

mod_vhost_alias is an Apache module that creates dynamically configured virtual hosts, by allowing the IP address and/or the Host: header of the HTTP request to be used as part of the pathname to determine what files to serve. This allows for easy use of a huge number of virtual hosts with similar configurations. Directory Name Interpolation All the directives in this module interpolate a string into a pathname. The interpolated string (henceforth called the "name") may be either the server name (see the UseCanonicalName directive for details on how this is determined) or the IP address of the virtual host on the server in dotted-quad format. The interpolation is controlled by specifiers inspired by printf which have a number of formats: %% insert a % %p insert the port number of the virtual host %N.M insert (part of) the name N and M are used to specify substrings of the name. N selects from the dot-separated components of the name, and M selects characters within whatever N has selected. M is optional and defaults to zero if it isnt present; the dot must be present if and only if M is present. The interpretation is as follows: 0 the whole name 1 the first part 2 the second part -1 the last part -2 the penultimate part 2+ the second and all subsequent parts -2+ the penultimate and all preceding parts 1+ and -1+ the same as 0 If N or M is greater than the number of parts available a single underscore is interpolated. Examples For simple name-based virtual hosts you might use the following directives in your server configuration file: UseCanonicalName Off VirtualDocumentRoot /usr/local/apache/vhosts/%0 A request for http://www.example.com/directory/file.html will be satisfied by the file /usr/local/apache/vhosts/www.example.com/directory/file.html. For a very large number of virtual hosts it is a good idea to arrange the files to reduce the size of the vhosts directory. To do this you might use the following in your configuration file: UseCanonicalName Off VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2 A request for http://www.example.isp.com/directory/file.html will be satisfied by the file /usr/local/apache/vhosts/isp.com/e/x/a/example/directory/file.html. A more even spread of files can be achieved by hashing from the end of the name, for example: VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.-1/%2.-2/%2.-3/%2 The example request would come from /usr/local/apache/vhosts/isp.com/e/l/p/example/directory/file.html. Alternatively you might use: VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2.4+ The example request would come from /usr/local/apache/vhosts/isp.com/e/x/a/mple/directory/file.html. For IP-based virtual hosting you might use the following in your configuration file: UseCanonicalName DNS VirtualDocumentRootIP /usr/local/apache/vhosts/%1/%2/%3/%4/docs VirtualScriptAliasIP /usr/local/apache/vhosts/%1/%2/%3/%4/cgi-bin A request for http://www.example.isp.com/directory/file.html would be satisfied by the file /usr/local/apache/vhosts/10/20/30/40/docs/directory/file.html if the IP address of www.example.com were 10.20.30.40. A request for http://www.example.isp.com/cgi-bin/script.pl would be satisfied by executing the program /usr/local/apache/vhosts/10/20/30/40/cgi-bin/script.pl. If you want to include the . character in a VirtualDocumentRoot directive, but it clashes with a % directive, you can work around the problem in the following way: VirtualDocumentRoot /usr/local/apache/vhosts/%2.0.%3.0 A request for http://www.example.isp.com/directory/file.html will be satisfied by the file /usr/local/apache/vhosts/example.isp/directory/file.html..

Requirements: No special requirements
Platforms: Linux
Keyword: Alias Apache Module Http Internet Ip Mod Modvhostalias Name Request Usecanonicalname Vhost Virtual Virtual Hosts Virtualdocumentroot
Users rating: 0/10

License: Freeware
MOD_VHOST_ALIAS RELATED
Network & Internet  -  mod_access
mod_access is an Apache module to access control based on client hostname or IP address. The directives provided by mod_access are used in , , and sections as well as .htaccess files to control access to...
 
Network & Internet  -  mod_activex_filter 0.2b
mod_activex_filter is an Apache module that enables ActiveX filtering for Apache proxy. This module is a small example of an Output Filter developed for Apache 2.0.44 and tested up to 2.0.46. Its only a simple hack of mod_case_filter to get a...
5.12 KB  
Network & Internet  -  mod_lisp 2.35
mod_lisp Apache module is a module to easily write web applications in Lisp. mod_lisp talk from Apache to lisp processes by sockets with a very straightforward protocol to handle a request. It now reuses the Apache to Lisp sockets for improved...
12.29 KB  
Network & Internet  -  mod_ruid 0.6
mod_ruid is an Apache module based on mod_suid2 only for linux. -it runs only on linux because afaik only linux has implemented posix 1003.1e capabilities -it has better performance than mod_suid2 because it doesn`t need to kill httpd children...
3.07 KB  
Network & Internet  -  mod_python 3.3.1
mod_python is an Apache module that embeds the Python interpreter within the server. With mod_python you can write web-based applications in Python that will run many times faster than traditional CGI and will have access to advanced features...
348.16 KB  
Network & Internet  -  mod_actions
mod_actions is an Apache module that provides functions for executing CGI scripts based on media type or request method. This module has two directives. The Action directive lets you run CGI scripts whenever a file of a certain type is...
 
Network & Internet  -  mod-xslt 1.3.8
mod-xslt is an Apache module that converts XML files into HTML files using XSLT stylesheets. It was written to overcome most of the limits of similar modules and uses a standard API, which could easily be used for other applications or to support...
1.7 MB  
Network & Internet  -  mod_geoip 0.2.0
mod_geoip is an Apache module that finds country of client IP address..
 
Network & Internet  -  mod_auth_ip 1.0
auth_ip Apache module provide user authentication by client IP address. The AuthenticateIP directive allow some addresses to override authentication. Address/network is a (possibly multiple) network specification, and username is the username...
12.29 KB  
Network & Internet  -  mod_limitipconn2 0.22
mod_limitipconn is an Apache module which allows web server administrators to limit the number of simultaneous downloads permitted from a single IP address. I have ported the original mod_limitipconn module to Apache 2.0. The Apache 2.0 port...
15.36 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, NETWORK & INTERNET
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Network & Internet  -  Free WiFi Hotspot 3.3.1
Free WiFi Hotspot is a super easy solution to turn your laptop or notebook into a portable Wi-Fi hotspot, wirelessly sharing your internet connections like DSL, Cable, Bluetooth, Mobile Broadband Card, Dial-Up, etc. through the built-in wireless...
1.04 MB  
Network & Internet  -  Easy Uploads 1.8
Easy uploads is a file storage media streaming application designed by Filestreamers that allows you to upload, store, and stream your files from their virtually unlimited file storage server. Easy Uploads can backup,share, and stream your files...
615.97 KB  
Network & Internet  -  IPv6 CARE 3.2b
IPv6 CARE, "IPv6 Compliant Automatic Runtime Environment", is a Linux tool able to patch ipv6-agnostic programs on-the-fly ('patch' mode). It can also generate a diagnosis about the IPv6 compliance of an application ('check' mode).
409.6 KB  
Network & Internet  -  PacketFence ZEN 3.1.0
PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) system. Boosting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, 802.1X...
1024 MB  
Network & Internet  -  django-dbstorage 1.3
A Django file storage backend for files in the database.
10.24 KB