Why does Apache require 751 on public_html Announcing the arrival of Valued Associate #679:...

Is there such thing as an Availability Group failover trigger?

Why didn't Eitri join the fight?

Is the Standard Deduction better than Itemized when both are the same amount?

What does this Jacques Hadamard quote mean?

Do square wave exist?

What font is "z" in "z-score"?

Delete nth line from bottom

Do I really need recursive chmod to restrict access to a folder?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

What are the out-of-universe reasons for the references to Toby Maguire-era Spider-Man in ITSV

How to find all the available tools in mac terminal?

When the Haste spell ends on a creature, do attackers have advantage against that creature?

What is the meaning of the simile “quick as silk”?

If a VARCHAR(MAX) column is included in an index, is the entire value always stored in the index page(s)?

Circuit to "zoom in" on mV fluctuations of a DC signal?

2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?

Amount of permutations on an NxNxN Rubik's Cube

How do pianists reach extremely loud dynamics?

Is it fair for a professor to grade us on the possession of past papers?

How to answer "Have you ever been terminated?"

How can I use the Python library networkx from Mathematica?

What does "lightly crushed" mean for cardamon pods?

Why do we bend a book to keep it straight?

Why aren't air breathing engines used as small first stages



Why does Apache require 751 on public_html



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!.htaccess being hacked repeatedlyBackup unix files to filesystem which doesn't allow chgrp/chown etcCustom 403 Error page not showingData loss through permissions change?.htaccess ignored, SPECIFIC to EC2 - not the usual suspectsnginx and owncloud, .htaccess security warningApache LIMIT directive does not allow to see localhost project over LANRead permission denied to user with ACL group permission to readLaravel project in subfolder of public_html gives trouble with .htaccess redirectAfter updating php.ini via Plesk my htaccess file stopped working





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















Question: Why does Apache need the execute permissions for the world on public_html?



Background: When I changed the php.ini settings through cPanel, there was an error "Error: The EUID, 1005, does not own /home/my_user_name/public_html/.htaccess." I understood this because it was the .htaccess file was owned by root:root,



So, as a green SHELL user I changed the ownership of every file using chown -R my_user_name:my_user_name .[^.]*. Sweet, I could now save my php.ini through MultiPHP INI in cPanel.



That's when this pretty error appeared when trying to visit any page on my Drupal 8 site:




Forbidden You don't have permission to access / on this server. Server
unable to read htaccess file, denying access to be safe



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




Even after deleting, reuploading, and changing the ownership back to root:root, it didn't work.



The only thing that worked was changing public_html to 751 (instead of 750). Why does Apache need the execute permissions for the world? And how do you fix it?



754 also didn’t work









share







New contributor




Chris Happy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    Question: Why does Apache need the execute permissions for the world on public_html?



    Background: When I changed the php.ini settings through cPanel, there was an error "Error: The EUID, 1005, does not own /home/my_user_name/public_html/.htaccess." I understood this because it was the .htaccess file was owned by root:root,



    So, as a green SHELL user I changed the ownership of every file using chown -R my_user_name:my_user_name .[^.]*. Sweet, I could now save my php.ini through MultiPHP INI in cPanel.



    That's when this pretty error appeared when trying to visit any page on my Drupal 8 site:




    Forbidden You don't have permission to access / on this server. Server
    unable to read htaccess file, denying access to be safe



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




    Even after deleting, reuploading, and changing the ownership back to root:root, it didn't work.



    The only thing that worked was changing public_html to 751 (instead of 750). Why does Apache need the execute permissions for the world? And how do you fix it?



    754 also didn’t work









    share







    New contributor




    Chris Happy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      Question: Why does Apache need the execute permissions for the world on public_html?



      Background: When I changed the php.ini settings through cPanel, there was an error "Error: The EUID, 1005, does not own /home/my_user_name/public_html/.htaccess." I understood this because it was the .htaccess file was owned by root:root,



      So, as a green SHELL user I changed the ownership of every file using chown -R my_user_name:my_user_name .[^.]*. Sweet, I could now save my php.ini through MultiPHP INI in cPanel.



      That's when this pretty error appeared when trying to visit any page on my Drupal 8 site:




      Forbidden You don't have permission to access / on this server. Server
      unable to read htaccess file, denying access to be safe



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




      Even after deleting, reuploading, and changing the ownership back to root:root, it didn't work.



      The only thing that worked was changing public_html to 751 (instead of 750). Why does Apache need the execute permissions for the world? And how do you fix it?



      754 also didn’t work









      share







      New contributor




      Chris Happy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Question: Why does Apache need the execute permissions for the world on public_html?



      Background: When I changed the php.ini settings through cPanel, there was an error "Error: The EUID, 1005, does not own /home/my_user_name/public_html/.htaccess." I understood this because it was the .htaccess file was owned by root:root,



      So, as a green SHELL user I changed the ownership of every file using chown -R my_user_name:my_user_name .[^.]*. Sweet, I could now save my php.ini through MultiPHP INI in cPanel.



      That's when this pretty error appeared when trying to visit any page on my Drupal 8 site:




      Forbidden You don't have permission to access / on this server. Server
      unable to read htaccess file, denying access to be safe



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




      Even after deleting, reuploading, and changing the ownership back to root:root, it didn't work.



      The only thing that worked was changing public_html to 751 (instead of 750). Why does Apache need the execute permissions for the world? And how do you fix it?



      754 also didn’t work







      .htaccess file-permissions errordocument





      share







      New contributor




      Chris Happy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Chris Happy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Chris Happy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 7 mins ago









      Chris HappyChris Happy

      1011




      1011




      New contributor




      Chris Happy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Chris Happy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Chris Happy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Chris Happy is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963607%2fwhy-does-apache-require-751-on-public-html%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Chris Happy is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Chris Happy is a new contributor. Be nice, and check out our Code of Conduct.













          Chris Happy is a new contributor. Be nice, and check out our Code of Conduct.












          Chris Happy is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963607%2fwhy-does-apache-require-751-on-public-html%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Українські прізвища Зміст Історичні відомості |...