LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Retrieve a file from another server (https://www.linuxquestions.org/questions/linux-newbie-8/retrieve-a-file-from-another-server-367692/)

bijuhpd 09-28-2005 12:42 AM

Retrieve a file from another server
 
hi ,

I am having 2 RHEL boxes , both with apache running on it (server1,server2).
How can i check the availability of a file in the second server from the first one?
I tried http://server2/images/myfile but got no response.
myfile is in another drive.

the situation is,
/dev/hdc1 /
/dev/sdb1 /files
server2 DocumentRoot=> /var/www/html/mysite
myfile resides in =>/files/pictures/myfilefolder
I have a soft link /var/www/html/mysite/images => /files/pictures/myfilefolder

Here i want to check a particular file present in server2 ant get it from server2 if present.


Thanks in advance,
biju

Mara 09-28-2005 02:44 PM

Check your Apache configuration. There's an option that doesn't allow symbolic links. Which error do you get when trying to access the files?

bijuhpd 09-29-2005 12:04 AM

hi,

Thanks for the reply

I tried it and the "Symbolic link not allowed error" disappeared.
Now i have some permission problem.
Hope i can sort out that.


Thanks,
biju


All times are GMT -5. The time now is 10:37 AM.