Access Problem with Apache2 Alias

Discussion in 'Installation/Configuration' started by Heinz, Nov 16, 2006.

  1. Heinz

    Heinz New Member

    hi,

    i have installed awstats with ispconfig. It works fine. Now i have insert a Alias apache2 config (default-server.conf):
    Alias /icon/ "/home/admispconfig/ispconfig/tools/awstats/wwwroot/icon/"
    <Directory "/home/admispconfig/ispconfig/tools/awstats/wwwroot/icon">
    Options MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>
    I need this for awstats to finde the images.
    if i want to acces to the icon with a browser:
    http://myhomepage/icon/other/awstats_logo6.png
    following error:
    Forbidden
    You don't have permission to access /icon/other/awstats_logo6.png on this server.

    I tried everthing. But i don't get it to work. I don't have much experience with Linux Server. Can anyone help to get acces to this Alias with browser?

    thnx
     
  2. falko

    falko Super Moderator

    What's the output of
    Code:
    ls -la /home/admispconfig/ispconfig/tools/awstats/wwwroot/icon
    ls -la /home/admispconfig/ispconfig/tools/awstats/wwwroot
    ls -la /home/admispconfig/ispconfig/tools/awstats
    ls -la /home/admispconfig/ispconfig/tools
    ?
     
  3. Heinz

    Heinz New Member

    -r-xr-xr-x 1 1007 513 2715 Feb 10 2003 awstats_logo6.png
    drwxr-xr-x 2 1007 513 4096 Dec 24 2005 other
    drwxr-xr-x 9 1007 513 4096 Dec 24 2005 icon
    lrwxrwxrwx 1 root root 46 Nov 15 01:05 /home/admispconfig/ispconfig/tools/awstats -> /home/admispconfig/ispconfig/tools/awstats-6.5
    drwxr-xr-x 9 admispconfig admispconfig 4096 Nov 15 01:05 tools
     
  4. falko

    falko Super Moderator

    That's not the whole output, is it?
     

Share This Page