Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

directory

Posted on 2006-11-26
3
Medium Priority
?
379 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 2000 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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month12 days, 4 hours left to enroll

916 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