[OpenBSD 4.0] Mediawiki in chroot
I'm getting this error & I understand that I need to symlink some file inside the chroot (/var/www) area but I'm not sure which file to be exact.
Quote:
|
It seems that you should be able to do:
Code:
# mkdir /var/www/var |
chort, thanks for your help.
I applied the changes but it doesn't work. My mediawiki is under /var/www/<mydomain>/mediawiki & "function.dl" is pointing to http://mydomain/mediawiki/config/function.dl. I also don't have any entry for mediawiki in httpd.conf. error_log shows nothing. access_log shows this - Code:
[11/Feb/2007:15:38:15 +600] "GET /mediawiki/config/index.php HTTP/1.1" 200 2872 |
Well, to the point of the error message... are you sure that PHP is actually compiled with MySQL support?
Did you build PHP from Ports, or did you install the package? What's the output of Code:
$ ls /var/db/pkg |grep php |
php was build from packages at the time of installing mediawiki. Here's the output -
Quote:
apachectl stop httpd -u apachectl start it works fine |
Actually, it occurred to me that symlinking may not work, since it's essentially rewriting the directory being looked for (which isn't going to exists inside the chroot). Or at least, I don't think it will work the way I posted it... It might work by making /var/www/var/www a symlink to / (since chroot is going to essentially make /var/www the new /).
I think that might be the answer. Try either: Code:
# cd /var/www |
All times are GMT -5. The time now is 03:42 PM. |