[Israel.pm] Mason: Trying to open a directory?

semuel semuel at semuel.co.il
Sat Jan 24 14:16:36 PST 2004

Hello There.


Mason is trying to open a direcotry under apache's root directory.

That is : /usr/local/apache/mason

Am I doing something wrong, or do I have to let him do it? (how?)


---- Apache version:

Server: Apache/1.3.29 (Unix) mod_perl/1.29


---- Apache relevant configuration:

Alias /masoni/ /home/semuel/mason/

<Location /masoni/>

    SetHandler perl-script

    PerlHandler HTML::Mason::ApacheHandler



---- Tail of the error_log:

[Sat Jan 24 23:57:40 2004] [error] mkdir /usr/local/apache/mason: 

Permission denied at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm 

line 151





  [(eval 43):6]



---- HTTP request/response:

[semuel at localhost ~/mason]$ curl -i http://localhost/masoni/index.html

HTTP/1.1 500 Internal Server Error

Date: Sat, 24 Jan 2004 21:57:39 GMT

Server: Apache/1.3.29 (Unix) mod_perl/1.29

Connection: close

Transfer-Encoding: chunked

Content-Type: text/html; charset=iso-8859-1




<TITLE>500 Internal Server Error</TITLE>


<H1>Internal Server Error</H1>

The server encountered an internal error or

misconfiguration and was unable to complete

your request.<P>

Please contact the server administrator,

 semuel at localhost and inform them of the time the error occurred,

and anything you might have done that may have

caused the error.<P>

More information about this error may be available

in the server error log.<P>


<ADDRESS>Apache/1.3.29 Server at Port 80</ADDRESS>



More information about the Perl mailing list