I'm developing a web application on my linux laptop. To
be as self contained as possible I configured WAKom to serve the javascript and stylesheet files with the following configuration: ma := ModuleAssembly core. ma serverRoot: (FileDirectory default directoryNamed: 'webroot') fullName. ma alias: '/seaside' to: [ma addPlug: [:request | seaside process: request]]. ma documentRoot: (FileDirectory default directoryNamed: 'webroot') fullName. ma directoryIndex: 'index.html index.htm'. ma serveFiles. (HttpService startOn: 9090 named: 'httpd') plug: ma rootModule This works quite well. But if I move the image to another host the web application works but the image does not serve the static files. For every request I get an 404 from Comanche. Any ideas? I've checked that there are no permission problems or similar things. Norbert _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
2008/9/10 Norbert Hartl <[hidden email]>:
> I'm developing a web application on my linux laptop. To > be as self contained as possible I configured WAKom to > serve the javascript and stylesheet files with the > following configuration: > > ma := ModuleAssembly core. > ma serverRoot: (FileDirectory default directoryNamed: 'webroot') > fullName. > ma alias: '/seaside' to: [ma addPlug: [:request | seaside process: > request]]. > ma documentRoot: (FileDirectory default directoryNamed: 'webroot') > fullName. > ma directoryIndex: 'index.html index.htm'. > ma serveFiles. > (HttpService startOn: 9090 named: 'httpd') plug: ma rootModule > > This works quite well. But if I move the image to another host the > web application works but the image does not serve the static > files. For every request I get an 404 from Comanche. > > Any ideas? I've checked that there are no permission problems > or similar things. Of course, the problem is that the FileDirectory still points to the old, no longer existing folder. FileDirectory default directoryNamed: 'webroot' Cheers Philippe _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On Thu, 2008-09-11 at 08:28 +0200, Philippe Marschall wrote:
> 2008/9/10 Norbert Hartl <[hidden email]>: > > I'm developing a web application on my linux laptop. To > > be as self contained as possible I configured WAKom to > > serve the javascript and stylesheet files with the > > following configuration: > > > > ma := ModuleAssembly core. > > ma serverRoot: (FileDirectory default directoryNamed: 'webroot') > > fullName. > > ma alias: '/seaside' to: [ma addPlug: [:request | seaside process: > > request]]. > > ma documentRoot: (FileDirectory default directoryNamed: 'webroot') > > fullName. > > ma directoryIndex: 'index.html index.htm'. > > ma serveFiles. > > (HttpService startOn: 9090 named: 'httpd') plug: ma rootModule > > > > This works quite well. But if I move the image to another host the > > web application works but the image does not serve the static > > files. For every request I get an 404 from Comanche. > > > > Any ideas? I've checked that there are no permission problems > > or similar things. > > Of course, the problem is that the FileDirectory still points to the > old, no longer existing folder. > > FileDirectory default directoryNamed: 'webroot' > StartupList. Norbert _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |