emerge
の最後にこんなエラーが出る時
* vhosts USE flag not set - auto-installing using webapp-config
* This is an installation
* FooBarWebApp-9999 is not installed - using install mode
* Running /usr/sbin/webapp-config -I -h localhost -u root -d /FooBarWebApp FooBarWebApp 9999
* Fatal error: Your configuration file sets the server type "Apache"
* Fatal error: but the corresponding package does not seem to be installed!
* Fatal error: Please "emerge >=www-servers/apache-1.3" or correct your settings.
* Fatal error(s) - aborting
>=www-servers/apache-1.3
/etc/vhosts/webapp-config
のvhost_server
を適切なものに修正する。
# what web server are you using?
# your choices are:
#
# apache
# lighttpd
# cherokee
# nginx
# gatling
#
# you can override this setting by using the -s switch to webapp-config
vhost_server="nginx"