GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 30-Jul-2004, 14:37
blurry blurry is offline
New Member
 
Join Date: Jul 2004
Posts: 12
blurry is on a distinguished road

Apache as localhost server


Situation: I have a shared drive on my PC on which I have installed and have working Apache/PHP/MySQL. All of the files for Apache/PHP/MySQL reside on this shared drive. When I connect to http://localhost I can use all of my PHP/MySQL apps and navigate my site as normal. I want others who have this shared drive on their PC to be able to connect to Apache on this shared drive and use the site accordingly. Is this possible?
  #2  
Old 30-Jul-2004, 15:16
blurry blurry is offline
New Member
 
Join Date: Jul 2004
Posts: 12
blurry is on a distinguished road
As a followup, how does Apache know to intercept a request when a user types 127.0.0.1 or http://localhost and direct the user to the local site?
  #3  
Old 31-Jul-2004, 02:33
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
I wonder..

do you wantthat all other users connect to your pc with Apache or should they all run Apache and use your drive?
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #4  
Old 02-Aug-2004, 11:57
blurry blurry is offline
New Member
 
Join Date: Jul 2004
Posts: 12
blurry is on a distinguished road
Basically, yes. There is a computer somewhere within our company which I don't have physical access to that has a drive that everyone in my office shares. It shows up as drive M:\ on everyone's pc and it has spreadsheets, word docs, etc. I have made a small PHP/MySQL app for use in our office to track sales that I would like to use on this shared drive for everyone to use. I installed Apache/PHP/MySQL on my machine and put all of the files for them on the M:\ drive thinking that anyone would be able to access them there. When I type http://localhost it pulls up on my browser and works correctly. When I try do that from someone else's computer in my office it doesn't work, which I think makes sense to me now. What I would like is for someone to be able to type in http://localhost or some other virtual host name and have it direct the browser to the apache service on this shared drive and use my app if that's possible. Any ideas?
  #5  
Old 03-Aug-2004, 09:06
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
typing http://localhost on other computers won't work.

they will need to use your ip address from the computer that runs apache.
I forgot how to find that under Windows, but I'm sure it was something with ipconfig, but again , I'm not sure.
for virtual hostnames you need to edit the HOSTS file on every computer. It should be in the windows directory and an example should also be included.. atleast that was on my Windows 98 install
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #6  
Old 04-Aug-2004, 08:13
blurry blurry is offline
New Member
 
Join Date: Jul 2004
Posts: 12
blurry is on a distinguished road
Thanks for your help!
 
 

Recent GIDBlogWriting a book by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't ping apache on redhat 9 by server name semsem Computer Software Forum - Linux 13 16-May-2004 08:32
Can't view pages from another machine on the Intranet aevans Apache Web Server Forum 9 14-May-2004 02:26
How to allow download file in Apache Web server? Zaro Apache Web Server Forum 1 24-Feb-2004 02:41
Running perl/cgi scripts on Apache server mikenowo Apache Web Server Forum 7 06-Feb-2004 10:42
Help making Apache to WAP server ! Lazmo Apache Web Server Forum 1 02-Jan-2004 12:27

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 21:00.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.