Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> Services >> HTTP Server >> Apache >> What can cause your Apache web application on Linux env to fail writing to the local server directory

 

Most likely SELINUX filesystem context not assigned for the directory to be writable

 

 

To check

ls -dZ /var/www/html

 

To set

semanage fcontext -at httpd_sys_rw_content_t "/var/www/html(/.*)?"

restorecon -R /var/www/html

 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]