Wednesday 20 September 2006 2:31:24 am
Hi, the finest soution is take make a host based setup with different domain names like:
http://admin.yoursite.com http://www.yoursite.com which point the different siteaccesses: /settings/override/site.ini.append.php
[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]=corporate_site
AvailableSiteAccessList[]=corporate_site_admin
MatchOrder=host
HostMatchMapItems[]=yoursite.com;corporate_site
HostMatchMapItems[]=www.yoursite.com;corporate_site
HostMatchMapItems[]=admin.yoursite.com;corporate_site_admin
ForceVirtualHost=true
HostMatchType=map
and a apache rewrtie rule like this one to get ret of the index.php:
<IfModule mod_rewrite.c>
RewriteEngine On
Rewriterule ^/var/storage/.* - [L]
Rewriterule ^/var/[^/]+/storage/.* - [L]
RewriteRule ^/var/cache/texttoimage/.* - [L]
RewriteRule ^/var/[^/]+/cache/texttoimage/.* - [L]
Rewriterule ^/design/[^/]+/(stylesheets|images|javascript)/.* - [L]
Rewriterule ^/share/icons/.* - [L]
Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
Rewriterule ^/packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteRule .* /index.php
</IfModule>
So there's no need to change the siteaccess name at this point... Hope this helps..
Mit freundlichen Grüßen
Best regards
Norman Leutner
____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh
|