View Single Post
  #57  
Old 18th November 2006, 14:43
IKShadow IKShadow is offline
Member
 
Join Date: Jan 2006
Location: Slovenia
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to IKShadow
Default

update:

I found that /etc/apache2/httpd.conf includes default-server.conf.

In default-server.conf I remarked existing icons alias:
Code:
#Alias /icons/ "/usr/share/apache2/icons/"

#<Directory "/usr/share/apache2/icons">
#       Options Indexes MultiViews
#       AllowOverride None
#       Order allow,deny
#       Allow from all
#</Directory>
and copy this one:

Code:
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 restarted apache2 server ( /etc/init.d/apache2 restart ), but I still dont see images.

I try to open one from browser and i receive:
Code:
Forbidden
You don't have permission to access /icon/cpu/digital.png on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Permissions:
Code:
krneki:/ # ls -la /home/admispconfig/ispconfig/tools/awstats/wwwroot/icon
total 40
drwxr-xr-x 9 1007 513 4096 2005-12-24 22:10 .
drwxr-xr-x 7 1007 513 4096 2005-12-24 22:10 ..
d-wx--x--x 2 1007 513 4096 2005-12-24 22:10 browser
d-wx--x--x 2 1007 513 4096 2005-12-24 22:10 clock
drwxrwxrwx 2 1007 513 4096 2005-12-24 22:10 cpu
d-wx--x--x 2 1007 513 8192 2005-12-24 22:10 flags
d-wx--x--x 2 1007 513 4096 2005-12-24 22:10 mime
d-wx--x--x 2 1007 513 4096 2005-12-24 22:10 os
d-wx--x--x 2 1007 513 4096 2005-12-24 22:10 other
krneki:/ # ls -la /home/admispconfig/ispconfig/tools/awstats/wwwroot
total 28
drwxr-xr-x 7 1007 513 4096 2005-12-24 22:10 .
drwxr-xr-x 5 1007 513 4096 2005-12-24 22:09 ..
drwxr-xr-x 5 1007 513 4096 2005-12-24 22:10 cgi-bin
drwxr-xr-x 3 1007 513 4096 2005-12-24 22:10 classes
drwxr-xr-x 2 1007 513 4096 2005-12-24 22:10 css
drwxr-xr-x 9 1007 513 4096 2005-12-24 22:10 icon
drwxr-xr-x 2 1007 513 4096 2005-12-24 22:10 js
krneki:/ # ls -la /home/admispconfig/ispconfig/tools/awstats
lrwxrwxrwx 1 root root 46 2006-11-18 12:29 /home/admispconfig/ispconfig/tools/awstats -> /home/admispconfig/ispconfig/tools/awstats-6.5
krneki:/ # ls -la /home/admispconfig/ispconfig/tools
total 36
drwxr-xr-x 9 admispconfig admispconfig 4096 2006-11-18 12:29 .
drwxr-xr-x 8 admispconfig admispconfig 4096 2006-11-18 13:46 ..
lrwxrwxrwx 1 root         root           46 2006-11-18 12:29 awstats -> /home/admispconfig/ispconfig/tools/awstats-6.5
drwxr-xr-x 5         1007          513 4096 2005-12-24 22:09 awstats-6.5
drwxr-xr-x 8 admispconfig admispconfig 4096 2006-11-16 00:12 clamav
drwxr-xr-x 4 admispconfig admispconfig 4096 2006-11-16 00:13 spamassassin
drwxr-xr-x 2 admispconfig admispconfig 4096 2006-11-16 00:16 tcpserver
drwxr-xr-x 2 admispconfig admispconfig 4096 2006-11-16 00:16 unzip
drwxr-xr-x 4 admispconfig admispconfig 4096 2006-11-16 00:14 uudeview
drwxr-xr-x 2 admispconfig admispconfig 4096 2006-11-16 00:16 zip
I chmoded 777 cpu and digital.png just to check if it works ... unfortunatly it does not


I would realy appriciate any help you can give me couse I dont have any idea now how to solve it.

Last edited by IKShadow; 18th November 2006 at 14:52.
Reply With Quote