jide / clamp

Command Line Apache MySQL PHP
http://jide.github.io/clamp
GNU General Public License v2.0
79 stars 9 forks source link

Multiple setenv's in the clamp.json #10

Closed JaredSartin closed 7 years ago

JaredSartin commented 9 years ago

How would one accomplish this? I would love to not have my .htaccess contain these.

JaredSartin commented 8 years ago

ping.

jide commented 8 years ago

You can probably use this trick in clamp.json, but I did not test... tell me if it works :)

"apache": {
    "commands": {
        "httpd": "sudo httpd -c 'setenv TEST true' -c 'setenv OTHER false'"
    }
}