jobapply wrote: > > I want to add ServerAlias to all VirtualHosts based on ServerName value and > database information. > > First I tried to do it with PostConfigHandler, but tree modification did not > work. > Then I made ServerName handler.
You probably want to have a PostConfigHandler and modify the configuration tree with the Apache2::Directive API http://perl.apache.org/docs/2.0/api/Apache2/Directive.html -------------------------------------------------------------------------------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
signature.asc
Description: OpenPGP digital signature