Coder's Guild Mailing List

Re: Perl/ Linux/ Java

Posted by Matthew Pratt on 1999-03-10

> I'm still having trouble with the SSI's in Perl. I want a date,
saved in a
> file, which is quite a dull thing, but it takes a date, from a file,
prints
> it in part of the page. I can't get the exec thing to work, now is
this my
> fault? Do I have to set something else up??

Check that your perl script runs from the command line (i.e. is
executable, can find perl etc)
 
> If I do get this to work, how can I use Perl to take the date of the
file
> modification and use this date? And how can I do that for the whole
folder?

You could pipe the output of "ls -l" into perl and extract the dates.
There may be a beter way however.
 
> How do I set up apache under Linux to read a folder of web pages so
that I
> can boot Linux or Win and still have the server up and running. What
are the
> advantages of Apache??

Do you mean have the web server from both platforms read the same
webserver content? If so there is two ways of doing it: 1) there is a
deviec driver for 'doze that lets it read linux partitions 2) put you
httpd directory on a dos partition so that 'doze and linux can read it.
 
The advantages of apache are that its is free, the fastest webserver
available (fast on UNIX/Linux, slower on NT), the most common/popular
webserver, the most flexible, the most extendable. oooh and its free!!!

http://www.hzo.cubenet.de/ioscount/
http://www.netcraft.co.uk/survey/

==
Matty 

email - mattpratt@xxxxx.xxx
"Learn the console, become 1 with it, it is 0."
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com