At 10:31 PM 3/7/02 -0600, [EMAIL PROTECTED] -Clint Hamilton 
wrote the following:

>Hi all.  I just tried out "SimpleServer" from
>http://www.analogx.com/contents/download/network/sswww.htm
>I'm hoping someone is familiar with it. It works, but I don't
>understand how you are supposed to host a webSITE with it.
>Looks like it will only host one page.  I can't make this out
>in the readme file (it's only a couple of paragraphs).  It
>DOES say "webpageS", but doesn't clarify if that's one page
>at a time.  I put one of my index pages up with it, I clicked
>some links on the page, and they actually work and have the
>temporary IP hosted address in their prefix (ex.
>www.IP/REGULARpageName.html )  In other words, the links
>work, and the pages they lead to have the temp IP address in
>the prefix, but have my REGULAR URL that is at my hosted site
>showing up as normal in the suffix.  How can this be?  I also
>notice there is no images showing up on the main webpage, but
>there ARE images showing up on "some" of pages.  I don't know
>why this is.  How does one now get all the images to show up?
>Why are only some of the images showing up?  How can it be
>that my regular sub pages are currently hosted showing up by
>clicking the links on the temp. index page that has the temp.
>IP address prefix?

The IP (Internet Protocol) address in the SimpleServer is the IP address of 
your connection to the internet which no doubt is a dynamic IP address. If 
you use a modem, cable or DSL (Digital Subscriber Line) link to the net, 
your IP address changes every time you connect to the internet because most 
ISPs run DHCP (Dynamic Host Configuration Protocol) servers.

This IP address must be made available to the outside world if you wish to 
allow access to your PC. Hence, you cannot have a firewall blocking access 
to your PC or it must be configured to allow HTTP access. WARNING: 
configuring your PC to allow access by the world is a dangerous practice.

When you configure this server, you give it a directory on your PC to serve 
up web pages. Normally the default web page is named "index.htm" or 
"index.html". The names on your PC must be the same as the names coded as 
links in the web pages. That is, many people store the file on their PC as 
index.htm but on their UNIX server as index.html. This will cause a 
conflict as all pages will not be found if they have a different file 
extension (htm versus html). In addition, the names of the directories and 
subdirectories must be the same. That is, if on your UNIX server host, the 
images are stored in a subdirectory called /images, then the same 
subdirectory must be on your PC. In other words, the directory structure on 
your PC must be the same as that of your UNIX host. This includes file 
names and extensions and capitalization. If any of these differ, then all 
the pages will not display and/or all of the images.

>I guess I'll give the IP address, but I don't know how long
>I'm going to keep this program running.
>http://192.168.0.119/  That is the page I have temp. hosted
>now from this PC and the same "real" page that is really
>hosted is http://orpheuscomputing.com/main.html  If you click
>any links on that first URL, you'll see that IP address stays
>the same, yet has the current and correct suffix (sub pages)
>in the URL address that is at the real hosted site.  I just
>don't know how this really works....it appears my entire site
>is now hosted from this PC.  IF so, how can that be?  If not,
>then how can that temporary IP address be in the URL prefix
>of the links clicked on the http://192.168.0.119/  page?

Your site can be hosted from your PC via the IP address 
(http://192.168.0.119/) because you are using a simple web server. The IP 
address is the dynamic address of your connection to the internet at the 
time you connection via your ISP either by modem, cable or DSL. If you 
disconnect and re-connect you should see a change in IP address.

A quick method of seeing your IP address is to run "ipconfig.exe" from an 
MS-DOS prompt.

The server is showing web pages on your PC and all connections through this 
IP address will be to your PC. Make sure that you not blocking access via a 
firewall like ZoneAlarm. WARNING: configuring your PC to allow access by 
the world is a dangerous practice.

Any computer can be turned into a web server by installing server software 
and connecting the machine to the Internet. The Simple Server software does 
this by allowing access via Port 80 (The HTTP port) to your PC and the 
directory pointed to via the IP address you connected with. The software 
has no "bells and whistles", hence, no safeguards, but does what is expected.





--
Gerry Boyd
============= PCWorks Mailing List =================
Don't see your post? Check our posting guidelines &
make sure you've followed proper posting procedures,
http://pcworkers.com/rules.htm
Contact list owner <[EMAIL PROTECTED]>
Unsubscribing and other changes: http://pcworkers.com
=====================================================

Reply via email to