/[drupal]/contributions/modules/provision/web_server/provision_apache_server.tpl.php
ViewVC logotype

Contents of /contributions/modules/provision/web_server/provision_apache_server.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Thu Oct 29 17:21:05 2009 UTC (4 weeks, 2 days ago) by adrian
Branch: MAIN
CVS Tags: DRUPAL-6--0-4-ALPHA3, HEAD
Changes since 1.1: +4 -0 lines
File MIME type: text/x-php
Use apaches mod_env to set the database credentials in the virtualhost file, so that they are only accessible inside a specific process. the $_SERVER values are now bootstrapped in the verify site process and the config file rewritten, so that you can now safely verify a site. the $_SERVER values are stored inside the site drushrc.php so that normal drush commands will continue to operate as they would. The open_basedir directive is commented out until we can resolve issues with it.
1 # Aegir web server configuration file
2
3 <?php if (is_array($web_ports)) :
4 foreach ($web_ports as $web_port) :?>
5 NameVirtualHost *:<?php print $web_port; ?>
6
7 <?php
8 endforeach;
9 endif;
10 ?>
11
12 <IfModule !env_module>
13 LoadModule env_module modules/mod_env.so
14 </IfModule>
15
16 <?php print $extra_config; ?>

  ViewVC Help
Powered by ViewVC 1.1.2