[Catalyst] Catalyst::Plugin::Static::Simple 0.11 on Win32
Christopher H. Laco
claco at chrislaco.com
Mon Nov 14 14:59:30 CET 2005
Jules Bean wrote:
> Will Hawes wrote:
>
>> MyApp->config->{static}->{include_path} = [
>> 'C:\\images' # here I have also tried 'C:\images' and 'C:/images'
>> ];
>>
>> The URL is 'http://localhost:3000/static/1.gif'.
>>
>> With the include_path setting commented out, the static file 1.gif is
>> served correctly from root/static. But if I copy the file to
>> C:\images, uncomment the include_path setting and restart the test
>> server, nothing is served. The debug log contains "Static::Simple:
>> 404: file not found: static/1.gif".
>
>
> put it in C:\images\static\1.gif
>
> J
When we're talking about directories outside of the Catalyst Apps root,
I think this is a misfeature. One shouldn't have to move their content
to allow it to be served by Catalysts static handlers. That is afterall,
the point of this plugin.
The directory requested was c:\images, and c:\images it should be; not
c:\images\static...
But I digress...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20051114/4642f571/smime.bin
More information about the Catalyst
mailing list