In documenation , I have seen like
Let's say that we want to access eZ Publish by using the following URLs:
*
http://www.example.com (actual website for public access)
*
http://admin.example.com (administration interface for the webmaster)
In order to achieve this, we need to set up both eZ Publish and the web server so that they respond correctly to the different requests.
But If we are using .htaccess_root for rewrite rules,(no access to httpd_conf)
we need to set up both eZ Publish and and in .htacess_root
ezpublish related settings
[SiteSettings]
MatchOrder=host
ForceVirtualHost=true
HostMatchMapItems[]=www.example.com;example
HostMatchMapItems[]=admin.example.com;example_admin
SiteURL=//anyone have anyidea wht will be the URL
.htacess_root setting for rewrite rules
RewriteEngine on
RewriteCond %{HTTP_HOST} ^bolsaempleocuba.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.bolsaempleocuba.com$
RewriteRule ^/?$ "http\:\/\/www\.pincha\-aqui\.com" [R=301,L]
RewriteRule content/treemenu/? /index_treemenu.php [L]
RewriteRule ^/var/storage/.* - [L]
RewriteRule ^/var/[^/]+/storage/.* - [L]
RewriteRule ^/var/([^/]+/)?cache/(texttoimage|public)/.* - [L]
RewriteRule ^/design/[^/]+/(stylesheets|images|javascript)/.* - [L]
RewriteRule ^/share/icons/.* - [L]
RewriteRule ^/extension/[^/]+/design/[^/]+/(stylesheets?|images?|javascript|flash|lib?)/.* - [L]
RewriteRule ^/packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteRule ^/packages/styles/.+/thumbnail/.* - [L]
RewriteRule ^/favicon\.ico - [L]
RewriteRule ^/robots\.txt - [L]
RewriteRule .* index.php
But there is a bit confustion , if we are using httpd_conf file for rewrite rules , the following at the end of the rewrite rules in httpd_conf ,
ServerName www.example.com
ServerAlias admin.example.com
How do we set these settings in .htaccess_root
if we are using fast cgi or cgi whatever it is,
urls will be redirected to
www.example.com/user/login //for the publich site access
instead of
www.example.com/index.php?/example/user/login
and for admin
admin.example.com/user/login
instead of
admin.example.com/index.php?/admin.example/user/login
So if we are using fast_cgi or cgi , by following above setting we can eliminate index.php and also the "?" Can anyone have any suggestion about this please help