Results 1 to 7 of 7

Thread: Is it possible to serve web pages across various link styles?

  1. #1

    Thread Starter
    Stack Overflow mod​erator
    Join Date
    May 2008
    Location
    British Columbia, Canada
    Posts
    2,824

    Unhappy Is it possible to serve web pages across various link styles?

    Hello again!

    I would like to know whether it is possible to make a program that serves web pages, along with all of their embedded links and external CSS stylesheets or scripts? It would have to serve it across:

    a) a USB cable, attached to the serving and client computer
    b) a network, directly to other computers.

    I would really like it if option A were possible. B is what everything else uses, and I won't try that. I don't have a network.

  2. #2

    Thread Starter
    Stack Overflow mod​erator
    Join Date
    May 2008
    Location
    British Columbia, Canada
    Posts
    2,824

    Re: Is it possible to serve web pages across various link styles?

    Please, someone, if it's not possible, tell me no. Otherwise I'll go crazy waiting for an answer.

  3. #3
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Is it possible to serve web pages across various link styles?

    To "serve" something, you will need a "server". Now if you want to serve web pages, you'll need a web server. And that web server needs to be running in order to serve web pages. Can you have a running web server in a USB thumb drive? I guess not.... So the answer is pretty obvious:
    a) No. You cannot use a USB drive as a web server. You can store pages to be served there, but the drive itself cannot serve the pages.
    b) Yes. Any computer with the appropriate web server software installed can serve web pages.
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  4. #4

    Thread Starter
    Stack Overflow mod​erator
    Join Date
    May 2008
    Location
    British Columbia, Canada
    Posts
    2,824

    Re: Is it possible to serve web pages across various link styles?

    No, no, a USB cable. Directly connecting two computers.

  5. #5
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Is it possible to serve web pages across various link styles?

    Quote Originally Posted by minitech View Post
    No, no, a USB cable. Directly connecting two computers.
    And one of the computers is the web server? If the answer is yes, then the answer to your question is also yes.
    To use a (special) USB cable to network 2 computers, check this out:
    http://compnetworking.about.com/od/h...ecttwocomp.htm

    Eidt: This site has better instruction. Be aware, you must use a special USB calble called "USB bridge cable" to do this. Using regular USB cable can damage your computers hardware.
    http://www.ehow.com/how_2258736_conn...using-usb.html
    Last edited by stanav; Apr 7th, 2009 at 04:10 PM.
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Is it possible to serve web pages across various link styles?

    You'll either be in file-transfer mode or network mode. If it's file transfer mode, then it's a simple matter of providing the HTML file along with associated CSS and JS and JPG/GIF/PNG files, preferably under a single directory so it can be viewed easily.

    If it's network mode (and this is what I'm guessing you ant), then you'll need a web server anyways because for a machine on any network to serve web pages, it needs a web server so that you can do something like

    http://machine2/pagename.html

  7. #7

    Thread Starter
    Stack Overflow mod​erator
    Join Date
    May 2008
    Location
    British Columbia, Canada
    Posts
    2,824

    Re: Is it possible to serve web pages across various link styles?

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width