Solved

directory

Posted on 2006-11-26
3
372 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

789 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