• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • Last Modified:

Forbidden Access QUestion

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
e0101451
Asked:
e0101451
1 Solution
 
periwinkleCommented:
"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
 
wlennonVP of Domestic & Int'l OperationsCommented:
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
 
e0101451Author Commented:
Actually, I figured it out and it was a cgi restriction in our security module.  Thanks.
0
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
periwinkleCommented:
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
 
e0101451Author Commented:
I'm confused ... sorry!  I don't understand the last comment ... I am new to this site - can you explain?
0
 
periwinkleCommented:
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
 
e0101451Author Commented:
I edited the mod_security file so that the filtering for cgi files was turned off.  Thanks.
0
 
WesLennonCommented:
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

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now