LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-28-2005, 01:42 AM   #1
bijuhpd
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,
biju
 
Old 09-28-2005, 03:44 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
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, 01:04 AM   #3
bijuhpd
LQ Newbie
 
Registered: Feb 2005
Posts: 28

Original Poster
Rep: Reputation: 15
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
 
  


Reply


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 10:03 AM
retrieve picture file from squid cache k_c_koh Linux - Networking 1 09-30-2005 02:50 AM
Retrieve only a single line from a file rose_bud4201 Programming 4 06-22-2005 07:26 PM
HELP: PERL script to retrieve file listing xboxter Programming 2 05-19-2005 10:19 AM
how to retrieve deleted file in linux? markhod Linux - Software 4 09-08-2004 11:29 AM


All times are GMT -5. The time now is 08:10 PM.

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