<VirtualHost *:80>
ServerName ccp.ez.local
ServerAlias ccp.ez.local
ServerAlias ccp.ez.local.admin
ServerAlias ccp.adminez.local
ServerAlias ccp.ez.local.co.uk
DocumentRoot "C:/wamp/www/workspace_php/CCP_eZ_trunk"
DirectoryIndex index.php
<Directory "C:/wamp/www/workspace_php/CCP_eZ_trunk">
AcceptPathInfo On
Options FollowSymLinks
AllowOverride None
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine On
ProxyPassReserve /api.php/ http://
RewriteRule ^/api.php/(.*) http://API-BO-DEV\/api\.php/$1 [P,L]
RewriteRule content/treemenu/? /index_treemenu.php [L]
RewriteRule ^/var/storage/.* - [L]
RewriteRule ^/var/[^/]+/storage/.* - [L]
RewriteRule ^/var/cache/texttoimage/.* - [L]
RewriteRule ^/var/cache/public/.* - [L]
RewriteRule ^/var/[^/]+/cache/texttoimage/.* - [L]
RewriteRule ^/var//[^/]+/cache/public/.* - [L]
RewriteRule ^/var/([^/]+/)?cache/public/.* - [L]
RewriteRule ^/design/[^/]+/(stylesheets|flash|xml|fonts|images|javascript)/.* - [L]
RewriteRule ^/share/icons/.* - [L]
RewriteRule ^/static/.* - [L]
RewriteRule ^/extension/[^/]+/design/[^/]+/(stylesheets|flash|xml|fonts|images|javascript?)/.* - [L]
RewriteRule ^/packages/styles/.+/(stylesheets|flash|xml|fonts|images|javascript)/[^/]+/.* - [L]
RewriteRule ^/packages/styles/.+/thumbnail/.* - [L]
RewriteRule ^/favicon\.ico - [L]
RewriteRule ^/robots.txt /var/storage/robots.txt/%{SERVER_NAME}.txt [R=301,L]
RewriteRule ^/sitemap\.xml - [L]
RewriteRule .* /index.php
</IfModule>
</VirtualHost>
<VirtualHost *:80>
ServerName ccp.trunk.local
ServerAlias *.ccp.trunk.local
ServerAlias API-BO-DEV
DocumentRoot "C:/wamp/www/workspace_php/CCP_Symfony_trunk/web"
DirectoryIndex index.php
<Directory "C:/wamp/www/workspace_php/CCP_Symfony_trunk/web">
AllowOverride All
Allow from All
</Directory>
Alias /sf "C:/wamp/www/workspace_php/CCP_Symfony_trunk/lib/vendor/symfony/data/web/sf"
<Directory "C:/wamp/www/workspace_php/CCP_Symfony_trunk/lib/vendor/symfony/data/web/sf">
AllowOverride All
Allow from All
</Directory>
Partager