Kirk Rogers wrote: > How do i configure the httpd.conf file to maintain two different cgi-bin > directories with Apache::Registry? Not sure if I'm asking the question > correctly so here's a quick explanation. > > I have two cgi-bin directories under one Virtual host:
this way works for me: <VirtualHost 1.2.3.4> ServerAdmin [EMAIL PROTECTED] DocumentRoot /path/to/doc/root ServerName www.whatever.com ServerAlias whatever.com ScriptAlias /cgi-bin/ "/path/to/cgi-bin/" <Directory "/path/to/cgi-bin"> AllowOverride None Options ExecCGI Order allow,deny Allow from all SetHandler perl-script PerlHandler Apache::Registry </Directory> <Directory "/path/to/some/other/cgi-bin"> AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all <Files somefile.cgi> AuthName "Restricted Area" AuthType Basic AuthUserFile /path/to/users/file require valid-user SetHandler perl-script PerlHandler Apache::Registry </Files> </Directory> </VirtualHost>