perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markhutch <m...@solidair.ca>
Subject Can't "see" file system
Date Fri, 07 Mar 2008 17:07:24 GMT

I have a working Apache2/Perl 5.8.8 multi-threaded system using mod_per2.0.3
running on Solaris 9. I have a working SOAP service which checks for the
existence of certain files located outside the htdocs path. Everything works
fine.

I installed the same Apache2/Perl/mod_perl2 using the same make switches etc
on a different machine (also running solaris 9) and I can use a browser and
it works. If I call a simple page (Rocks.pm - comes with mod_perl2 (or
Apache2 - can't remember which)). It comes back and says mod_perl rocks.
That also works.

However, if I add a simple test to the Rocks.pm:
if (-e "/path/to/file.txt") { print "file exists"; }

The Rocks.pm NEVER sees the "file.txt" - it doesn't think it exists. The
file DOES exist and it has 777 permissions. It has a few lines of text
(therefore, NOT empty). 

And there are no errors in the Apache2 log file.

Any ideas as to where to start looking would be greatly appreciated.
-- 
View this message in context: http://www.nabble.com/Can%27t-%22see%22-file-system-tp15901022p15901022.html
Sent from the mod_perl - General mailing list archive at Nabble.com.


Mime
View raw message