How can I index another computer in the same LAN

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Pirate
-


Joined: 05 Apr 2006
Posts: 3

PostPosted: Wed Apr 05, 2006 9:04 pm    Post subject: How can I index another computer in the same LAN Reply with quote

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 View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Wed Apr 05, 2006 10:06 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Apr 06, 2006 10:52 am    Post subject: Re: How can I index another computer in the same LAN Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group