Managing Virtual Hosts on os X Server 10.7
Hello together,
how can I manage my virtual hosts on Lion Server e. g. add some directives to the configuration.
I created some VirtualHosts with Server.app.
The configuration files reside in /etc/apache2/sites and usualy I would just edit an add directives directly.
But in /etc/apache2/ReadMe.txt it says:
Administrators are strongly encouraged to use the webapp mechanism instead of modifying virtual host config files directly. In general, you can place Apache configuration directives in an "Include" file, and create a webapp.plist file that references that Include file. You can then activate or de-activate that Include file using webappctl(8).
How does this work?
The manpages didn´t help.
How could I for example add a ScriptAlias directive safely?
regards
macmartin