Error Additionally
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more additionally a 404 not found error was encountered while trying to use an errordocument about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges the requested url was not found on this server Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each you don't have permission to access / on this server. other. Join them; it only takes a minute: Sign up Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request up vote 0 down vote favorite Ok, so I did as people
Godaddy
said in the previous question Remove write and modify files in php.ini and chkmod'd the website files to 700 so only the owner could change them. Everyone said that I should be able to browse the website, but as soon as I do change them to 700 all I get is "403 forbidden Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.". Why is it blocking access when nearly every person that answered my previous question said it would work ?. php http-status-code-404 share|improve this question asked Apr 15 at 19:42 Iain Simpson 1061724 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted On folder 755, on files 444. When you edit files - return CHMOD on 644 and so editing share|improve this answer answered Apr 15 at 19:52 Алексей Секретный 335 Thanks, this seems to work now ! :) –Iain Simpson Apr 15 at 20:17 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged php http-status-code-404 or ask your own question. asked 5 months ago viewed 187 times active 5 months ago Linked 0 Remove write and modify files in php.ini Related 0403 Forbidden Error display instead of a customised Error 404 page15Getting 404 Not Found error while trying to use ErrorDocument0Instead of 404 error, displaying special symbols while i try to view the pdf which is not available in server0a 500 Internal Server Error error was encountered while trying to use an ErrorDocument
Forbidden error was encountered while trying to use an Error Additionally, a 403 Forbidden error was encountered while trying to use an Error apkreal @apkreal 2 months, 2 weeks ago I don't know, but today suddenly I am getting this error http://apkreal.com 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. --------- JUST TRANSFERRED SERVER FROM SHARED HOSTING TO VPS, By doing full FTP backup and restoring full FTP backup in VPS. This was 3 days ago. I am not able to find cPanel in WHM, where the hell am I suppose to find .htaccess and how to disable mod security?????????????????? PLEASE, http://stackoverflow.com/questions/36655610/additionally-a-403-forbidden-error-was-encountered-while-trying-to-use-an-error THIS IS AN ABSOLUTE EMERGENCY WE ARE LOSING VISITORS AND RANKINGS. PLEASE HELP!!!!! Viewing 15 replies - 1 through 15 (of 17 total) 1 2 → Moderator sterndata (Steve Stern) @sterndata 2 months, 2 weeks ago your file ownership and/or permissions are incorrect. 1) What user is PHP running under? If you're using PHP-FM, ps -ef |grep php if apache, ps -ef |grep apache or ps -ef |grep httpd 2) where is wordpress installed? https://wordpress.org/support/topic/additionally-a-403-forbidden-error-was-encountered-while-trying-to-use-an-error/ ls -l /path/to/wordpress who owns those files and where are the directory and file permissions 3) How do you know this is a mod_security issue? What makes you suspect that? 4) What operating system are you using? apkreal @apkreal 2 months, 2 weeks ago 1) How to check that? and where to add that codes? 2) http://pasteboard.co/MWnaNTUO.png I own the files cos I have the access to it? How to check where they are? 3) https://support.krystal.co.uk/entries/23155552-I-get-a-403-Forbidden-error-when-I-try-to-view-my-site The first point is MOD Security. Don't know how to disable it. 4) Linux apkreal @apkreal 2 months, 2 weeks ago AND BLUEHOST VPS HOSTING! Moderator sterndata (Steve Stern) @sterndata 2 months, 2 weeks ago OK, it's pretty clear you do not know Linux, so I'm bowing out. apkreal @apkreal 2 months, 2 weeks ago Please don't do that, you save lives!! At least tell me something!! Moderator sterndata (Steve Stern) @sterndata 2 months, 2 weeks ago why did you decide to use a VPS if you don't know how to operate a server It's like you bought a car without knowing how to drive. 1. Did this site (as hosted on this server ever work? 2. If so, what did you change? 3. If not, you need to align the ownership of the wordpress file tree with the user under which PHP i
for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack http://webmasters.stackexchange.com/questions/20865/additionally-a-404-not-found-error-was-encountered-while-trying-to-use-an-error Overflow the company Business Learn more about hiring developers or posting ads with us Webmasters Questions Tags Users Badges Unanswered Ask Question _ Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Additionally, a not found 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request up vote 2 down vote favorite I have a joomla website installed and working good. i installed Qlue404 component which redirects 404 page to a custom page., sometimes when i try the symbols ' and some others the 404 page appears with the message "Additionally, a 404 Not Found error was encountered while on this server trying to use an ErrorDocument to handle the request." also it shows the server information *Apache mod_fcgid/2.3.6 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at mywebsite.com Port 80* how can i disable this message? i swear this leads to get all information for a hacker to do an Sql Injection. security web-development share|improve this question asked Oct 11 '11 at 15:27 Allen Sebastian 18114 It does not allow "to get all information for a hacker to do an Sql Injection." –John Conde♦ Oct 11 '11 at 15:33 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote From Apache's docs: Use of ErrorDocument is enabled for .htaccess files when the AllowOverride is set accordingly. Here are some examples... ErrorDocument 500 /cgi-bin/crash-recover ErrorDocument 500 "Sorry, our script crashed. Oh dear" ErrorDocument 500 http://xxx/ ErrorDocument 404 /Lame_excuses/not_found.html ErrorDocument 401 /Subscription/how_to_subscribe.html The syntax is, ErrorDocument <3-digit-code> where the action can be, Text to be displayed. Prefix the text with a quote ("). Whatever follows the quote is displayed. Note: the (") prefix isn't displayed. An external URL to redirect to. A local URL to redirect to. Basically what you want to do is place this snippet in a .htaccess file in your root web directory