[Seaside] forbidden dilemma (apache2 + pier)
Tudor Girba
tudor at tudorgirba.com
Mon Dec 17 06:54:16 UTC 2012
Hi,
Indeed. I added
<Location />
Order deny,allow
Allow from all
</Location>
and now it works.
I used an old Apache 2 before (not that the 2.2.14 is too new either), and this seems to have not been necessary before.
Cheers,
Doru
On 17 Dec 2012, at 08:15, Dmitry Dorofeev <dima-sender-3c337a at yasp.com> wrote:
> You need
>
> Allow from all
>
> Inside the <Location />
>
> -Dmitry
>
> On 17.12.2012, at 0:47, Tudor Girba <tudor at tudorgirba.com> wrote:
>
>> Hi,
>>
>> I have the following problem with an apache 2.2.14 (running on Ubuntu 10) + a pier image:
>>
>> - I have my little pier image running on port 8004
>>
>> - if I "curl localhost:8004/pier", I get a proper page back
>>
>> - I then have a configuration like:
>> <VirtualHost *:80>
>> ProxyPreserveHost On
>> ServerName humane-assessment.com
>>
>> DocumentRoot /srv/humane-assessment.com/web
>> <Directory /srv/humane-assessment.com/web>
>> Order deny,allow
>> Allow from all
>> </Directory>
>>
>> RewriteEngine On
>> RewriteCond /srv/humane-assessment.com/web/%{REQUEST_FILENAME} !-f
>> RewriteRule ^/(.*)$ http://localhost:8004/pier/$1 [proxy,last]
>> </VirtualHost>
>>
>> - I enabled extra: proxy.load, proxy.conf, proxy_http.load, rewrite.load
>>
>> - accessing files stored in /srv/humane-assessment.com/web works just fine (for example, http://humane-assessment.com/favicon.ico)
>>
>> - however, when I go to http://humane-assessment.com/, I get "403 Forbidden"
>>
>>
>> Does anyone have an idea why that is?
>>
>>
>> Cheers,
>> Doru
>>
>>
>> --
>> www.tudorgirba.com
>>
>> "The coherence of a trip is given by the clearness of the goal."
>>
>>
>>
>>
>> _______________________________________________
>> 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
--
www.tudorgirba.com
"Next time you see your life passing by, say 'hi' and get to know her."
More information about the seaside
mailing list