Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Serve View web pages aross a Network (LAN)

Status
Not open for further replies.

jimmypur

IS-IT--Management
Jul 22, 2004
17
FR
Hi

Firstly I am a complete newby to Apache; I have managed to install Apache and set up it up on my computer so that I can view my web site on my harddrive. I need apache to this because amonst other things I use SSI's on the site.

My computer is linked via a Network hub to another computer (my wifes) and what I have not been able to do is enable her to view the site in her browser. Apache is not isntalled on her machine and I would rather not do so. Can I force Apache to "serve" (if that is the correct word) pages to her machine?

What else can I tell you? Here are some salient lines (I think) from httpd.conf

Listen 80

<VirtualHost *>
ServerAdmin webmaster@purpleski.com
DocumentRoot e:/websites/purpleski
ServerName purpleski.com
ServerAlias ErrorLog e:/websites/purpleski/logs/error_log
CustomLog e:/websites/purpleski/logs/access_log combined
ErrorDocument 404 /errorpage.html

<Directory "e:/websites/purpleski">

Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

Options Indexes FollowSymLinks +Includes
AllowOverride None
Order allow,deny
Allow from all


</Directory>

ScriptAlias /cgi-bin/ "e:/websites/purpleski/cgi-bin/"

<Directory "e:/websites/purpleski/cgi-bin">

AllowOverride None
Options None
Order allow,deny
Allow from all

</Directory>

</VirtualHost>

Hope some one can help and if you need more detailed info please let me know.


Thanks

Purpleperson
 
If apache works on yours, there is no reason that she can't access the server unless you have port 80 blocked on your machine. For another machine on your local network to access the server, all they have to do is put the server's host name (machine name) or local ip into their browser. If the ServerName is not a registered domain name, it can't be accessed from the outside world because there will be no dns servers to point the name to your ip.

 
Thanks RhythmAce for coming back to me. Just so I am not misleading you, Apache is loaded onto my machine. There are only two computers in the network mine (M) and my wifes (K).

I did not understand "If the ServerName is not a registered domain name, it can't be accessed from the outside world because there will be no dns servers to point the name to your ip"

Can you explain? I don't need the web site to be accessed from the outside world just these two computers on a network linked together by a Netgear network up but it does need to be through Apache because it uses SSI's etc.

Apache is installed and running on my machine M and works fine but I can not access the web site from K.

What I can not do is get K to access the localhost on M. My machine is called Michael (192.168.0.1) if I ping Michael from K I get Packets sent 4 Packets received 4 Lost 0 but I can't ping Karen from Michael machine. Does this help?

Thanks for all you help.

M
 
Have you wife enter 192.168.0.1 into IE on her machine. If Apache is setup right she should see your intranet site.

Do a search on Google for info on DNS, with a little reading you will know what your problem most likely is.

What OS do you and your wife run (XP, 2k, 98)?
 
Sorry for not coming back earlier but just wanted to say thank you RhythmAce and SLMHC for your help. You put me on the right track and it is now working!

pj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top