vhosts.conf.template of ispman 1.3rc2

Andreas John <lists-qqKX2RIXbnLLeiHq/[email protected]> Tue, 13 Jun 2006 22:37:42 +0200
Newsgroups gmane.comp.isp.ispman.devel
Message-ID <[email protected]>
Hello!

The vhosts.conf.template reads:

....
        <perl>$ispmanVhostExtraConf</perl>
	<Directory <perl>$documentroot</perl>>
	<perl>$ispmanVhostDocumentRootOption</perl>
	AllowOverride FileInfo AuthConfig Limit Indexes
        </Directory>
....


This means, that you cannot set an 'Extra Option' in the ispman-panel like

<Directory /var/www/<domain>/vhosts/www/htdocs>
	AllowOverride All
</Directory>


.... because the hardcoded <Directory ..> overrides the one from
$ispmanVhostExtraConf.

I would recommend to change the order of both, i.e.:

....

        <Directory <perl>$documentroot</perl>>
                <perl>$ispmanVhostDocumentRootOption</perl>
                AllowOverride FileInfo AuthConfig Limit Indexes
        </Directory>
        <perl>$ispmanVhostExtraConf</perl>
.....

rgds,
Andreas