На пример
Безымянный 27.05.2003 06:37
<VirtualHost ip:*>
DocumentRoot /var/www/gallery/html
ServerName allery
ServerAlias www.gallery
ScriptAlias "/cgi-bin/" "/var/www/cgi-bin/gallery/"
<Directory "var/www/cgi-bin/gallery">
AllowOverride ALL
Options ExecCGI
</Directory>
AddHandler parser3-handler html
Action parser3-handler /cgi-bin/parser3/parser3
ErrorLog /var/log/apache/gallery-error.log
CustomLog /var/log/apache/gallery-access.log common
directoryIndex index.html
ErrorDocument 404 /404.html
ErrorDocument 403 /404.html
ErrorDocument 401 /404.html
</VirtualHost>