403 Forbidden After dev installation !
Hi All I installed koha ( master ) using git installation instructions here : http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_git and this is not the first time I do this ,I installed it before , but at this time there is something wrong after all the instructions and when I arrived to the web installation the web page gives me this : Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. ------------------------------ Apache/2.2.22 (Ubuntu) Server at 127.0.1.1 Port 8080 ---------------------------------- I have access to the files , and I'm not sure where is the problem located any one have an idea about this ? Thanks a lot -- *Karam Qubsi*
Hi Karam,
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. ------------------------------ Apache/2.2.22 (Ubuntu) Server at 127.0.1.1 Port 8080
this indicates that you have permissions problem for apache. As you did a dev install, it uses a home dir, so check that that folder have proper permisions. I suspect thar you user admits only access to himself in his home (ls -l /home/$USER), if that's the case do a chmod 755 /home/$USER Regards, Bernardo
Thanks Bernardo :) I do this : chmod 755 /home/karam # ls -l total 52 drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Desktop drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Documents drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Downloads -rw-r--r-- 1 karam karam 8445 Apr 15 02:04 examples.desktop drwxrwx--- 3 karam karam 4096 Apr 13 13:22 koha drwxrwxr-x 8 karam karam 4096 Apr 15 01:14 koha-dev drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Music drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Pictures drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Public drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Templates drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Videos sudo /etc/init.d/apache2 restart The Problem is not solved :( . On Tue, Apr 16, 2013 at 1:47 PM, Bernardo Gonzalez Kriegel < bgkriegel@gmail.com> wrote:
Hi Karam,
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. ------------------------------ Apache/2.2.22 (Ubuntu) Server at 127.0.1.1 Port 8080
this indicates that you have permissions problem for apache. As you did a dev install, it uses a home dir, so check that that folder have proper permisions.
I suspect thar you user admits only access to himself in his home (ls -l /home/$USER), if that's the case do a chmod 755 /home/$USER
Regards, Bernardo
-- *Karam Qubsi*
I'm not sure if this apatche result is related with the problem sudo /etc/init.d/apache2 restart * Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting .apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [ OK ] On Tue, Apr 16, 2013 at 2:39 PM, Karam Qubsi <karamqubsi@gmail.com> wrote:
Thanks Bernardo :) I do this : chmod 755 /home/karam
# ls -l total 52 drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Desktop drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Documents drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Downloads -rw-r--r-- 1 karam karam 8445 Apr 15 02:04 examples.desktop drwxrwx--- 3 karam karam 4096 Apr 13 13:22 koha drwxrwxr-x 8 karam karam 4096 Apr 15 01:14 koha-dev drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Music drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Pictures drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Public drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Templates drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Videos
sudo /etc/init.d/apache2 restart The Problem is not solved :( .
On Tue, Apr 16, 2013 at 1:47 PM, Bernardo Gonzalez Kriegel < bgkriegel@gmail.com> wrote:
Hi Karam,
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. ------------------------------ Apache/2.2.22 (Ubuntu) Server at 127.0.1.1 Port 8080
this indicates that you have permissions problem for apache. As you did a dev install, it uses a home dir, so check that that folder have proper permisions.
I suspect thar you user admits only access to himself in his home (ls -l /home/$USER), if that's the case do a chmod 755 /home/$USER
Regards, Bernardo
-- *Karam Qubsi*
-- *Karam Qubsi*
Hi Karam, It seems your koha directory doesn't have the read permission for ww-data (should be 755 too) drwxrwx--- 3 karam karam 4096 Apr 13 13:22 koha Regards, Jonathan 2013/4/16 Karam Qubsi <karamqubsi@gmail.com>
Thanks Bernardo :) I do this : chmod 755 /home/karam
# ls -l total 52 drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Desktop drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Documents drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Downloads -rw-r--r-- 1 karam karam 8445 Apr 15 02:04 examples.desktop drwxrwx--- 3 karam karam 4096 Apr 13 13:22 koha drwxrwxr-x 8 karam karam 4096 Apr 15 01:14 koha-dev drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Music drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Pictures drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Public drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Templates drwxr-xr-x 2 karam karam 4096 Apr 15 02:09 Videos
sudo /etc/init.d/apache2 restart The Problem is not solved :( .
On Tue, Apr 16, 2013 at 1:47 PM, Bernardo Gonzalez Kriegel < bgkriegel@gmail.com> wrote:
Hi Karam,
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. ------------------------------ Apache/2.2.22 (Ubuntu) Server at 127.0.1.1 Port 8080
this indicates that you have permissions problem for apache. As you did a dev install, it uses a home dir, so check that that folder have proper permisions.
I suspect thar you user admits only access to himself in his home (ls -l /home/$USER), if that's the case do a chmod 755 /home/$USER
Regards, Bernardo
-- *Karam Qubsi*
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
participants (3)
-
Bernardo Gonzalez Kriegel -
Jonathan Druart -
Karam Qubsi