httpd binds to all IP's so I am unable to use port 80 unless I move httpd.
I don't want to.
I configured an extra IP (192.168.240.1/24) on the bridge and run xinetd on port 192.168.240.1:80 for this special website using "-i -h /opt/var/www" and another xinetd entry is running the normal webif on all other interface with "-i " (inetd-mode)as its only parameter.
Before writing my script I worked on a proof of concept and everything works except one thing..... This website is now giving 404's instead of DD-WRT's webif.
It works with any other home directory I point httpd to.
If I connect to 192.168.240.1 I'm getting website1 and on 192.168.10.1 I'm getting website2... It just doesn't work with DD-WRT's website...
All this has to do with your webif protection to discourage rebranding.
I'm not interested in rebranding, but I do need that port 80.
So can you tell me how I can get dd-wrt's website to run on port 80 with leaving me 1 IP?