Tomas, you have made me see the light! I moved the DocumentRoot to
/LookingGlass and chowned it to apache.apache and everything works, now!
Here is my command line (Fedora 9):
sudo strace -f /usr/sbin/httpd -f /tmp/httpd.conf -X
And here is the .conf I used:
--------------------------------------------------------------------------------
ServerName lg01pc01
Listen 80
PidFile run/httpd.pid
User apache
Group apache
LoadModule perl_module modules/mod_perl.so
<IfModule prefork.c>
StartServers 1
MinSpareServers 1
MaxSpareServers 1
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>
PerlOptions +GlobalRequest
PerlSwitches -I/LookingGlass/lib
PerlSwitches -I/LookingGlass/lib/Net
PerlSetEnv LookingGlassRoot /LookingGlass
PerlModule LookingGlass
DocumentRoot /LookingGlass/root/
<Location />
SetHandler modperl
PerlResponseHandler LookingGlass
</Location>
--------------------------------------------------------------------------------
It was lame to assume that Apache could just cd into a directory under my
home and access it - I guess there is a folder hierarchy it has to tranverse
and my home folder is not +x to others... duh. I'll just my app's deployment
folder to this root location and chown it all.
Thanks! Now to merge this with the server's httpd.conf into a VirtualHost
entry!
On Wed, Sep 17, 2008 at 21:54, Tomas Doran <[EMAIL PROTECTED]> wrote:
> Is there a way to know what path Catalyst is looking for the file? What was
>> the precise error? Whatever info more you need, I am able to provide.
>> Please
>> help me...
>>
>> Thanks for your time reading this,
>>
>
> strace is your friend.
>
> Copy your apache config to /tmp, reset it to a high port for testing,
> reduce the MinSpareServers to 0, MinSpareServers to 1, and set StartServers
> to 1 (assuming the prefork mpm here..
>
> Then start your apache with strace -f, and grep out index.tt (i.e. say
> something like: sudo strace -f /usr/sbin/apache2 -f /tmp/debugapache.conf
> 2>&1 | grep index.tt | tee /tmp/apache-syscalls.log)
>
> Then hit the index page of your app, and you'll get what you want in the
> output...
>
> Cheers
> t0m
>
>
>
>
>
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>
--
Bruno
http://iruel.net
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/