Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
How do I make a text file writable?: msg#00143
|
Subject: |
How do I make a text file writable? |
The file listed below is a simple text file containing an integer number
to denote the number of visits to a web page.
A php script (counter.php) is supposed to increase the number by 1 every
time the page is accessed. It appears that everything happens as it is
supposed except for the incremental number of the visits. I think the
counter.txt file is not writable.
How do I make it writable? Do I need to change httpd_sys_content_t to
something else?
-----------------------------------------------------------------------------------------------
-rw-rw-r-- web web system_u:object_r:httpd_sys_content_t counter.txt
|
| |