giving up on nginx for the moment and just using lighttpd, futzing a bit more with query example

This commit is contained in:
Dan Buch
2011-01-03 20:43:16 -05:00
parent 66f6eaff61
commit 6c2607df8d
4 changed files with 149 additions and 5 deletions

View File

@@ -12,12 +12,22 @@ serve: nginx.conf
nginx -p $(ROOT)/ -c $(ROOT)/$<
serve-lighttpd: lighttpd.conf
lighttpd -D -f $(ROOT)/$<
nginx.conf: $(ALL_NGINX_CONF_INPUTS)
cat $< | \
sed -e 's@__ROOT__@$(ROOT)@g' \
-e 's@__HTTP_PORT__@$(HTTP_PORT)@g' > $@
lighttpd.conf: lighttpd.conf.in
cat $< | \
sed -e 's@__ROOT__@$(ROOT)@g' \
-e 's@__HTTP_PORT__@$(HTTP_PORT)@g' > $@
serve-cgiwrap: cgiwrap-fcgi.pl
perl $<