LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-03-2004, 01:07 PM   #1
akaash
LQ Newbie
 
Registered: Mar 2004
Location: Gujarat, India
Posts: 22

Rep: Reputation: 15
dilemma?(perl)


my project is about archiving mails from one linux server(main) to another linux server(backup).

this is done. but now i want my users to be able to view the mails again which they have archived.

i m having 3 options:

1 - give url of the cgi script running on backup server which is almost same as that running on main server. that script will be able to display the archived mails of backup server as my main script on main server is doing.

2 - Display the mails using sockets in perl by transfering msgs. and displaying.

3 - Is there a way in perl/cgi to open remote file. i.e. my main script,which is on main server, can access the backup server's file ?

I m confused for which of these ways to go for? Plz help me taking all +points and -points of the prefered approch.

And ya is the 3rd option possible ; if so then how?
 
Old 04-03-2004, 04:06 PM   #2
avarus
Member
 
Registered: Apr 2004
Location: Oxford, UK
Distribution: Ubuntu, Debian, various
Posts: 230
Blog Entries: 5

Rep: Reputation: 33
Hi,

Not sure if this will be any use to you. Generally the Perlmonks are the best people for Perl advice, but you seem to be after a design decision rather than a technical question, and I don't think you will find that answer online!

Regarding option 3, is there any reason you cannot nfsmount the files from the backup server? That saves you having to maintain direct web access to the backup system, which is surely a good thing. Information on NFS is in any good Linux manual, which of course as a sysadmin you will have right to hand ;-)

TIM
 
  


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
Boot dilemma zatka Linux - Software 2 05-17-2005 08:51 AM
Debian Dilemma habala Linux - Newbie 3 12-31-2004 12:47 PM
Perl Regular Expression dilemma GATTACA Programming 1 03-27-2004 07:48 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM
CD-R/RW dilemma neo77777 General 10 09-07-2002 09:42 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:43 AM.

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
Open Source Consulting | Domain Registration