All pastes #92712 Raw Edit

drawagoat

public text v1 · immutable
#92712 ·published 2006-07-19 21:04 UTC
rendered paste body
this is the /etc/apache2/sites-availiable/my.homedns.org file.

<VirtualHost * >
   #Basic Setup
   ServerAdmin webmaster@my.homedns.org
   ServerName www.my.homedns.org
   DocumentRoot /var/www/my.homedns.org/docs

   <Directory /var/www/my.homedns.org/docs>
      Order Deny,Allow
      Allow from all
      # don't show indexes for directories
      Options -Indexes
   </Directory>

   #provide an alias to phpmyadmin
   Alias /phpmyadmin /usr/local/php5/phpMyAdmin-2.8.2/
   <Directory /usr/local/php5/phpMyAdmin-2.8.2>
      #restrict phpmyadmin access to just my workstation
      #Order Deny,Allow
      #Deny from all
      #allow from 192.168.x.x

      #allow from all
      Order Deny,Allow
      Allow from all
   </Directory>

</VirtualHost>