subdomain - .htaccess empty

Status
Not open for further replies.

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
Points
63
What is the permissions of the folder tersterngab and the index in it?
 

erngab

New Member
Messages
10
Reaction score
0
Points
0
testerngab 755 / index 644 - now change index 755 - same 403 Forbidden
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
What is the name of your index file in that directory?
 

erngab

New Member
Messages
10
Reaction score
0
Points
0
bhupendra2895 I do not know what you think "Check your error log". When I click on subdomain address I get: Forbidden You don't have permission to access / on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The name of index file in testerngab is - index.html

 

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
Points
63
Go and make sure your folder and index.html is set to permissions 755.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
http://freegamesonlineabc.com/testerngab/index.html

it?

EDIT/ADD:

Double check the cPanel --> Subdomains that it points to the right subdirectory and that there are no redirects.

Could also check .htaccess in the public_html just in case something weird is in there.
 
Last edited:

bhupendra2895

New Member
Messages
554
Reaction score
20
Points
0
bhupendra2895 I do not know what you think "Check your error log"

Actually I saw same error in the account of another member.He told me that error log in cPanel says that .htaccess is not readable.He was also getting 403 error and I feel that this is due to server misconfiguration.So I suggested you to check error_log file in your subdomain root or in cPanel.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
You really shouldn't have to access a sub-domain that way. There is something wrong.
 

erngab

New Member
Messages
10
Reaction score
0
Points
0
Subdomains point - /public_html/testerngab - not redirected

.htaccess in the public_html

Code:
# -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 freegamesonlineabc.x10hosting.com
AuthUserFile /home/erngab/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/erngab/public_html/_vti_pvt/service.grp

I dont finde error_log
 
Last edited:
Status
Not open for further replies.
Top