403 Forbidden

Status
Not open for further replies.

robind

New Member
Messages
15
Reaction score
0
Points
1
Hello

Could someone help. I am unable to access any .php pages that I upload to the web site, even the very basic page
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>
at http://www.4theppingscouts.co.uk/hello.php
I always get the 403 Forbidden error.

Many thanks in advance
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
I have fixed this; at some point the permissions on your public_html folder were changed to 777, which is a major security risk. As such, the server prevents access to anything with permissions 777, and in the case of folders marked that way, prevents access to anything within it. For public_html, the ideal permissions are 750; after changing that back, all the files look to be loading okay once again.
 

robind

New Member
Messages
15
Reaction score
0
Points
1
Hi
I have fixed this; at some point the permissions on your public_html folder were changed to 777, which is a major security risk. As such, the server prevents access to anything with permissions 777, and in the case of folders marked that way, prevents access to anything within it. For public_html, the ideal permissions are 750; after changing that back, all the files look to be loading okay once again.

Many thanks - looks fine now apart from my coding.
 
Status
Not open for further replies.
Top