Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


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

Rep: Reputation: 15

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
Registered: Apr 2004
Location: Oxford, UK
Distribution: Ubuntu, Debian, various
Posts: 230
Blog Entries: 5

Rep: Reputation: 33

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 ;-)



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 > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:22 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