Solved

Forbidden Access QUestion

Posted on 2004-10-23
367 Views
Last Modified: 2010-03-04
Hi I am getting "Forbidden You are not authorized to access /" error when triying to use a particular functionality on my website.  I have to use the domain name in my url - I see a similar posted question and the solution you gave was to use the ip address in the url instead of the domain name.  THis is a public site and the ip address is not allowed to be used.  Do you have any other suggestions?

Thanks for your help.

================================

Quesiton is Refund & PAQ - Wes Lennon

================================
0
Question by:e0101451
    8 Comments
     
    LVL 15

    Expert Comment

    by:periwinkle
    "Forbidden: You are not authorized to access /" is a generic error, which usually means one of the following:

    (1) There isn't sufficient permissions to access either the default directory file (which is set via the DirectoryIndex directive, in the httpd.conf file -- usually it's index.html, index.htm, base.html, base.htm, default.htm, etc.) .  If this is a Linux server, you need to change the permissions (via chmod) to 664 if it is a html or text file, and 775 if it needs to be executed, such as a cgi script.

    (2) You don't have a default directory file, in which case it is trying to do an index of the directory, but the directive Options Indexes isn't set.

    (3) That type of file isn't allowed in that directory.  For instance, many hosting companies will limit CGI programs only to the cgi-bin directory.




    0
     
    LVL 13

    Expert Comment

    by:wlennon
    Hi e0101451,

    If this is your own site, if it is hosted by your ISP, you need to call them, if it is hosted by a Hosting Service, you will need to get in touch with the Host company.  They should easily help you do what you need to do.  For functionaltiy problems, it may depend on what the host has to offer in regards to what language will run on the site.


    JMO

    wlennon
    0
     

    Author Comment

    by:e0101451
    Actually, I figured it out and it was a cgi restriction in our security module.  Thanks.
    0
     
    LVL 15

    Expert Comment

    by:periwinkle
    If you post a comment to the Community Support section (click on 'support' at the top right hand side of the page), then you can request that the question be PAQ/refunded (be sure to include the question URL!)
    0
     

    Author Comment

    by:e0101451
    I'm confused ... sorry!  I don't understand the last comment ... I am new to this site - can you explain?
    0
     
    LVL 15

    Expert Comment

    by:periwinkle
    Go here:

    http://www.experts-exchange.com/Community_Support/

    and open a new question (it won't cost points) that says:

    I was able to answer my question myself;  please close this question as a PAQ (Previously Asked Question) and refund my points:

    http://Q_21179807.html
    0
     

    Author Comment

    by:e0101451
    I edited the mod_security file so that the filtering for cgi files was turned off.  Thanks.
    0
     

    Accepted Solution

    by:
    The answer is located by the Author of the question at:

    Comment from e0101451
    Date: 10/29/2004 06:39PM CDT
    ID: 12449577

    Wes Lennon
    Director of Community Services
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
    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…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    913 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

    18 Experts available now in Live!

    Get 1:1 Help Now