+5
Under review

Built in web server

Gwthompson 14 years ago updated by Alexander Blach (Developer) 11 years ago 5
I love this product however what would make it perfect ,for me at least , would be a built in web server to allow the iPad to become my development server for HTML5/CSS work.

Thanks,
Gary Thompson

Answer

Answer
Completed
Use the WebDAV server. This is essentially a lighttpd web server with WebDAV extensions.
Did you try the builtin WebDAV server? This is essentially an HTTP server that can serve normal html and css files as well as images but has WebDAV extensions that make it possible to transfer files.

Have a look at the manual to see how you can start the server: http://www.textasticapp.com/manual/lessons/Starting_the_WebDAV-Server.html

Actually, I've been fiddling around with this and I can't seem to get it working.

I'd love an easy way to have the iPad serve HTML and JavaScript over HTTP so that I can test basic XHR and dynamic JS loading (which currently doesn't work from files due to security restrictions).

Answer
Completed
Use the WebDAV server. This is essentially a lighttpd web server with WebDAV extensions.
This has never worked for me. I've never been able to edit an HTML file and associated JS, switch to the preview mode, enter the WebDAV server URL and have it Just Work. The most common outcome is a hung webview - I can only load documents occasionally.