apache_conf 示例BLT和drupal vm多站点配置

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache_conf 示例BLT和drupal vm多站点配置相关的知识,希望对你有一定的参考价值。

vagrant_hostname: local.powerplant.com
vagrant_machine_name: powerplant
vagrant_ip: 192.168.26.124
vagrant_box: geerlingguy/ubuntu1604
drupal_site_name: 'Power Plant'
vagrant_synced_folders:
    - { local_path: ., destination: /var/www/powerplant, type: nfs }
drupal_build_composer_project: false
drupal_build_composer: false
drupal_composer_path: false
drupal_composer_install_dir: /var/www/powerplant
drupal_core_path: /var/www/powerplant/docroot
ssh_home: /var/www/powerplant
apache_vhosts:
    - { servername: '{{ drupal_domain }}', serveralias: 'www.{{ drupal_domain }}', documentroot: '{{ drupal_core_path }}', extra_parameters: '{{ apache_vhost_php_fpm_parameters }}' }
    - { servername: local.demo.com, serveralias: www.local.demo.com, documentroot: '{{ drupal_core_path }}', extra_parameters: '{{ apache_vhost_php_fpm_parameters }}' }
    - { servername: 'adminer.{{ vagrant_hostname }}', documentroot: '{{ adminer_install_dir }}', extra_parameters: '{{ apache_vhost_php_fpm_parameters }}' }
    - { servername: 'xhprof.{{ vagrant_hostname }}', documentroot: '{{ php_xhprof_html_dir }}', extra_parameters: '{{ apache_vhost_php_fpm_parameters }}' }
    - { servername: 'pimpmylog.{{ vagrant_hostname }}', documentroot: '{{ pimpmylog_install_dir }}', extra_parameters: '{{ apache_vhost_php_fpm_parameters }}' }
    - { servername: '{{ vagrant_ip }}', serveralias: 'dashboard.{{ vagrant_hostname }}', documentroot: '{{ dashboard_install_dir }}', extra_parameters: '{{ apache_vhost_php_fpm_parameters }}' }
    - { servername: local.pp.com, documentroot: '{{ drupal_core_path }}', extra_parameters: '{{ apache_vhost_php_fpm_parameters }}' }
   
mysql_databases:
    - { name: drupal, encoding: utf8, collation: utf8_general_ci }
    - { name: demo, encoding: utf8, collation: utf8_general_ci }
    
mysql_users:
    - { name: drupal, host: '%', password: drupal, priv: 'drupal.*:ALL' }
    - { name: demo, host: '%', password: demo, priv: 'demo.*:ALL' }
drupal_install_site: false
configure_drush_aliases: false
nodejs_version: 4.x
nodejs_npm_global_packages:
    - { name: bower }
    - { name: gulp-cli }
nodejs_install_npm_user: '{{ drupalvm_user }}'
npm_config_prefix: '/home/{{ drupalvm_user }}/.npm-global'
installed_extras:
    - adminer
    - drush
    - mailhog
    - nodejs
    - selenium
    - xdebug
    - solr
php_version: '7.1'
php_packages_extra:
    - 'php{{ php_version }}-bz2'
    - 'php{{ php_version }}-imagick'
    - imagemagick
php_xdebug_default_enable: 0
php_xdebug_coverage_enable: 0
php_xdebug_cli_enable: 0
php_xdebug_remote_enable: 1
php_xdebug_remote_connect_back: 1
php_xdebug_idekey: PHPSTORM
php_xdebug_max_nesting_level: 256
php_xdebug_remote_port: '9000'
php_memory_limit: 1024M
post_provision_scripts:
    - ../../../acquia/blt/scripts/drupal-vm/post-provision.sh
    - ../../../../box/scripts/configure-solr.sh
solr_version: 4.5.1

以上是关于apache_conf 示例BLT和drupal vm多站点配置的主要内容,如果未能解决你的问题,请参考以下文章

apache_conf Drupal 8 .htaccess文件(以防我需要副本)

apache_conf Redireccioanr el trafic de http https(SSL)Drupal o altres。

apache_conf 来自http://drupal.stackexchange.com/questions/74778/ckeditor-removes-class-names-even-with

apache_conf 来自http://drupal.stackexchange.com/questions/74778/ckeditor-removes-class-names-even-with

apache_conf 来自http://drupal.stackexchange.com/questions/74778/ckeditor-removes-class-names-even-with

sh 对BLT来说很棒