Howto setup apache, see also apache configuration and official Apache docs
For Apache to reload it’s configuration file, the server needs to be restarted. I recommend doing a stop and start separately, as the restart by itself fails sometimes.
From Brian Hatch’s HLE Security and Obscurity post about testing and removing Apache identification.
$ curl -i http://www.example.com 2>/dev/null | grep Server: Server: Apache/1.3.9 (Unix) Debian/GNU PHP/4.0.3pl1
Alias /perl/ /home/stas/modperl/
PerlModule Apache::Registry
<Location /perl/>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
allow from all
</Location>