[OLPC-SF] "solve problems" - Pathagar on Raspberry Pi

Alex Kleider akleider at sonic.net
Mon Jul 11 18:18:32 EDT 2016



On 2016-07-11 12:51, Dave Crossland wrote:
> On Jul 11, 2016 3:15 PM, "Alex Kleider" <akleider at sonic.net> wrote:
>> 
>> 
>> Having a problem, I'm shamelessly attempting to "ride the wave" 
>> here:-)
>> (The wave being the "solve problems" part of the Mission Statement.)
>> 
>> As many know, I've been trying to get Pathagar running along side
>> Rachel on the Raspberry Pi.
>> 
>> Current status:
>> 
>> Using Apache2's VirtualHost mechanism I'm able to 'serve' Rachel
>> (static) and a mod-wsgi "Hello World" dynamic site from the same
>> Pi.
>> 
>> The current problem is that when I try to run Pathagar instead of the
>> "Hello World" site, I get a
>> Forbidden
>> You don't have permission to access /library on this server.
>> Apache/2.4.10 (Raspbian) Server at library.lan Port 80
>> error.
>> ("/library" comes from the following line in my Apache2 conf file:
>> WSGIScriptAlias /library /home/pi/pathagar/wsgi.py  )
> 
> The web server is probably not configured to access /home by default as 
> a
> security precaution.
> 
>> The error log tells me:
>> [Mon Jul 11 07:13:06.505541 2016] [authz_core:error] [pid 5518:tid
> 1963979824] [client 10.10.10.167:46294] AH01630: client denied by 
> server
> configuration: /usr/local/www
>> 
>> The file /usr/local/www doesn't exist on the R Pi and I can find no
> mention of
>> it in any of the configuration files.
> 
> Try creating that directory and moving pathagar from your home 
> directory to
> there and updating the path for it in the config :)

Your idea struck me as having merit (as I kicked myself for not having 
thought
of it myself!)
Now the error log tells me something only a little bit different:
[Mon Jul 11 14:43:15.808190 2016] [authz_core:error] [pid 1725:tid 
1972368432] [client 10.10.10.167:48564] AH01630: client denied by server 
configuration: /usr/local/www/hello

Seems we are "kicking the can down the road."
Needless to say /usr/local/www/hello doesn't exist.
sudo locate hello | pager
failed to shed any light on the subject.

Alex

ps Just on a whim I added the following:
     <Directory /usr/local/www/hello>
         Require all granted
     </Directory>
to the VirtualHost in the config but to no avail.



More information about the OLPC-SF mailing list