Forums / Setup & design / virtualhost and siteaccess
Alessandro Cipriani
Monday 05 July 2004 2:52:23 am
hi all i setup my apache to run a virtualhost in this way: .... DirectoryIndex index.php .... <VirtualHost *> <Directory C:\Programmi\eZpublish\ezpublish\> Options FollowSymLinks AllowOverride None </Directory> ServerName www.mysite.com
DocumentRoot "c:\programmi\eZpublish\ezpublish"
</VirtualHost>
and the site.ini.append as follows:
MatchOrder=host HostMatchType=map HostMatchMapItems[]HostMatchMapItems[]=www.mysite.com:8000;mysiteaccess
in this way when i go to 'www.mysite.com:8000' i get the site's homepage
the problem is when i access a node under the homepage: if i try to access the 'news' node (content/view/full/30) i get a 'module news doesn't exist' message and the link on the browser is:http://www.myhost.com:8000/index.php/mysiteaccess/content/view/full/30 while i expected something like http://www.myhost.com:8000/index.php/content/view/full/30
any hint?
best regardsalessandro
Björn Dieding@xrow.de
Monday 05 July 2004 7:13:39 pm
A host does not include the port.
try it with out it. HostMatchMapItems[]=www.mysite.com;mysiteaccess
you can also try to use port mappingMatchOrder=port;host
Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs Looking for hosting? http://hostingezpublish.com ----------------------------------------------------------------------------- GMT +01:00 Hannover, Germany Web: http://www.xrow.com/