News: This forum is now permanently frozen.
Pages: [1]
Topic: Captive Portal. Designing HTML page with images  (Read 7298 times)
« on: February 18, 2011, 12:05:29 »
trosdejos *
Posts: 3

Hello,
I´m using this fantastic monowall firewall but I wonder if it is possible to upload an HTML page with images as the "Portal page contents"
Is it possible?

Thanks
« Reply #1 on: February 19, 2011, 02:51:36 »
Јаневски ***
Posts: 153

Yes it is possible.

« Reply #2 on: February 20, 2011, 17:25:57 »
Lee Sharp *****
Posts: 517

There are several ways to do this.  You can use the file manager to store files locally.  They must be in the save directory as the web page...  This allows images, css, and so on...  It is limited in size...

Also, you can host everything on another server.  (Excepting the login code, or course)  Images, frames, moveis...  However, that server must be local, or in the allowed IP addresses.
« Reply #3 on: February 22, 2011, 12:38:02 »
trosdejos *
Posts: 3

Thanks Lee Sharp, but I´m using M0n0wall as VMWare machine. Can you be more explicit, please?

Thank you
« Reply #4 on: February 24, 2011, 17:40:09 »
Јаневски ***
Posts: 153

Example:

index.html:
----
<html>
<head>
   <title>asd</title>
</head>
<body>
   <div align="center">
      <img src="image.jpg" />
   </div>
</body>
</html>
----
image.jpg: some image

Then You upload index.html and image.jpg, You could do that by using the m0n0 webGUI, please note the relative link inside the html.
Of course You should design & code Your own pages for Your needs.

« Reply #5 on: February 25, 2011, 17:06:52 »
trosdejos *
Posts: 3

Ok, thank you very much JAHeBCKN. Usefull.

 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines