Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi,
I would really like to know if it is possible to edit (or hack?) the webpages hosted by the DNS323. All I would need to to edit any single page, (eg the login page), and have a new link to my own page as I would make my own content with new options.
I dont want to run another webserver daemon for this, I would like to make the current one (goahead webserver) a custom one.
It seems the HTML pages are actually in FLASH which means they are read only.
Maybe its possible to shut down the goahead webserver then apply the hack or link and restart it?
I couldnt find anything that would suggest goahead has a config file or command line switches, so Im unsure how to make my own edits.
This is something I did with an old NAS drive that had the HTML files in RAM, which made life easy, and I added pretty useful content to the webpage.
Anyway I hope Im making sense, Im just about to hit the hay but thought I would ask since I've been pondering about it for ages now.
Cheers!
Offline
They look to be html pages... .asp anyway
root@dlink-EEC377:~# ls /web/web
lrwxrwxrwx 1 root root 18 Mar 7 19:14 /web/web -> /sys/crfs/web_page
Offline
hey thanks for your reply,
I've found that the pages are located there but I'm unable to make any changes to that folder, I get a Read-Only file system. I'm guessing that means it is in FLASH and not RAM?
I should have mentioned that path in my original post..
Original question still remains, can it be modified?
ta.
Offline
Of course it can.
rm -rf /web/web mkdir /ffp/web cp -R /sys/crfs/web_page/* /ffp/web ln -s /ffp/web /web/web
Then make an executable /ffp/etc/fun_plug.local and put this in it.
#!/ffp/bin/sh PATH=/ffp/sbin:/ffp/bin:/usr/sbin:/sbin:/usr/bin:/bin # Use my modified web pages: rm -rf /web/web ln -s /ffp/web /web/web
Last edited by madpenguin (2009-03-20 16:39:07)
Offline
Awesome suggestion thanks madpenguin, I'll go give this a shot right now
Many thanks!!
Offline
I remember that some guy made some extensions to the built-in web GUI. I searched a bit and this is what I found:
http://dns323.kood.org/forum/viewtopic. … 064#p10064
HaydnH made a very pretty ipkg package handler GUI and he even posted a video of it. The video link isn't working anymore though but I think I have the video lying around somewhere... If anybody want it. It was very sweet indeed! I don't think he ever published anything. Last post seems to be somewhere around april 2008.
The thread contains some discussion on the nature of the web pages.
Maybe you could contact him to get some ideas?
Offline
thanks, that looks interesting - pity the video clips are no longer there. Id love to see what he has done.
Bit of a bugger using the built-in goahead webserver. It seems to have missing ASP commands, therefore unable to run any shell commands via custom webpages
I attempted to use cgi-bin (made the directory in /web/cgi-bin/) however when calling a script from a page it causes goahead (webs) to result in a segmentation fault! I might check out the lite webservers I've seen on the wiki. I really wanted to avoid running anymore webservers though.
I'll see if I can get hold of Haydn too.
Ta.
Offline