Forums / Install & configuration / Virtual Hosts & eZ publish

Virtual Hosts & eZ publish

Author Message

Klaus Hereth

Thursday 22 May 2003 7:26:54 am

After successfully installing eZ publish and configuring my Apache server to host the new server, I cannot figure out how to tell eZ publish the real path to the virtual host's documents on my machine.

Here's my setup:

eZ publish (ez.pub) is located at

/Library/WebServer/ezpublish

My virtual host (www.host.pub) is located at

~/Sites/host/public_html

I configured the [SiteAccessSettings] of site.ini as documented in SDK/Tutorials/Main Concepts:

MatchOrder=host
HostMatchRegexp=^(.+)\.host\.pub$
HostMatchSubtextPost=\.h-force\.pub

I created two new folders at

/Library/WebServer/ezpublish/settings/siteaccess

named 'www' and 'admin' to correspond with the subdomains 'www' and 'admin' as in the mybookstore-example. I created the site.ini.append-files there to override standard settings.

http://www.host.pub/ is still empty. eZ publish seems to ignore it. How do I point eZ publish to the right folders? Or do I have to manually put something there?

And: why do all eZ publish calls present the login-page? My virtual eZ publish server is located at http://ez.pub/.

When I call http://ez.pub/index.php/manual/ it's the same as http://ez.pub/index.php/admin/. I don't understand it.

Can anyone please shed light on my installation's shadow? Thank you in advance!

jim caprioli

Sunday 25 May 2003 7:56:52 am

Have you checked your site.ini.append files in the settings/siteaccess directories? If I remember correct there is a bug in the release so that manual can never be accessed you have to manually fix a file. The solution is on the forum. I had several problems during installing release 3 but I found that with using the right search words all the answers are easily found right >here<.

For virtual host info and stuff this is NOT the place. http://www.apache.org has free docs on Apache. And don't forget version 2 is NOT supported. (it is but it just doesn't work)