I am trying to install geeklog-1.3.9 and when I go to www.mydomainname.com/index.php which is the main page I get a blank paged and the following error message in the log file:
Apr 18 08:06:20 webby httpd: PHP Warning: open_basedir restriction in effect. File is in wrong directory in /home/e-smith/files/ibays/Primary/html/lib-common.php on line 69
Apr 18 08:06:20 webby httpd: PHP Fatal error: Failed opening required '/opt/geeklog-1.3.9/config.php' (include_path='.:/usr/share/php') in /home/e-smith/files/ibays/Primary/html/lib-common.php on line 69
Here is my guess from looking at the error:
geeklog is installed in /opt/geeklog-1.3.9/
A PHP file in Primary tried to access files in /opt however this is not allowed "open_basedir restriction in effect. File is in wrong directory"
I have not installed geeklog, but normally I would expect no files to be in the primary ibay, instead they would all be in /opt (for instance).
httpd.conf would then have an alias to make them appear at
http://yourdomain/yourappFor instance take PHPMyAdmin, it installs into /opt/administration/phpmyadmin but is accessed via
https://myserver/phpmyadmin/The magic can be found here
# cat /etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpmyadminAlias
# Administration: phpMyAdmin
Alias /phpmyadmin /opt/administration/phpmyadmin
<Directory /opt/administration/phpmyadmin>
RequireSSL on
Options -Indexes
AllowOverride None
order deny,allow
deny from all
allow from all
AuthName "phpMyAdmin"
AuthType Basic
AuthExternal pwauth
require user admin
Satisfy all
AddType application/x-httpd-php .php .php3
php_flag magic_quotes_gpc on
php_flag track_vars on
</Directory>
Once this template is expanded out and httpd restarted it would appear as though this application is in the main ibay.