Solved

directory

Posted on 2006-11-26
3
368 Views
Last Modified: 2010-03-04
hello,
I get this message when I try to see my page

Forbidden
You don't have permission to access /awstats/awstats.pl on this server.

<Directory "/usr/local/awstats/wwwroot">
    Options None
    AllowOverride None
    Order allow,deny
    deny from all
    allow from 68.80.121.211
</Directory>

my ip address is correct! can someone please help me?
0
Comment
Question by:Sabrin
3 Comments
 
LVL 43

Expert Comment

by:ravenpl
ID: 18014366
Start from allowing cgi execution
 Options ExecCGI
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 18014679
Also, please check that you uploaded the awstats.pl script as an ascii file, and if you are on linux server, that you properly changed the permissions to make the script executable (probably something like 755) via the chmod command.
0
 
LVL 16

Accepted Solution

by:
HackneyCab earned 500 total points
ID: 18014728
If you have "Order allow,deny" I don't think you need the "deny from all" line. From the Apache manual:

"Allow,Deny
    The Allow directives are evaluated before the Deny directives. Access is denied by default. Any client which does not match an Allow directive or does match a Deny directive will be denied access to the server."

This suggests that your config will allow your IP, but then check the deny line and deny everything, including your IP. Seeing as allow,deny causes access to be denied by default, try taking away the "deny from all" line in your config.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now