can someone help me

Status
Not open for further replies.

aycan.naime27

New Member
Messages
16
Reaction score
0
Points
0
hi

descalzo has suggested to change the permissions to 644 and i changed public_html and its subfolders and files permissions into 644 so i get this error now

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.


please help me
 

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
hi

descalzo has suggested to change the permissions to 644 and i changed public_html and its subfolders and files permissions into 644 so i get this error now

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.


please help me

Please set 755 for folders and for files 644
 

aycan.naime27

New Member
Messages
16
Reaction score
0
Points
0
and what about this answer below he said something about htaccess how will i do that

cPane-->File Manager OR FTP

Check file permissions. Make sure they are 0644 (0666 or 0777 will cause that error).

If that doesn't work, check any .htaccess file and make sure you have

RewriteBase /

at the top.
 

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
and what about this answer below he said something about htaccess how will i do that

cPane-->File Manager OR FTP

Check file permissions. Make sure they are 0644 (0666 or 0777 will cause that error).

If that doesn't work, check any .htaccess file and make sure you have

RewriteBase /

at the top.

The .htaccess file is hidden file, So when Opening the filemanager check the tickmark "show the hidden and system files"

Or

In FTP you can enable to show the hidden files

The .htaccess will be there in the public_html
 

aycan.naime27

New Member
Messages
16
Reaction score
0
Points
0
The .htaccess file is hidden file, So when Opening the filemanager check the tickmark "show the hidden and system files"

Or

In FTP you can enable to show the hidden files

The .htaccess will be there in the public_html

no i can see some htaccess files but how will i edit them there is one in packages folder backup folder and in the root of public_html folder but how can i edit them what will i write where? by the way i made permission for files 644 and for folders 755 still i get the same error....
 

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
no i can see some htaccess files but how will i edit them there is one in packages folder backup folder and in the root of public_html folder but how can i edit them what will i write where? by the way i made permission for files 644 and for folders 755 still i get the same error....

If you are using FTP then download the .htaccess file from public_html folder and open with notepad

type

RewriteBase /

at the top of the file

save it and upload back to server.

If you are using Filemanager then you have a button to edit in the above toolbar.
 
Last edited:

aycan.naime27

New Member
Messages
16
Reaction score
0
Points
0
no i can see some htaccess files but how will i edit them there is one in packages folder backup folder and in the root of public_html folder but how can i edit them what will i write where? by the way i made permission for files 644 and for folders 755 still i get the same error....

but in some other topic in x10hosting forum they say:

Check any .htaccess file in public_html or subdirectory. If it uses mod_rewrite make sure you have the line

RewriteBase /

before any rewrite code."

but i don t have any rewrite code in my htaccess files so will i have to write RewriteBase / even if i don t have rewrite code?

And i started to get this problem after i installed modhidepost mod into my smf forum when installing that mod it asked me to test connection and required me to enter some values to test connection and the server was localhost but i changed it into my ftp username which is ftp.asduskun.x10.mx and the port value was blank and i made it 21 and then it said connection was successful and i installed the mod and then i started getting this error, i think i mustn t have changed localhost value ,right? and then i deleted my database and created a new one and i imported my working backup database and i deleted all my forum files and i uploaded my working folders again back on the server but nothing changed that means i restored everything to back working ones...so why am i getting the same error and as you suggested i changed the permissions....pleaSE HELP ME
 
Last edited:

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
but in some other topic in x10hosting forum they say:

Check any .htaccess file in public_html or subdirectory. If it uses mod_rewrite make sure you have the line

RewriteBase /

before any rewrite code."

but i don t have any rewrite code in my htaccess files so will i have to write RewriteBase / even if i don t have rewrite code?

And i started to get this problem after i installed modhidepost mod into my smf forum when installing that mod it asked me to test connection and required me to enter some values to test connection and the server was localhost but i changed it into my ftp username which is ftp.asduskun.x10.mx and the port value was blank and i made it 21 and then it said connection was successful and i installed the mod and then i started getting this error, i think i mustn t have changed localhost value ,right? and then i deleted my database and created a new one and i imported my working backup database and i deleted all my forum files and i uploaded my working folders again back on the server but nothing changed that means i restored everything to back working ones...so why am i getting the same error and as you suggested i changed the permissions....pleaSE HELP ME

The 500 internal server Error can be result of

Wrong file permissions
Wrong tags in .htaccess

So I told you to do

add the RewriteBase / to the .htaccess and check

If you still getting the error
post the .htaccess here so we can check.
 
Last edited:

aycan.naime27

New Member
Messages
16
Reaction score
0
Points
0
ok here are my .htaccess files from 4 different directories
 

Attachments

  • Desktop.rar
    735 bytes · Views: 11

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Rename all the .htaccess files .htaccessOLD ( actually, you can delete them all)


The problem are these kinds of directives.

<Files *>
Order Deny,Allow
Deny from all
Allow from localhost
</Files>
 
Last edited:

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
ok here are my .htaccess files from 4 different directories

Is the .htaccess file in the public_html file is empty previously. If yes then delete that file it will be created automatically (only public_html one)

Did you added the RewriteBase / to all the .htaccess files

Modify only one in the public_html one not others
 

aycan.naime27

New Member
Messages
16
Reaction score
0
Points
0
yes it was previously empty i think because i didn t want to edit it before so i don t know but now when i want to edit it was empty but as descalzo suggested i deleted them all... did i make mistake? now i don t see htaccess file in my public html directory shall i create one?
 

aycan.naime27

New Member
Messages
16
Reaction score
0
Points
0
attached is my error log. can you see the reason for internal server error in my log file?
 

Attachments

  • error_log.rar
    6.2 KB · Views: 9
Status
Not open for further replies.
Top