[Catalyst] Internal Server Error

Nagy Károly charlie at rendszergazda.com
Wed Apr 12 09:26:38 CEST 2006


><Location /static>
>     SetHandler default-handler
></Location>
>  
>

...or maybe better <Directory> or <Files> ...

cite from apache documentation:

<cite>


      What to use When

Choosing between filesystem containers and webspace containers is
actually quite easy. When applying directives to objects that reside in
the filesystem always use |<Directory>
<http://httpd.apache.org/docs/2.0/mod/core.html#directory>| or |<Files>
<http://httpd.apache.org/docs/2.0/mod/core.html#files>|. When applying
directives to objects that do not reside in the filesystem (such as a
webpage generated from a database), use |<Location>
<http://httpd.apache.org/docs/2.0/mod/core.html#location>|.

It is important to never use |<Location>
<http://httpd.apache.org/docs/2.0/mod/core.html#location>| when trying
to restrict access to objects in the filesystem.

</cite>

Charlie.

-- 
"...s minden mestert kinevettem, ki nem nevetett önmagán."
GPG public key: http://www.rendszergazda.com/gpg/charlie-gpg-public-key.asc




More information about the Catalyst mailing list