Changes

Jump to: navigation, search

Tung httpd conf

483 bytes removed, 22:16, 27 July 2011
no edit summary
#Write lines in diskfree.cgi
#Open a browser, and enter <code>http://hostname/~your-user-id/diskfree.cgi</code> . The disk usage of your computer should be displayed.
 
===testing===
#Login as a root
#Edit configuration file <b><code><font color=brown >/etc/httpd/conf/httpd.conf </font></code></b>again. Add lines
#:<code> sfdsdffsd
#:: xxxx
#:sfdsdffsd</code>
#Restart the Apache server: <b><code><font color=green >service httpd restart</font></code></b>
#By default, selinux doesn't allow Apache Server to read file inside user's home. Change the default setting:<b><code><font color=green > setsebool -P httpd_enable_cgi 1</font></code></b>
1
edit

Navigation menu