Hi On Tue 01-Mar-2005 at 04:34:57PM -0000, Gavin Henry wrote: > > I have been reading http://perl.apache.org and > http://modperlbook.org/ > > and I understand the Apache::Registry parts of the docs, i.e. > enabling say /perl/ for an alias etc. > > But, all I want to do is stick a index.pl in the main root > directory and go from there. > > I know this is done with the <Files></Files> parameter, but it's > confusing the out of me.
You need to tell apache which file to serve as a directory index: DirectoryIndex index.pl http://httpd.apache.org/docs-2.0/mod/mod_dir.html#directoryindex And also you need to enable scripts, I'd use a <Directory> directive something like this if I were you: DocumentRoot /var/www/html <Directory /var/www/html> AllowOverride None Options ExecCGI Indexes DirectoryIndex index.pl Order allow,deny Allow from all </Directory> Chris -- Chris Croome <[EMAIL PROTECTED]> web design http://www.webarchitects.co.uk/ web content management http://mkdoc.com/