Solved

directory

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

Suggested Solutions

Title # Comments Views Activity
IBM HTTP Server Log rotation 5 159
Service "nameserver" appears to be down 4 591
htaccess file errors for 301 Redirect 4 80
linux apache localhost dev laptop 5 50
Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
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…

810 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