- Jun 23, 2001
- 27,730
- 8
- 0
Silly RH made the partition for the WWW docs a mere 250 megs. I need to change the document root in the httpd.conf file to another directory, in my user's home directory.
However, I cannot edit the httpd.conf file as my user, so I logged into root (dangerous I know) to edit it. Below is the default.
# Documents
DocumentRoot /var/www/html
UserDir public_html
IndexOptions FancyIndexing
I want to change it to point to /home/Bateluer/HTML
After editting it in root it looked like this
# Documents
DocumentRoot /home/Bateluer/HTML
UserDir public_html
IndexOptions FancyIndexing
However, it still did not point to the that directory. How can i make it look in /home/Bateluer/HTML for the files?
However, I cannot edit the httpd.conf file as my user, so I logged into root (dangerous I know) to edit it. Below is the default.
# Documents
DocumentRoot /var/www/html
UserDir public_html
IndexOptions FancyIndexing
I want to change it to point to /home/Bateluer/HTML
After editting it in root it looked like this
# Documents
DocumentRoot /home/Bateluer/HTML
UserDir public_html
IndexOptions FancyIndexing
However, it still did not point to the that directory. How can i make it look in /home/Bateluer/HTML for the files?