# /etc/apache2/conf.d/includes/post_virtualhost_nf # /etc/apache2/conf.d/includes/pre_virtualhost_nf # /etc/apache2/conf.d/includes/pre_main_nf # To have your modifications retained, you should create/edit administrator-specific # regeneration of this configuration file, or an Apache update. # Direct modifications to the Apache configuration file WILL be lost upon subsequent USE INCLUDE FILES IF YOU NEED TO MAKE A CHANGE Can I change DefaultHost to 'myusername' anywhere? WHM has Apache mod_userdir Tweak where only 'DefaultHost (nobody)' has 'Exclude Protection' selected and all my other hosts/website have 'myusername'. I see my Apache now runs as 'nobody' I think it used to be/should be 'myusername'? My PW sites were installed as 'myusername' and all folders/files are owned by that 'myusername'.Įdit: EasyApache apparently "updates" user settings or PHP handlers (?) and you have to turn that off? Here is a possible way to make Apache run as 'username' instead of 'nobody', I think, from 2012, so not risking that one. I'll see if I can fix my problem with that, but they're not clearcut instructions what ownership and permissions each folder/file should have. Here's one via a Google search - also uses CentOS, but with Apache vs Nginx issue, so problably not relevant. I'm trying to find out where and created this thread to find out if anyone had seen something similar after PHP config changes. Of course there is a misconfiguration somewhere. I have not improvised anything, not made any manual configuration changes. use EasyApache4 just standardized automated upgrade/changes on a VPS with a few PW websites that have been running fine for years. Edit: Solution is at the end of this comment, after a few educational dead ends.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |