Redirect to local html

Ask for help, look for common problems and read Frequently Asked Questions!
Post Reply
alecblumenfeld
Posts: 5
Joined: Wed Nov 30, 2011 10:26 pm
Location: india

Redirect to local html

Post by alecblumenfeld » Wed Nov 30, 2011 10:28 pm

hey this might sound like a noob question but would there be a simple way to redirect any web request to a .html?


User avatar
ponury
Posts: 1199
Joined: Fri Sep 23, 2011 11:19 pm
Location: Poland
Contact:

Re: Redirect to local html

Post by ponury » Thu Dec 01, 2011 6:53 am

alecblumenfeld wrote:hey this might sound like a noob question but would there be a simple way to redirect any web request to a .html?
If you start a webserver on the mobile then yes :-)

alecblumenfeld
Posts: 5
Joined: Wed Nov 30, 2011 10:26 pm
Location: india

Re: Redirect to local html

Post by alecblumenfeld » Thu Dec 01, 2011 6:41 pm

so i would start a webserver and then use the block method that points to home?

User avatar
ponury
Posts: 1199
Joined: Fri Sep 23, 2011 11:19 pm
Location: Poland
Contact:

Re: Redirect to local html

Post by ponury » Thu Dec 01, 2011 6:57 pm

Basically yes

alecblumenfeld
Posts: 5
Joined: Wed Nov 30, 2011 10:26 pm
Location: india

Re: Redirect to local html

Post by alecblumenfeld » Thu Dec 01, 2011 8:44 pm

so im going to try out i jetty

alecblumenfeld
Posts: 5
Joined: Wed Nov 30, 2011 10:26 pm
Location: india

Re: Redirect to local html

Post by alecblumenfeld » Thu Dec 01, 2011 11:33 pm

so i have been tinkering, and i have been using kws server to host my index.html, it's at 127.0.0.1:8080 but i cant change the port to 80 bc it is apparently in use, and i cant change the port in WK, any suggestions?

alecblumenfeld
Posts: 5
Joined: Wed Nov 30, 2011 10:26 pm
Location: india

Re: Redirect to local html

Post by alecblumenfeld » Fri Dec 02, 2011 4:25 am

haha i figured it out, but i had to use a mac to host the file, but it worked flawlessly. my only request for the next version of the WK is to be able to change the port associated with the redirect ip, if you add that and better ics support i will defiantly donate

Post Reply