[ previous ] [ next ] [ threads ]
 From:  "Brent" <brent at air2data dot com>
 To:  <m0n0wall at lists dot m0n0 dot ch>, <m0n0wall dash dev at lists dot m0n0 dot ch>
 Subject:  Mini-httpd question
 Date:  Tue, 13 Jun 2006 16:14:35 -0600
I am trying to figure out how the captiveportal works to add some features
of my own. From what I have learned so far is that the
/usr/local/captiveportal/index.php displays the page and everything. 

The question I have is if I want to store pictures on the image where would
I put them. I have tried to add them to /usr/local/captiveportal/images/ and
when I do that and then in the html code do:

<img src="images/picture.jpg"> 

I doesn't load and in fact just takes quite a while to load the page and
ends up just timeing out. What I am wondering is does the mini_httpd only
allow you to call 1 page and has issues with pulling other files or am I
suppose to store it somewhere else? I can easily package the image files I
need into the mfsroot.gz image so that is not a issue.

Any help would be appreciated.