Re: vhosts.conf.template of ispman 1.3rc2
Jörg Delker <[email protected]> Thu, 15 Jun 2006 14:16:17 +0200
| Newsgroups | gmane.comp.isp.ispman.devel |
|---|---|
| Message-ID | <[email protected]> |
Hmm... that may be an option in some cases, but IMHO that's no alternative, because it's URL based rather than dir based. Which in turn can lead to some nasty security leaks... Currently, I see nothing wrong with moving the $ispmanVhostExtraConf to the end of the template. Thus, allowing everything to be overridden. Objections? Joerg Atif Ghaffar schrieb: > Just a thought. > > Can you not set the AllowOverrite all within the <Location />? > > > > On 6/13/06, *Andreas John* < lists-qqKX2RIXbnLLeiHq/[email protected] > <mailto:lists-qqKX2RIXbnLLeiHq/[email protected]>> wrote: > > 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 > > > > _______________________________________________ > Ispman-developers mailing list > Ispman-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > <mailto:Ispman-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> > https://lists.sourceforge.net/lists/listinfo/ispman-developers > > > > > -- > best regards > Atif Ghaffar > > > ------------------------------------------------------------------------ > > _______________________________________________ > Ispman-developers mailing list > Ispman-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/ispman-developers