AWStats permission error

apps

#1

I am trying to install awstats on my site, however when I get to the step in the Wiki to see if everything is working I get this error:

sh: line 1: /home/UserName/awstats/awstats.pl: Permission denied

with UserName being my username.
I have chmodded all files to 755.


#2

Whats on line 1 of your awstats.pl program?

Do you have permission to execute it?

It should be:

#!/usr/bin/perl


#3

Yes, I have #!/usr/bin/perl on line one of awstats.pl Then the program description directly below it.