[MKDoc-users] Success... almost

Jean-Michel Hiver jhiver at mkdoc.com
Thu Jun 5 11:08:03 BST 2003


> Well, I tracked down my mistake in MySQL and successfully ran the 
> install script. I put the 'include' statement into my system's 
> httpd.conf (on FreeBSD it's in /usr/local/etc/apache). I added the 
> suggested names to /etc/hosts, using poppy.stjohn.ac.th as the domain 
> name. I fired up my browser (Mozilla) on my Windoze machine and entered 
> 'http://admin.poppy.stjohn.ac.th'. Mozilla gave me a little error 
> window, 'www.poppy.stjohn.ac.th could not be found.Please check the name 
> and try again.'  OK, so I went to the \Windows directory and edited the 
> LMHosts file to add the names and re-booted (gad, I get tired of that). 
> Fired up Mozilla again, same result.

Which domains have you set up when installing MKDoc?
I assume the following:
     http://www.poppy.stjohn.ac.th
     http://admin.poppy.stjohn.ac.th
     http://su.poppy.stjohn.ac.th
?

Then those 3 domains should point to the box running MKDoc either in 
your DNS or in your hosts file.


> So I tried 'http://poppy/' and got '502 - Internal server error'. The 
> www_error_log showed that something had not been able to find Hack.pm. 

That's part of the very bad Perl 5.6.1 UTF-8 support we were talking 
about. There should be a contrib/ directory with a UTF8-Hack Perl module 
in it that you need to install.


> Re-ran install.pl. Tried again. This time I got the MkDoc root document. 
> Success!!! But... I can't access the admin account this way.

> So now it's a DNS problem. I use the /etc/hosts file for internal name 
> resolution, checked to make sure /etc/host.conf is still OK, yup, check 
> hosts first, then check bind which is on an outside server. So what's next?

Make sure that your three domains (for www, admin, su) are the same in 
the following locations:

1/ <path_to_your_mkdoc_dir>/conf/sites.conf
2/ <path_to_your_site>/httpd.conf
3/ host file or DNS. Prefereably DNS for anything else than playing on 
the local machine :)

Make sure you have installed the Perl UTF8::Hack module.

Let us know how it goes :)

BTW: What was that MySQL mistake of yours?

Cheers,



More information about the MKDoc-users mailing list