I need help...

Status
Not open for further replies.

atanas kostovski

New Member
Messages
9
Reaction score
0
Points
0
Everytime I enter my homepage, I get this:


„Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.“


I think I got this message after uninstalling Drupal...
but I haven't changed anything that may cause this error..

Also I'm not suspended...

(http://sportskiforum.x10.mx)
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

Could you please post the contents of your .htaccess file. If using cPanel file manager, you'll need to enable the viewing of dotfiles on the box that comes up immediately after clicking the icon in the main cPanel.
 

atanas kostovski

New Member
Messages
9
Reaction score
0
Points
0
# BEGIN DPIOptions

RewriteEngine On
RewriteRule ^thumb-(.*)\.jpg$ thumb.php?id=$1 [L]
RewriteRule ^image-(.*)\.jpg$ image.php?id=$1 [L]
RewriteRule ^image-(.*)\.gif$ image.php?id=$1&gif [L]
RewriteRule ^share-(.*)\.html$ share.php?id=$1 [L]
RewriteRule ^gallery-(.*)-(.*)-(.*)\.html$ gallery.php?id=$2&page=$3 [L]
RewriteRule ^gallery-(.*)-(.*)\.html$ gallery.php?id=$2 [L]
RewriteRule ^archive-(.*)\.html$ archive.php?page=$1 [L]
RewriteRule ^galleries-(.*)\.html$ archive.php?page=$1 [L]
RewriteRule ^content-(.*)\.html$ content.php?$1 [L]
RewriteRule ^profile-(.*)\.html$ profile.php?id=$1 [L]
RewriteRule ^images-(.*)\.html$ images.php?date=$1 [L]

# END DPIOptions
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

Can you confirm that file is named .htaccess exactly? Not with anything else before or after. What you posted should cause a 500 error if it was in use, provided a rule was triggered.
Also, do you have a directory index file?
 
Last edited:

atanas kostovski

New Member
Messages
9
Reaction score
0
Points
0
it's: .htaccess (copy-paste)

yes, I have index, it's index.html.

but it give the message again with: http://sportskiforum.x10.mx/index.html
only the 'bold' thing is changed...
"Forbidden

You don't have permission to access /index.html on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."

(if you were talking for that index :redface:)
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

What are the file permissions on index.html?
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Please change it to 644 and try.
Generally, folders should be 755 and files 644.
 

atanas kostovski

New Member
Messages
9
Reaction score
0
Points
0
again:
12114133952.png
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
What are the permissions on the public_html folder?
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

I've just checked, and the permissions on the public html folder should be 750. Same goes for www. Please try that.
 

atanas kostovski

New Member
Messages
9
Reaction score
0
Points
0
I did that, and again:
12114245648.png


---------- Post added at 06:29 PM ---------- Previous post was at 06:27 PM ----------

before asking for help here, I tried with changing sites, I put drupal, than joomla, than wp. and now simple HTML page with PHP form...
and all the time, it was same:


Forbidden

You don't have permission to access /index.html on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
I'm really stumped about this one.
Do you mind if I have a look at your account? I could check permissions rather than telling you what to do each time.
If you're happy for me to do that, kindly send me some login details to: (details removed, user has seen).

Thanks.
 
Last edited:

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

I changed some file/folder permissions and it seems to be okay now.

Thanks. :)
 

atanas kostovski

New Member
Messages
9
Reaction score
0
Points
0
THANK YOU VERY MUCH :D


(I post this thread because I couldn't figure it out how to fix that by my self..)
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
No problem. :)
If you have any further problems, do not hesitate to let us know.
 
Status
Not open for further replies.
Top