I want to access this page (working)
http://stats.example.com/cgi-bin/awstats.pl?config=www.example.com
via
http://stats.example.com/?config=www.example.com
<VirtualHost *:80>
ServerName stats.example.com
DocumentRoot /usr/lib/cgi-bin/
DirectoryIndex awstats.pl
</VirtualHost>
however this triggers the download of awstats.pl, obviously not my intention. How can I make this work, or is there a concept I am missing?