Tuesday, January 18, 2011

Apache Web Server tips

 Web Server(Apache):
The following file to be Configure:
Setting up the virtual hosts entry
Setting up the Zone file
Mapping the zone file.
Create virtual host entry in the apache configuration
Sample Eg:
# Virtual host for Baskar.com
        DocumentRoot /var/www/html
        ServerAdmin admin@baskar.com
        ServerName baskar.com
        ServerAlias www.baskar.com
        DirectoryIndex home.php index.html index.php index.htm index.shtml
        <Directory "/var/www/html/">
                AllowOverride none

1 comment: