Solved

directory

Posted on 2006-11-26
3
374 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

740 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