Help answer threads with 0 replies.
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 11-26-2004, 05:45 PM   #1
Registered: Jul 2003
Location: Chicago, IL
Distribution: Fedora Core 4
Posts: 58

Rep: Reputation: 15
Perl, script to serve files from another server

I was wondering how I might go about setting up a Perl script that will serve files from a networked http server when executed. The server the script would reside on is internet accessible, while the networked server is not, and I wish to be able to remotely access that server.

Any help would be appreciated. (I have managed to get a simple script that will request files, but I would like it to basically, in effect, redirect to that server, such that I can still get the directory listings, etc)

Old 11-26-2004, 07:56 PM   #2
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Rep: Reputation: 30
I don't really follow what you're saying but, you might not really need a perl script to do this.

If you SSH into the computer that is on the Internet then use something like lynx to get pages from the
http server. that would be simpler.
Old 11-26-2004, 10:07 PM   #3
Registered: Jul 2003
Location: Chicago, IL
Distribution: Fedora Core 4
Posts: 58

Original Poster
Rep: Reputation: 15
I basically just want to be able to access my web server through that web server, and my best idea thus far is just to relay information w/ cgi.


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
web server ,dns serve,mysql server ibrahimovhasan Linux - Newbie 4 05-11-2005 04:29 AM
serve ogg vorbis files compatible with windows clients? rioguia Linux - Software 1 04-04-2005 08:05 AM
Converting a Windows Perl script to a Linux Perl script. rubbercash Programming 2 07-19-2004 11:22 AM
Apache Server won't serve up large files perrond Linux - Networking 4 06-21-2004 11:53 AM
Perl Script - Detect if Server up zael Programming 1 02-09-2004 11:13 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:25 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
Open Source Consulting | Domain Registration