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:
% cd /etc/apache2/sites-available % sudo cp default impilo
impilo
file needs to be modified such that the finale version looks like this: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>
% sudo a2dissite default % sudo a2ensite impilo % sudo /etc/init.d/apache2 restart