MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Development => Topic started by: zenkul on 2014-02-28, 14:37:56

Title: Hiawatha : Syntax error in /home/hiawatha/conf/defaults/init.conf line 124
Post by: zenkul on 2014-02-28, 14:37:56
after update :
Code: [Select]
Starting Hiawatha web server: Syntax error in /home/hiawatha/conf/defaults/init.conf on line 124.line 124 is :  "UserDirectory = public_html"

sysinfo:
Code: [Select]
A. Kloxo-MR: 6.5.1.b-2014022801

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql-5.5.34-1.el6.x86_64
   2. PHP: php54-5.4.25-1.ius.el6.x86_64
   3. Httpd: --uninstalled--
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.3.1-1.mr.el6.x86_64
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: djbdns-1.05-17.3.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.35.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64

D. Php-type (for Httpd/proxy): php-fpm_event
Title: Re: Hiawatha : Syntax error in /home/hiawatha/conf/defaults/init.conf line 124
Post by: zenkul on 2014-02-28, 14:44:03
clicking "public_html -> /home/admin/hostpadeso/"
get the messege :
"Notice : The resource you have requested doesn't exist. The server returned the error message:
you_are_trying_to_go_outside_your_root"
Title: ~
Post by: MRatWork on 2014-02-28, 14:51:43
Find out in /usr/local/lxlabs/kloxo/file/hiawatha/tpl/defaults.conf.tpl and the same file inside /home/hiawatha/tpl and then modified to:
Code: [Select]
    #UserDirectory = public_html
    #UserWebsites = yes

Look like access /~user still not work in hiawatha.
Title: Re: Hiawatha : Syntax error in /home/hiawatha/conf/defaults/init.conf line 124
Post by: MRatWork on 2014-02-28, 14:53:05
I will fix this issue (with # for UserDirectory and UserWebsites) in next update.
Title: Re: Hiawatha : Syntax error in /home/hiawatha/conf/defaults/init.conf line 124
Post by: zenkul on 2014-02-28, 15:12:44
thanks
I will be waiting

my temporary solution : deleted line 124 "UserDirectory = public_html"

and no touch "fix and cleanup" command
Title: Re: Hiawatha : Syntax error in /home/hiawatha/conf/defaults/init.conf line 124
Post by: MRatWork on 2014-02-28, 15:17:43
Just add '#' in front of  'UserDirectory = public_html' and 'UserWebsites = yes' in  'usr/local/lxlabs/kloxo/file/hiawatha/tpl/defaults.conf.tpl' and '/home/hiawatha/tpl/defaults.conf.tpl'.

And then no error when running fix and cleanup.
Title: Re: Hiawatha : Syntax error in /home/hiawatha/conf/defaults/init.conf line 124
Post by: zenkul on 2014-02-28, 15:26:34
Thank you very much
Title: Re: Hiawatha : Syntax error in /home/hiawatha/conf/defaults/init.conf line 124
Post by: intan on 2016-11-11, 14:41:19
setelah sya add domain tidak bisa install wordpress dan saya coba utk menghapus index.html di public hatml default tetep muncul hiawatha... saya masih bingung dengan struktur utk public htmlnya / htdoc