[Catalyst] OT Apache question

Andrew Rodland arodland at comcast.net
Fri Nov 28 03:10:10 GMT 2008


On Thursday 27 November 2008 08:45:16 pm Jesse Sheidlower wrote:
>
> However my document root is at /usr/local/www/data, which
> obviously does not include /usr/local/www/modules. So, if I
> try to follow the Static::Simple suggestion of adding, say,
>
> <Location /Incomings/static>
> 	SetHandler default-handler
> </Location>
>
> this obviously won't work because /Incomings/static isn't in
> fact under my document root, it's in the filesystem at
> /usr/local/www/modules/Incomings/root/static/. Trying this
> just gives me 404's for all of the static stuff (CSS, images,
> JS).
>
> How do I configure Apache to serve these files, without
> reorganizing what is by now a rather complicated directory
> structure?

Alias /incomings/static /yada/yada/root/static
<Location /incomings/static>
	SetHandler default-handler
</Location>



More information about the Catalyst mailing list