Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Simple HTTP server?

  • 18-02-2006 4:19am
    #1
    Closed Accounts Posts: 19,080 ✭✭✭✭


    I'm looking for a simple HTTP server I can run on my PC. What do I mean by simple?

    It's "portable", sits in a folder on it's own. It has a folder in it called "www" or something. I put files into it. I run the exe.

    People then type my IP into their address bar and bobs your uncle. No messing about.

    One that supports php would also be useful.

    Please don't suggest Apache as it's not what I'm looking for.

    Any other suggestions? cheers


Comments

  • Registered Users, Registered Users 2 Posts: 22,231 ✭✭✭✭Sparky


    ciaranfo wrote:
    I'm looking for a simple HTTP server I can run on my PC. What do I mean by simple?

    It's "portable", sits in a folder on it's own. It has a folder in it called "www" or something. I put files into it. I run the exe.

    People then type my IP into their address bar and bobs your uncle. No messing about.

    One that supports php would also be useful.

    Please don't suggest Apache as it's not what I'm looking for.

    Any other suggestions? cheers

    this is exactly what you need, its called appserv and installs apache, php, mysql and phpmyadmin.

    it creates a folder called www in c:/appserv and anything in that folder is web visable aslong as your firewall is set.

    i use it and it does the job
    http://sourceforge.net/projects/appserv


  • Moderators, Education Moderators, Motoring & Transport Moderators Posts: 7,396 Mod ✭✭✭✭**Timbuk2**


    That link says that is could not read the file

    I can download it from here though:
    http://prdownloads.sourceforge.net/appserv/appserv-win32-2.4.5.exe?download


  • Registered Users, Registered Users 2 Posts: 3,514 ✭✭✭Rollo Tamasi


    why is apache not what your looking for. It's the obvious choice.
    You will need to look into port forwarding as well and forward
    ports 21 / 80 / 81 outbound from your IP to the global network. The only things you realy need are a static IP (for conveince) and a router, the rest is all software.


  • Closed Accounts Posts: 6,151 ✭✭✭Thomas_S_Hunterson


    Whats wrong with Apache, it's the best there is, and it's free! (and supports PHP)
    Theres one that comes bundled with Windows XP Pro also, i haven't bothered with it though cus i dont like the look of it.


  • Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes




  • Advertisement
  • Registered Users, Registered Users 2 Posts: 22,231 ✭✭✭✭Sparky


    edited so ;)
    That link says that is could not read the file

    I can download it from here though:
    http://prdownloads.sourceforge.net/appserv/appserv-win32-2.4.5.exe?download


  • Closed Accounts Posts: 19,080 ✭✭✭✭Random


    Don't worry about port forwarding and routers, that can be sorted out.

    I don't want Apache because the last time I used it (iirc) it installed services, registry entrys and what not on the computer. I want something portable that will survive through multiple formats and will even run off a flash drive.


  • Registered Users, Registered Users 2 Posts: 3,514 ✭✭✭Rollo Tamasi


    you can install php as far as I know on PWS or IIS.
    As for other platforms....the only other i'm aware of is Tomcat but that is a deriritave of Apache anyway.


  • Closed Accounts Posts: 19,080 ✭✭✭✭Random


    PHP isn't absolutly essential. . just a nice extra.


  • Registered Users, Registered Users 2 Posts: 58 ✭✭kyper


    try xitami. its free, small and nice and fast. Oh it also supports php


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,865 ✭✭✭Syth


    There's a Python module called SimpleHTTPServer. It's included in the default Python distribution. To run it just enter the directory where you want to serve files form and the following into an interactiva Python shell:
    import SimpleHTTPServer
    SimpleHTTPServer.test()
    
    Nice and simple. That runs a HTTP server on port 8000.

    Limitations:
    It can only serve up static files, no PHP, and it's single threaded, Only one file can be server at any one time.

    I've only used it briefly so I don't know what it's performance is like.


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 93,583 Mod ✭✭✭✭Capt'n Midnight


    http://www.wikiserver.org
    your own wiki server - very easy to update will also share HTML files ( and you can export the wiki pages to HTML so you can develop on one port and then share read only on another port. )
    you just dump the files into a folder and run it from there.
    also dumpallpages dumps the website into a single file - so a single right click is all you need to backup, you can restore on Linux / MAC OS if you want

    http://www.ritlabs.com/tinyweb/ - a tiny server stopped looking at it when I realised that wikiserver would share other file types too.

    neither of the above do php though


    TBH if you are generating the content elsewhere then apache is yer only man. only reasons not to use are if your scripting needs IIS or if you are using for internal use only. (IIS it isn't secure - if sharing on the internet patch early and often and check that disabled services/options haven't been reenabled every time you install a new app or service pack )


Advertisement