It would be nice to have a sample apache config distributed with hostmaster, and optionally directly installed in /etc/apache{,2}/{conf.d,sites-enabled}.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | hostmaster.koumbit.net.txt | 447 bytes | anarcat |
It would be nice to have a sample apache config distributed with hostmaster, and optionally directly installed in /etc/apache{,2}/{conf.d,sites-enabled}.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | hostmaster.koumbit.net.txt | 447 bytes | anarcat |
Comments
Comment #1
anarcat commentedOur config file. I think that the AllowOverride there is a bit too much, since I *think* we can have clean_urls with just symlinks.. or something.
Comments welcome.
Comment #2
anarcat commentedI reworked this a bit... Basically, to have created drupals work, you need to AllowOverride on /var/hostmaster/webroot for all the VirtualHosts:
Comment #3
ransom commentedhttp://drupal.org/node/87552
wrote that along time ago.. not sure if it'd help much wrote it in .sh (bash) not .php but *shrug*
PS:(horribly dislexic so it's probably totally off topic I do that alot & I'm reading through bug reports to see if I want to try alpha or wait for a more pub relics..)
Comment #4
anarcat commentedSo we need two files:
* one in /etc/apache*/conf.d/hostmaster:
* another in /var/hostmaster/config/vhost.d/
Note how I kept the AllowOverride in the VirtualHost directive. Other domains will have to reproduce that config, if relevant.
Comment #5
spidermanJust ran into issues with installed sites not working due to the Options/Override thing. I found that using anarcat's "reworked" config in #2 worked fine, but I couldn't make it work by leaving the section inside the VirtualHost, as suggested in #4 (which makes sense to me, but I read anarcat's last comment as saying this is preferable and/or works for him ;)
Comment #6
anarcat commentedI added a configuration file to the install profile.