View previous topic :: View next topic |
Author |
Message |
Pirate -
Joined: 05 Apr 2006 Posts: 3
|
Posted: Wed Apr 05, 2006 9:04 pm Post subject: How can I index another computer in the same LAN |
|
|
Let's say I have Abyss Web Server installed on PC1. But the files I want to list are on PC2. How can I make the web server list the files that are on PC2, given that PC1 and PC2 are in the same LAN? In other words, by typing the IP address of PC, I get the files on PC2.
Last edited by Pirate on Wed Apr 05, 2006 10:47 pm; edited 1 time in total |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Wed Apr 05, 2006 10:06 pm Post subject: |
|
|
You could make a PHP script to do it or you could do it the easy way and make PC 2 run Abyss on another port, say 81 rather than 80 and link to it that way. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Apr 06, 2006 10:52 am Post subject: Re: How can I index another computer in the same LAN |
|
|
Pirate wrote: | Let's say I have Abyss Web Server installed on PC1. But the files I want to list are on PC2. How can I make the web server list the files that are on PC2, given that PC1 and PC2 are in the same LAN? In other words, by typing the IP address of PC, I get the files on PC2. |
Make the directory where the files are on PC2 shared (using Windows file sharing - right-click on the directory and select Sharing...). By doing so, any application on PC1 can access the files on PC2 using \\PC2name\sharename.
Now go to Abyss Web Server on PC1 and add an alias which virtual path is /my-other-files (choose any name) and which virtual path is \\PC2name\sharename. That's it.
When people access http://PC1/my-other-files, Abyss Web Server knows that it must look for these files on a shared network drive located on PC2. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|