home | Manual index
 CHECK !! : What is Virtual Host?


Virtual host allows you to run multiple web sites (domains) on one single IP address. RaidenHTTPD supports the above feature and even allows you to run multiple web sites within a single instance of RaidenHTTPD on your server.

 CHECK !! : What is Virtual File System?


Virtual file system: In RaidenHTTPD's scope, a Virtual File System indicates a part of your web site being designated for a visitor according to his or her status (user level). In other words, you need not expose the physical directory structure of your web site to the user and yet, you only need to define a virtual directory structure for the visitor instead.

For example, you have a domain named 'http://www.company.com/', and you can setup a virtual file system like this:

Virtual path
Physical path
description
/
c:/wwwroot
The root directory of your VFS , it is required for every virtual host.
/images
d:/path/img

The virtual path name and physical path name need not be the same

When the visitor browses 'http://www.company.com/', he will only see the files under 'c:/wwwroot'.
When the visitor browses 'http://www.company.com/images', he will only see the files under 'd:/path/img'.

Therefore, the visitors only knows the existence of '/' and '/images'. They will not be able to see other directories on your disks. (However, they can see the subdirectories under 'c:/wwwroot' and 'd:/path/img'.)

 CHECK !! : Rules for Virtual Host.


The amount of virtual hosts you can accomodate in your RaidenHTTPD depends on the version you purchased. However, there is a default Virtual Host called 'DEFAULT' which can not be deleted or paused.

The rule for Virtual Host is that the Virtual Host is always trying to find a closest match. If none is matched, the DEFAULT virtual host will be used.

Case Study 1:

Supposed that you have 2 virtual hosts.

  • DEFAULT
  • raidenhttpd.com

When a user tries to access www.raidenhttpd.com, the www.raidenhttpd.com does not exist, but raidenhttpd.com exists. Therefore, the raidenhttpd.com virtual host will be used.

When a user tries to access www.raidenftpd.com, the searching order is: 1. to find www.raidenftpd.com (failed), 2. raidenftpd.com (failed), 3. com(failed). In the above example that all searches fail, the DEFAULT will be used.

    From the above case study, you may find a rule of thumb: if you design your Virtual Hosts with more detailed description, the searching sequences can be reduced and the server will be able to return result more effeciently.

CHECK : setup virtual host

     

    Add a new virtual host : Setup a new Virtual Host in RaidenHTTPD.

    Steps:

    Click RaidenAdmin Configuration... Virtualhost Options Mouse's right-click on the icon VirtualHost in the left tree view Click add virtual host


    Enter your hostname, for example: raidenhttpd.com.

    Configure your root directory for the web site.

    Click Ok and restart your httpd.

     

     

    Pause : Pause this Virtual Host with keeping the its current settings.

    Steps:

    Click RaidenAdmin Configuration... Virtualhost Options Mouse's right-click on a VirtualHost in the left tree view Click disable virtual host.


    Delete (Delete Virtual Host without keeping its current settings.)

    Steps

    click RaidenAdmin Configuration... Virtualhost Options Mouse's right-click on a VirtualHost in the left tree view Click delete virtual host.



 CHECK !! : Setup virtual file system


    Setup the root directory.

    Steps:

    Click RaidenAdmin Configuration... Virtualhost Options Mouse's right-click on a VirtualHost in the left tree view Click setup document root

    Note: Every Virtual Host MUST have a root directory entry of "/".


    Adding a Virtual Directory

    Steps:

    Click RaidenAdmin Configuration... Virtualhost Options Mouse's right-click on a VirtualHost in the left tree view Click add virtual path.

    Define the virtual path name first, for example: '/images', and then browse for an existing physical path.

    Editing the Virtual Directory

    Steps:

    Click RaidenAdmin Configuration... Virtualhost Options Mouse's right-click on a VirtualHost in the left tree view Select a virtual path and double click on it or use mouse's right-click menu to edit.

    HTTP Authentication: To enable HTTP authentication: 1. Remove the check 'allow anonymous access'; 2. Enter a hint text in the edit box 'range'; 3. Browse for users or groups that are allowed to use this virtual path.

    URL referral preventing: If you enable this, files under this Virtual Path can not be downloaded if the referred attribute in the http header is not from localhost or local domains.

    Add watermark to refered images: If you enable this, image files will be automatically applied with watermark image when browser access Your image file from other's web site.
    note: watermark image is editable, at htdocs/raiden-custom-pages/images/watermark.png

    Allow directory browsing: If you enable this, and this directory is without an index.php file, the client will be able to browse the file list under this directory.

    After downloading xx bytes, apply speed limit as xx kb/s: 2 steps speed limit, in the first of xx bytes download, the transfer is at full speed, but after xx bytes of download, the speed limit is applied.

    Deleting the Virtual Directory

    Steps:

    Click RaidenAdmin Configuration... Virtualhost Options Mouse's right-click on a VirtualHost in the left tree view Select a Virtual Path and use mouse's right-click menu to delete.

     

© 2002-2009, RaidenHTTPD TEAM

ftp server web server dns server mail server streaming server

© http://www.raidenhttpd.com/, 2002-2012 all rights reserved. The copyrighted works contained in this information service shall not be copied, reproduced, varied, altered, modified, adapted, distributed, performed and displayed in any form without the written permission of the copyright owner. All trademarks belong to their respective owners.