Forbidden You don't have permission to access problem

Status
Not open for further replies.

beneficent200091

New Member
Messages
2
Reaction score
0
Points
0
Error message when trying to run PERL .cgi file

Forbidden
You don't have permission to access /profilethree.cgi on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


I have set public_html to 755

.cgi file is 755

I have tried removing .htaccess altogether

Please advise what to try next



.htaccess is

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName deliverer.biz
AuthUserFile /home/pa55ion/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/pa55ion/public_html/_vti_pvt/service.grp

### Instruct to run progs in this folder
Options +ExecCGI
AddHandler cgi-script .cgi .pl

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A60
ExpiresByType image/x-icon A31536000
ExpiresByType application/x-javascript A60
ExpiresByType text/css A60
ExpiresByType image/gif A31536000
ExpiresByType image/jpeg A31536000
ExpiresByType image/jpg A31536000
ExpiresByType text/plain A60
ExpiresByType text/html A60
</IfModule>


<IfModule mod_headers.c>
### Apply a Cache-Control header to index.html
<Files index.html>


Header append Cache-Control "public, must-revalidate"
</Files>

### 1 YEAR
<FilesMatch "\.(ico|png|gif|jpg|jpeg)$"> Header set Cache-Control "max-age=31536000, public"
</FilesMatch>

</IfModule>
 
Last edited:

carl6969

Community Support Team
Community Support
Messages
6,874
Reaction score
206
Points
63
cgi-bin (ie Perl and Python via the web) have been disabled due to abuse
 
Status
Not open for further replies.
Top