[Catalyst] Catalyst::Plugin::Static::Simple 0.11 on Win32

Jules Bean jules at jellybean.co.uk
Mon Nov 14 14:55:44 CET 2005


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



More information about the Catalyst mailing list