I want to store some HTML files in the iPad and use Safari to view them. Is it possible? I don't seem to be able to see any option with Safari to allow me to access local HTML files.
Ok, I Have my own setup at my house (
ALL OF THIS IS A FREE BUT REAL SETUP)
It involves One Free Program, DropBox, and One Optional Free App
I will tell you how to setup DropBox in a little bit.
App to download:
Nebulous Notes Lite (I Have this for Editing Said files ;-D)
Program:
Abyss Web Server
Download and install Abyss Web Server
*Run the setup WITH ALL DEFAULT SETTINGS
Once setup is complete, do the next part, we will get back to adding files later.
DropBox: Create an account and install the
DropBox program onto the computer you installed the Server on.
In your DropBox folder, create a folder called htdocs
Back to the Server: on the Server Computer, in your browser choice, go to IP 127.0.0.1:9999
Login to the page
Click "Configure" on your selected host
Click "General"
Click "HTTP Port", and select "Default HTTP Port (80)"
Under "Documents Path," click "Browse"
Select "C:/Users/Account DropBox Was Installed On/DropBox/"
Click "[Select]" By htdocs
Click "OK"
Restart your server
NOW, here comes the tricky part, you need to find a way to make that computers IP port opened so you can access your website anywhere(Abyss Web Server is a very secure server, so don't worry about hackers getting into your computer, but, this remains true AS LONG AS YOU FOLLOW THE STEP WITH THE ASTRIK(*))
To open your devices IP, you should search "DMZ" with your routers model number. Follow the steps, and then the IP for your device is the IP for your website.
If you want a normal URL, or close to normal for free, I recommend
NoIP.com
Once logged in to your possibly new NoIP.com account, click
here for a fast way of creating the right item for a URL
In the "Host name" Box, this is where you add the name you want (EX: Host name.domain.com)
In the "Domain" box, zapto.org by default, I prefer to use No-IP.org, but you can pick any one you want.
In the "IP Address" box, enter the IP of the server hosting computer (a.k.a. DMZ'd computer)
Then click "Create Host"
NOW, THE FUN PART, CREATING THE SITE
When writing HTML, One line i
NEVER EVER EVER forget to add is:
HTML:
<base href="http://your websites main directory/" />
Add that line to the HEAD section of your website. By adding that, instead of having to say:
HTML:
<a href="http://www.ipadforums.net/ipad-general-discussions/86332-how-get-safari-view-local-html-files.html">link</a>
<a href="http://www.ipadforums.net/ipad-general-discussions/87206-how-track-backwards-apps.html">link2</a>
You could say:
HTML:
<HEAD>
<base href="http://www.ipadforums.net/ipad-general-discussions/" />
</HEAD>
<a href="86332-how-get-safari-view-local-html-files.html">link</a>
<a href="87206-how-track-backwards-apps.html">link2</a>
Now, about this nebulous notes app i mentioned, you can use it to edit DropBox files.
That's about all the input i have, if something isn't working, please do say so.