barsju
18-03-2005, 12:45
Hi, I need to make a httpd that responds with the same html document no matter what document you look for. I have tried by putting
ErrorDocument 404 404.html
In httpd.conf but I can't make that work. Does anyone have any idea how to do this, or perhaps another solution?
I am a linux n00b and haven't gotten around to compiling or anything for the wl500g, but if someone has 5 minutes free time perhaps they could make a small deamon that listens to a socket and returns a html file (or possibly a results form a script) Something like
dummyhttp 81 returnScript.sh &
listen($1)
on connect: write `$2`
close connection
S.
ErrorDocument 404 404.html
In httpd.conf but I can't make that work. Does anyone have any idea how to do this, or perhaps another solution?
I am a linux n00b and haven't gotten around to compiling or anything for the wl500g, but if someone has 5 minutes free time perhaps they could make a small deamon that listens to a socket and returns a html file (or possibly a results form a script) Something like
dummyhttp 81 returnScript.sh &
listen($1)
on connect: write `$2`
close connection
S.