Joomla 403 Error

Discussion in 'General' started by icemaker, Mar 14, 2014.

  1. icemaker

    icemaker New Member

    Hello,

    i have download and extracted joomla files in :

    /var/www/clients/client1/web2/web

    i have fixed the permissions as follow:

    chown -hR -v -f we21:client1 web/*
    cd web
    find . -type f -exec chmod 644 {} \;
    find . -type d -exec chmod 755 {} \;

    and when i try to access the website i get the following error:

    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.16 (Debian) Server at assafina.net Port 80
     
  2. neutrino

    neutrino Member

    Well if you really did :

    chown -hR -v -f we21:client1 web/*

    Then you have a problem for sure... with an extra b it may be better :)
     
  3. icemaker

    icemaker New Member

    Sorry for that! was a typing error while typing on the forums!


    here is the actual permissions:

    chown -hR -v -f web2:client1 web/*
    cd web
    find . -type f -exec chmod 644 {} \;
    find . -type d -exec chmod 755 {} \;
     
  4. neutrino

    neutrino Member

    Did you already checked if everything looks good with an ls -l in the web folder ?
     
  5. icemaker

    icemaker New Member

    here is the ls -l output:

    drwxr-xr-x 10 web2 client1 4096 Mar 3 17:06 administrator
    drwxr-xr-x 2 web2 client1 4096 Mar 3 17:06 bin
    drwxr-xr-x 5 web2 client1 4096 Mar 10 18:57 cache
    -rw-r--r-- 1 web2 client1 51984370 Mar 10 14:07 charity-website.rar
    drwxr-xr-x 2 web2 client1 4096 Mar 3 17:06 cli
    drwxr-xr-x 20 web2 client1 4096 Mar 10 10:05 components
    -rw-r--r-- 1 web2 client1 1805 Mar 3 17:10 configuration.php
    drwxr-xr-x 2 web2 client1 4096 Mar 13 21:25 error
    -rw-r--r-- 1 web2 client1 3123 Mar 5 21:06 htaccess.txt
    drwxr-xr-x 9 web2 client1 4096 Mar 9 10:03 images
    drwxr-xr-x 2 web2 client1 4096 Mar 6 21:27 includes
    -rw-r--r-- 1 web2 client1 45 Mar 14 08:20 index.html
    -rw-r--r-- 1 web2 client1 1011 Mar 5 21:06 index.php
    -rw-r--r-- 1 web2 client1 616 Sep 16 10:54 install.script.php
    drwxr-xr-x 4 web2 client1 4096 Mar 3 17:06 language
    drwxr-xr-x 4 web2 client1 4096 Mar 3 17:06 layouts
    drwxr-xr-x 15 web2 client1 4096 Mar 10 10:05 libraries
    -rw-r--r-- 1 web2 client1 17816 Mar 5 21:06 LICENSE.txt
    drwxr-xr-x 2 web2 client1 4096 Mar 6 21:27 logs
    drwxr-xr-x 20 web2 client1 4096 Mar 10 17:39 media
    drwxr-xr-x 39 web2 client1 4096 Mar 10 10:50 modules
    drwxr-xr-x 16 web2 client1 4096 Mar 9 09:55 plugins
    -rw-r--r-- 1 web2 client1 4300 Mar 5 21:06 README.txt
    -rw-r--r-- 1 web2 client1 865 Sep 16 10:54 robots.txt
    -rw-r--r-- 1 web2 client1 901 Mar 5 21:06 robots.txt.dist
    drwxr-xr-x 2 web2 client1 4096 Mar 14 00:30 stats
    drwxr-xr-x 7 web2 client1 4096 Mar 8 14:05 templates
    drwxr-xr-x 2 web2 client1 4096 Mar 10 17:39 tmp
    -rw-r--r-- 1 web2 client1 1715 Mar 5 21:06 web.config.txt
     
  6. neutrino

    neutrino Member

    Looks good, do you have a .htaccess in the web folder who may screw up things ?
     
  7. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    And web is owned by web2.client1?
    Did you use fastcgi with suexec for this website?
     
  8. icemaker

    icemaker New Member

    Seems .htaccess was the problem it was set to deny all
     

Share This Page