[Seaside] Lighttpd server and seaside

Dario Trussardi dtrussardi at tiscali.it
Fri Sep 19 16:44:12 UTC 2008


Hi All,

I work wit GLASS ( Gemstone 2.2.5.4) on a Ubuntu with Lighttpd web server configured on port 8181.

I have some description based on MAFileDescription.
My objective is to manage the relative I/O file from the lighttpd server.

I add to the MAFileDescription  the code kind: MAExternalFileModel.

And i change the baseUrl of MAExternalFileModel to: '192.168.1.100:8181' for point to the server.

But d'ont work.


Now for understand the configuration  i think to test all in Squeak ( Seaside 2.8a1 pmm.577 )

A) I have do some test about lighttpd configuration.

The fastcgi.server work fine.

But the server.document-root d'ont work.

In the server i have create the /var/www/testdtr with the file pizze.jpg

And the lighttpg.conf is set with:
.......
>server.document-root       = "/var/www/" 


$HTTP["url"]=~ "/image" {
>
> server.document-root       = "/var/www/testdtr/"}
>

Now from the browser when digit  :

1) http://192.168.1.100:8181/testdtr the system answer with the Index of /testdtr/

2) http://192.168.1.100:8181/image 
    
    or http://192.168.1.100:8181/image/pizze.jpg  the system answer the error HTTP 404 file not found

Anyone have idea about this problem ?

B) For now the MAFileDescription configured as on, when define  save the relative file on Squeak2.3\File\fb\goz........ directory on the client.

    And when view d'ont display anything . The relative URL is set 192.168.1.100:8181/image/fb/goz.... 

    Where i wrong ?

Any pointers would be greatly appreciated!

Thanks!




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20080919/3cf6d587/attachment.htm


More information about the seaside mailing list