This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Apache virtual host for Impilo ====== Ideally, all documentation created for Impilo will be put in a centralized, Web-delivered resource. To allow this, I created a virtual host profile with the following content: * First, let's copy the default host settings to an impilo-specific file: <code bash> % cd /etc/apache2/sites-available % sudo cp default impilo </code> * Second, this ''impilo'' file needs to be modified such that the finale version looks like this: <code apache> NameVirtualHost * <VirtualHost *> ServerAdmin webmaster@localhost DocumentRoot /opt/bio/docs <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /opt/bio/docs> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /opt/bio/docs/cgi-bin/ <Directory "/opt/bio/docs/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch AddHandler cgi-script cgi pl Order allow,deny Allow from all </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost> </code> * Finally, you need to tell the system that the new default host setting file has changed: <code bash> % sudo a2dissite default % sudo a2ensite impilo % sudo /etc/init.d/apache2 restart </code>