[ previous ] [ next ] [ threads ]
 
 From:  Manuel Kasper <mk at neon1 dot net>
 To:  Samenlia <fhliang at 163 dot com>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] how to insert a image into the captive portal web page?
 Date:  Tue, 18 May 2004 08:09:44 +0200
On 18.05.2004 13:11 +0800 Samenlia wrote:

> my link is:
> <img src="freebsd.gif" border="0" align="center">
> or
> <img src="/freebsd.gif" border="0" align="center">
> 
> and i put freebsd.gif into /usr/local/captiveportal
> it still not work
> 
> if i access http://www.xfocus.net
> the ie statusbar display  download http://www.xfocus.net/freebsd.gif
> 
> why and how ?(my os is  1.1b8)

You can't put anything in /usr/local/captiveportal as mini_httpd for
the captive portal has been modified to always execute index.php as a
CGI, regardless of which file has been requested (this is necessary
for transparent redirection). You need to put images on a separate
server somewhere and then allow that IP address to be accessed in the
captive portal config.

- Manuel