[Seaside] Seaside and Apache on the Mac

Nevin Pratt nevin at bountifulbaby.com
Sat Apr 5 17:25:09 UTC 2008


Thank you.  Your pointers helped immensely.

Nevin

> Yes. I am using 10.5.2.
> I added the rewrite rules to my user's apache conf which is included 
> by /etc/apache2/extra/httpd-userdir.conf (which should in turn be 
> included by http.conf by default).
>
> Add the following lines to your /etc/apache2/user/[YOUR_USERNAME].conf 
> and you should be fine (assuming seaside runs on port 8080):
>
> RewriteEngine On
>
> # Pass application requests to seaside
> RewriteRule ^/seaside/files/(.*) 
> http://localhost:8080/seaside/files/$1 [P,L]
> RewriteRule ^/seaside/static/(.*)$ 
> /~[YOUR_USERNAME]/seaside/docroot/$1 [P,L]
> RewriteRule ^/seaside/(.*)$ http://localhost:8080/seaside/$1 [P,L]
>
> <Directory "/Users/[YOUR_USERNAME]/Sites/">
>     Options Indexes MultiViews FollowSymLinks
>     AllowOverride None
>     Order allow,deny
>     Allow from all
> </Directory>
>
>
> Cheers, Michael
>
>
>
> Am 04.04.2008 um 22:27 schrieb Nevin Pratt:
>
>> You are on an Apple Macintosh?
>>
>> Nevin
>>> I use mod_rewrite and mod_proxy for this:
>>>
>>>
>>> # Pass application requests to seaside
>>> RewriteRule ^/seaside/files/(.*) 
>>> http://localhost:8080/seaside/files/$1 [P,L]
>>> RewriteRule ^/seaside/static/(.*)$ /~mic/seaside/docroot/$1 [P,L]
>>> RewriteRule ^/seaside/(.*)$ http://localhost:8080/seaside/$1 [P,L]
>>>
>>> Requests to static files will go to docroot and will be served by 
>>> apache. All other requests will go to seaside.
>>>
>>> Cheers, mic
>>>
>>>
>>>
>>> Am 04.04.2008 um 17:31 schrieb Nevin Pratt:
>>>
>>>> Does anybody have a working Apache config file for using Seaside 
>>>> behind Apache on a Mac?
>>>>
>>>> Nevin
>>>>
>>>> _______________________________________________
>>>> seaside mailing list
>>>> seaside at lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>> Michael Markowski
>>> michael.markowski at gmail.com
>>>
>>> Si forte in alienas manus oberraverit hec peregrina epistola 
>>> incertis ventis dimissa, sed Deo commendata, precamur ut ei reddatur 
>>> cui soli destinata, nec preripiat quisquam non sibi parata.
>>>
>>> (Translation: If by chance this wandering epistle, sent forth to the 
>>> uncertain winds but commended to God, wanders into alien hands, I 
>>> beg that it be returned to her to whom alone it was sent, nor should 
>>> anyone steal things not written for him.) From: The prologue to the 
>>> Liber Confortatorius of Goscelin of St. Bertin (born between 1030 
>>> and 1040).
>>>
>>>
>>> _______________________________________________
>>> seaside mailing list
>>> seaside at lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> Michael Markowski
> michael.markowski at gmail.com
>
> Si forte in alienas manus oberraverit hec peregrina epistola incertis 
> ventis dimissa, sed Deo commendata, precamur ut ei reddatur cui soli 
> destinata, nec preripiat quisquam non sibi parata.
>
> (Translation: If by chance this wandering epistle, sent forth to the 
> uncertain winds but commended to God, wanders into alien hands, I beg 
> that it be returned to her to whom alone it was sent, nor should 
> anyone steal things not written for him.) From: The prologue to the 
> Liber Confortatorius of Goscelin of St. Bertin (born between 1030 and 
> 1040).
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



More information about the seaside mailing list