http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ubuntu.sh
When I point my browser to the node ip adress web2py the default
welcome application... ehm, welcome me... But when i click "click here
for the administrative interface" pointing to /admin/default/index I
get this error:
Forbidden
You don't have permission to access /admin/default/index on this server.
Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch
mod_ssl/2.2.8 OpenSSL/0.9.8g mod_wsgi/1.3 Python/2.5.2
Now, Im stuck, I dont even imagine what to do. Some help? Maybe I have
to change permission in some directories?
PS: /examples/default/index works
I don't know a lot about the script you've used, but maybe you are
running web2py with a user (let's say, www-data?) that doesn't have
write access to the applications' path.
You can change this executing: chown -R user_that_run_web2py /path/to/web2py
and then restarting Apache.
--
Álvaro Justen - Turicas
http://blog.justen.eng.br/
21 9898-0141
http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ubuntu.sh
there is this at line 62:
chown -R www-data:www-data web2py
I tried to do "chown -R www-data web2py" in home dir and restart
apache as suggested but the situation is not changed, Im still unable
to upload via the form "Upload & install packed application". I've not
tried yet to manually upload the application files in place, maybe
this will work. But a solution to this would be much appreciated.
We need more information on this.
Is there some file created on applications/admin/errors when you try
to upload the new app?
Ctrl+z does not kill any process - it just *stops* (pause) the actual
process - it'll be running, but in pause state (using the command "bg"
will put the paused process in background and resume, using the
command "fg" will get the process on foreground again). To kill, use
Ctrl+c.