#!/usr/bin/perl -w # please develop with -w use strict; # please develop with the strict pragma print < # ServerAdmin webmaster@your.site # DocumentRoot /usr/local/www/opac/htdocs # ServerName opac.your.site # ErrorLog logs/opac-error_log # TransferLog logs/opac-access_log # ###RESTART APACHE # FIXME # this is a pretty rude thing to do on a system ... # perhaps asking the user first would be better. # system('/etc/rc.d/init.d/httpd restart');