Step 4: Apache quicky setup

See http://www.instructables.com/id/Home-Automation-MSWindows-XP/ for one of many ways to set up a quicky apache web server on windows.



or not Apache (try at your own risk.


How do you change the directory? Going to <em>C:\Documents and Settings\Dylan\Desktop\SHARED VIA FTP</em>&nbsp;in cmd isn't working for me. :(
Sounds like a rights issue at first glance.
it would b pretty useful for any power user that has a random python installation. Also, i just noticed, in the last step you said you need to type in &quot;xxx.xxx.xxx.xxx:8000&quot; and it should be 8080. Just a heads up. :) oh and there is a portable version of XAMPP or there is a program called HTTP file server. Both of them are portable and can fit on a flash drive. go to:<br><br>http://www.webdesignbooth.com/32-useful-portable-apps-for-web-designers-and-developers/<br><br>they have some links.
Thank you for the comment and noticing the issue. I missed that. That is what I get for cutting and pasting from my other instructable while in a hurry to get it done. Should be fixed now.
No prob. I used it and it works like a charm. Also works in linux, but you can just type:<br><br>python -m SimpleHTTPServer 8080<br><br>this will do the same basic thing. Also, this will only work over a network unless you have port forwarded 8080 on your router. :) <br><br>Happy coding. ^_^
Thank you for the comment!<br><br>You are right about linux, In fact I did that with the instructable I did just before this one. http://www.instructables.com/id/Quicky-web-server-for-linux/<br><br>Yes, I am aware of the port forwarding but there are some security issues so that is why I did not mention it. <br><br>I am in the process of doing a new instructable about doing home automation proof of concept with the Wampserver software. If I wanted to I probably could do an update for this server to do that also. Then things get really interesting.
Thank you for commenting. <br><br>I was using an old Dell gx110 and downloaded the minimal python. I had the whole thing running in a few minutes. This was not meant to be a full blown server. The next time you want to do the quicky server you will not have to download and install python, so set up only take a few seconds by just running the command. You can not even start up apache that fast on the average machine. No need for a sledge hammer when all you need is a flyswatter. <br><br>Nothing wrong with the open source web servers such as xampp, apache, lighttpd, or even nginx, but they would have taken considerable more time to set up. With XP you could probably also use IIS (god forbid). To download just a few files, that would not be feasible usually. <br><br>There a ton of instructables on setting up a web server both under MSWindows and Linux. No need to reinvent the wheel.<br> <br><br>
Hmm... Not that quicky, you have to download python. What's the problem of just downloading apache or lighttpd?

About This Instructable


13 favorites


Bio: computoman.blogspot.com Bytesize articles instead of a trilogy in one post.
More by Computothought: Coffeepot meals Easy sun hat Easy cakes and pies.
Add instructable to: