Red Hat Bugzilla – Bug 72680
virtual host editor doesn't set default document root
Last modified: 2015-03-04 20:11:24 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020809
Description of problem:
The virtual host editor doesn't not set the default document root even though it
is specified in the tool.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a new virtual host.
2. Input a directory for the default document root.
3. Exit tool, saving changes, and restart httpd
Actual Results: The default document root remains /var/www/html as evidenced by
my /var/log/httpd/error_log file:
[Mon Aug 26 11:16:11 2002] [error] [client 127.0.0.1] File does not exist:
Expected Results: The document root should point to the test.html file in the
directory which I specified in the tool, which is outside of /var/www/html.
Just tested it and it works fine for me:
Entered /var/www/html/lala/ as Document Root in the default virtual host.
Saved the changes.
Edited /var/www/html/lala/test.html with a text
mozilla http://localhost/test.html showed the contents of that file.
Read ya, Phil