Tuesday 10 January 2006 5:18:39 am
Hey I have now used sym-links all over the system, with the actual files in the customer's directory. Mysql doesn't seem to mind working with a link instead of the actual database directory, apache keeps a VHost-specific logfile in the right directory, and all of ez publish's variable parts are accessible. I had some trouble however starting ez publish. I had set the apache's DirectoryIndex to /home/customer/index.php. Index.php was a symlink to /var/www/ezpub/index.php. I got the most exotic php-errors i ever saw! One nasty, low, dirty trick: Make an actual /home/customer/index.php, but instead of linking to ez publish, include it in a frameset:
<!-- /home/customer/index.php -->
<html>
<head>
<title>
Foo
</title>
</head>
<frameset>
<frame src="http://[host]/index.php/[siteaccess]">
</frameset>
</html>
|