Geoportail-Luxembourg / geoportailv3

geoportailv3 is the implementation of the v3 of the map viewer of the luxembourgish geoportal
MIT License
25 stars 16 forks source link

Problem with apache build #414

Closed jaykayone closed 9 years ago

jaykayone commented 9 years ago

there is a problem with the apache build target. there seems to be a hardcoded vhost name ? luxembourg-geomapfish is not a variable I have set somewhere

echo "Include /var/www/vhosts/geoportailv3/apache/*.conf" > /var/www/vhosts/luxembourg-geomapfish/conf/main.conf
/bin/sh: /var/www/vhosts/luxembourg-geomapfish/conf/main.conf: No such file or directory
make: *** [/var/www/vhosts/luxembourg-geomapfish/conf/main.conf] Error 1
sbrunner commented 9 years ago

It's not hardcoded: https://github.com/Geoportail-Luxembourg/geoportailv3/blob/master/CONST_Makefile#L232 ?= mead that it's define only if it's not already defined :-)

Then you can defined you own APACHE_CONF_DIR

jaykayone commented 9 years ago

What about sudo /usr/sbin/apache2ctl graceful ?

sbrunner commented 9 years ago

It should be configurable :-), I will work on that...

geoportallux commented 9 years ago

thanks