Install Webalizer for subdomain without login to DA

snelkookpan

New member
Joined
Jan 26, 2009
Messages
3
Location
The Netherlands
Yesterday I installed Webalizer for a domain by executing the following command with SSH:

HTML:
ln -s ../stats /home/admin/domains/mydomain.com/public_html/webstat

In this way, my client wouldn't have to logon to DirectAdmin to view the webstats for his site. This worked perfectly fine.


Now I want to do the same thing for a subdomain. The stats of a subdomain are viewable in DA, but I don't know what I should do to make the stats viewable on sub.mydomain.com/webstat, or mydomain.com/sub/webstat.

I entered the following code, but that gave a 403 Forbidden-error on the url's above:

HTML:
ln -s ../stats /home/admin/domains/mydomain.com/public_html/sub/webstat

Does anyone have a solution?

Thanks! :)
 
I have no clue why it doesnt work check the apache error log.
 
  1. I execute
    HTML:
    ln -s ../stats /home/admin/domains/mydomain.com/public_html/sub/webstat
    I get no error, and there is no error listed in the error log.
  2. When I go to www.mydomain.com/sub/webstat it returns a 403 error (you don't have permission to ...)
  3. When I connect to ftp.mydomain.com with my ftp program (WinSCP), and click on the folder webstat, I get the error "no such file or directory" (The permissions are 0777 automaticly)
  4. When I open the folder /home/admin/domains/mydomain.com/public_html/sub/ with SSH Secure File Tranfer, the ln 'webstat' isn't even listed.

On the other hand when I execute

HTML:
ln -s ../stats /home/admin/domains/otherdomain.com/public_html/webstat

(no subdomain), the webstats are visible (2), clicking on the folder with ftp results in listing several files (3), and the folder is visible and clickable in SSH Secure File Transfer (4).


So that's why I think that there must be another way, or no way, to make a link to Webalizer for subdomain statistics.
 
Last edited:
Back
Top