Hi!. I installed Hiawatha(LAMP) yesterday. Default is WebsiteRoot = /root/httpd/hiawatha. I changed it to WebsiteRoot = /root/httpd/hiawatha/test. (mkdir /root/httpd/hiawatha/test and made index.php intest-dir) index.php <?php echo dirname(__FILE__); ?> I reboot hiawatha.(using /etc/rc.d/init.d/rc.httpd stop & start) But WebsiteRoot don't change.
How does WebsiteRoot change?
Hugo Leisink
18 January 2010, 20:38
Are you sure the right (virtual) host is being used? Please, post your complete configuration file.
kaz
19 January 2010, 01:03
Thanks. I cannot send hiawatha.conf. "Message seen as spam.", although I add
---
tag.
kaz
19 January 2010, 05:06
I changed only WebsiteRoot = /root/httpd/hiawatha/test in hiawatha.conf. Another line still is default. But, it appear /root/httpd/hiawatha/index.php.
Sorry, I cannot upload hiawatha.conf.
Hugo Leisink
19 January 2010, 09:07
You can mail your configuration to hugo@hiawatha-webserver.org