Ethereal_Dragon
Fully Optimized
- Messages
- 3,755
- Location
- USA
Hello all, I don't often frequent this section, as I am not too familiar with these topics.
I have a DLink DNS-323 on my network (listed in sig), and I have put in a fun_plug file to gain telent access to the box, as well as add any new things that I might want to. I recently put lighttpd on it, and the webserver is functional. I am able to view the webpage from my LAN, and over the WAN.
In a nutshell, I would like to enable restrictions on the files hosted on my NAS, so that they aren't being leeched to other sites, and wasting bandwidth.
Here is the article I found that shows that it can be done with lighttpd.conf, but I am not sure how to impliment it.....
Lighttpd prevent image hotlinking or leeching or direct linking | nixCraft
You can PM me for the IP Address of the webpage... no Domain name yet...
Here are the contents of the lighttpd files... I am not too familiar with MUCH of what is in these.....
lighttpd.sh
lighttpd.conf text to follow....
I have a DLink DNS-323 on my network (listed in sig), and I have put in a fun_plug file to gain telent access to the box, as well as add any new things that I might want to. I recently put lighttpd on it, and the webserver is functional. I am able to view the webpage from my LAN, and over the WAN.
In a nutshell, I would like to enable restrictions on the files hosted on my NAS, so that they aren't being leeched to other sites, and wasting bandwidth.
Here is the article I found that shows that it can be done with lighttpd.conf, but I am not sure how to impliment it.....
Lighttpd prevent image hotlinking or leeching or direct linking | nixCraft
You can PM me for the IP Address of the webpage... no Domain name yet...
Here are the contents of the lighttpd files... I am not too familiar with MUCH of what is in these.....
lighttpd.sh
Code:
#!/bin/sh
if [ -x "${BINDIR}/lighttpd" ]; then
echo "Starting lighttpd... "
${BINDIR}/lighttpd -f ${ETCDIR}/lighttpd.conf
else
echo "ERROR: lighttpd not found or not executable"
fi
lighttpd.conf text to follow....