I've been working on a couple of extra pages in the router's web interface, and I'm making use of CGI fairly heavily.
For development, I symlinked /www to /jffs/www (a copy of the original /www), and I was able to scp whatever I wanted onto the router, build, test, etc. It works fine.
Now I'd like to make my changes more "permanent", by including them in an actual fimware image. Obviously my extra .asp files make it into the final image, but I'm not sure where to put my CGI scripts. /www/ext is a symlink to /var/tmp/wwwext, and I get nothing there. I tried making a /www/ext2/cgi-bin directory and putting my stuff there, but that directory also doesn't make it into the final build. So, my question is, where do I put these files?