Commit 39055783 authored by Andrey Filippov's avatar Andrey Filippov

added .cgi, .fcgi to lighttpd conf

parent 3e59ee19
......@@ -7,17 +7,33 @@ do_unpack(){
rm -rf ${S}
fi
ln -sf ${VPATH} ${S}
if [ -d ${VPATH}/sysroots ]; then
rm -rf ${VPATH}/sysroots
fi
ln -sf ${TOPDIR}/tmp/sysroots ${VPATH}/sysroots
if [ -d ${VPATH}/bitbake-logs ]; then
rm -rf ${VPATH}/bitbake-logs
fi
ln -sf ${WORKDIR}/temp ${VPATH}/bitbake-logs
}
ELPHEL393_USERADD = "eval ${FAKEROOTENV} PSEUDO_LOCALSTATEDIR=${STAGING_DIR_TARGET}${localstatedir}/pseudo ${STAGING_DIR_NATIVE}${bindir}/pseudo useradd --root ${STAGING_DIR_HOST}"
ELPHEL393_INSTALL = "install"
ELPHEL393_MKNOD = "mknod"
EXTRA_OEMAKE = " \
INSTALL=${ELPHEL393_INSTALL} \
MKNOD=${ELPHEL393_MKNOD} \
DESTDIR=${D} \
ELPHEL_KERNEL_DIR=${STAGING_KERNEL_DIR} \
STAGING_KERNEL_DIR=${STAGING_KERNEL_DIR} \
STAGING_DIR_HOST=${STAGING_DIR_HOST} \
USERADD='${ELPHEL393_USERADD}' \
REMOTE_USER=${REMOTE_USER} \
REMOTE_IP=${REMOTE_IP} \
"
do_install_append() {
oe_runmake ${EXTRA_OEMAKE} install
}
......
......@@ -135,7 +135,7 @@ $HTTP["url"] =~ "\.pdf$" {
# which extensions should not be handle via static-file transfer
#
# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".py")
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".py", ".cgi", ".fcgi")
######### Options that are good to be but not neccesary to be changed #######
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment