Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox

Create Apache Virtual Hosts

From RZWiki


Apache-logo-massive.gif

VirtualHost *:80
   #Basic setup
   ServerAdmin webmaster@chordzap.com
   ServerName www.chordzap.com
   DocumentRoot /usr/local/apache2/htdocs/chordzap.com/docs
   Directory /usr/local/apache2/htdocs/chordzap.com/docs
      Order Deny,Allow
      Allow from all
      # Don’t show indexes from directories
      Options -Indexes
   /Directory
   Alias /phpmyadmin /usr/share/phpmyadmin
Directory /usr/share/phpmyadmin
   # Restrict phpmyadmin access to just my workstation
   Order Deny,Allow
   Deny from all
   Allow from 192.168.32.1 ( - your Windows workstation IP)
/Directory

   ErrorLog logs/chordzap.com-error_log
   CustomLog logs/chordzap.com-access_log common
/VirtualHost

Icemon-medium.png Related Articles

Information on Linux commands Tux-small.png

Information on F5 BigIP commands F5-logo-small.png

Information on Cisco commands Cisco-logo-small.png

Information on Vyatta commands Vyatta-logo-small.png

Information on Extreme commands Extreme-logo-small.png

Information on Zebra commands

Information on Secure Platform commands

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


Internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to sjiveson#routerzone.eu
(replacing the # with an @)


Site Toolbox:

Personal tools
This page was last modified on 7 June 2009, at 12:29. - Disclaimers - About Network Stuff
Powered by MediaWiki