Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-28-2005, 12:42 AM   #1
LQ Newbie
Registered: Feb 2005
Posts: 28

Rep: Reputation: 15
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,
Old 09-28-2005, 02:44 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,671

Rep: Reputation: 218Reputation: 218Reputation: 218
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?
Old 09-29-2005, 12:04 AM   #3
LQ Newbie
Registered: Feb 2005
Posts: 28

Original Poster
Rep: Reputation: 15

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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to retrieve mail from server? UnknownFear Linux - Newbie 2 03-27-2006 09:03 AM
retrieve picture file from squid cache k_c_koh Linux - Networking 1 09-30-2005 01:50 AM
Retrieve only a single line from a file rose_bud4201 Programming 4 06-22-2005 06:26 PM
HELP: PERL script to retrieve file listing xboxter Programming 2 05-19-2005 09:19 AM
how to retrieve deleted file in linux? markhod Linux - Software 4 09-08-2004 10:29 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration