Lullabot / trusty32-lamp

An Ubuntu 14.04 VM for PHP with built in profiling
GNU General Public License v3.0
32 stars 10 forks source link

Use web instead of docroot? #31

Closed q0rban closed 6 years ago

q0rban commented 7 years ago

Should we consider switching from assuming docroot to assuming web for the web root? This is what drupal-project uses.

deviantintegral commented 6 years ago

I originally used docroot because that's what Acquia used, and you couldn't change it. Do you know if that's still the case? If not, perhaps we make this a configuration option? It wouldn't be too difficult to ship two different apache site configs with different docroots, and swap them out with a provisioning shell script in the Vagrantfile.

q0rban commented 6 years ago

Interesting background on the discussion: https://github.com/drupal-composer/drupal-project/issues/64

q0rban commented 6 years ago

I think a symlink is fine in most circumstances, so perhaps this is just a documentation thing. When does a symlink not work? I did run into some funkiness with using a symlink and it not reading the .htaccess file, but I think when I looked closer it was a PEBKAC error.

deviantintegral commented 6 years ago

I just tested using a symlink and everything seems OK. I'm going to file a docs update for that.