Perl script - display log file in browser 
Author Message
 Perl script - display log file in browser

Hi,

I am looking for some example code to reside in /cgi-bin which will
display a UNIX log file (eg. /var/adm/messages) in a browser. All
example code is appreciated.

Thank you.



Sat, 15 May 2004 10:23:00 GMT  
 Perl script - display log file in browser

Quote:

> I am looking for some example code to reside in /cgi-bin which will
> display a UNIX log file (eg. /var/adm/messages) in a browser. All
> example code is appreciated.

no need for any code.  in the browseable directory, just
make a symlink to /var/adm/messages, and protect it
accordingly.

--

CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html
Troubleshooting CGI scripts - http://www.perl.org/troubleshooting_CGI.html



Sat, 15 May 2004 14:35:46 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. perl script displayed in browser sometimes...

2. logging script status to a log file

3. newbie: script only displays first line of text to the browser

4. newbie: script only displays first line of text to the browser

5. file display in browser!

6. can't display HTML file in browser

7. perl script to parse date from a log file

8. Perl module to display MIME email in browser?

9. Displaying a browsers History using perl

10. generic browser front-end displays (in perl) to a database

11. Needed, perl script for logging to file

12. Dynamically Sending an Adobe Acrobat PDF File to the Browser using PERL in a CGI Script

 

 
Powered by phpBB® Forum Software