Skip to content

Instantly share code, notes, and snippets.

@matsumotory
Created September 12, 2016 11:12
Show Gist options
  • Select an option

  • Save matsumotory/6e7a8ab99cf7c9ce417846b360a6a81e to your computer and use it in GitHub Desktop.

Select an option

Save matsumotory/6e7a8ab99cf7c9ce417846b360a6a81e to your computer and use it in GitHub Desktop.
VirtualDocumentRoot "/usr/local/apache/vhosts/%0"
@matsumotory
Copy link
Author

aaa

VirtualDocumentRoot "/path/to/vhosts/%0"
SuexecUserGroup dummy dummy

@matsumotory
Copy link
Author

matsumotory commented Sep 12, 2016

bbb

<VirtualHost *:80>
    DocumentRoot /path/to/vhosts/host1.example.com/
    ServerName host1.example.com
    SuexecUserGroup host1 host1
</VirtualHost>
<VirtualHost *:80>
    DocumentRoot /path/to/vhosts/host2.example.com/
    ServerName host2.example.com
    SuexecUserGroup host2 host2
</VirtualHost>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment