ServerAlias edit.test ServerAdmin webmaster@localhost DocumentRoot /home/{USER_NAME}/workspaces/www RewriteEngine on # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel debug # LogLevel rewrite:trace2 # logging will be written into the ErrorLog CustomLog ${APACHE_LOG_DIR}/access.log combined Options FollowSymLinks AllowOverride None ErrorLog ${APACHE_LOG_DIR}/error.log # escape int:escape is needed for Drupal clean url rewriting # to work with the cdm_dataportal RewriteMap escape int:escape # # Reverse Proxie # Require all granted ProxyPreserveHost On ProxyRequests off # lets the cdmserver run at port 80 for public access ProxyPass /cdmserver/ http://127.0.0.1:8080/cdmserver/ ProxyPassReverse /cdmserver/ http://127.0.0.1:8080/cdmserver/ # # Drupal 7 ... # Options Indexes FollowSymLinks Includes AllowOverride All Require all granted # # test # Options Indexes FollowSymLinks Includes AllowOverride All Require all granted Alias /polyfills "/home/{USER_NAME}/workspaces/www/drupal-7.x-dev/polyfills/" # Alias for all drupal sites running under http://edit.test/d7/{site_name}/ AliasMatch ^/d7/([^/]+)(.*) /home/{USER_NAME}/workspaces/www/drupal-7.x-dev$2