Skip to content

Instantly share code, notes, and snippets.

@skvoz
Last active August 29, 2015 14:20
Show Gist options
  • Save skvoz/947895987d2514042f02 to your computer and use it in GitHub Desktop.
Save skvoz/947895987d2514042f02 to your computer and use it in GitHub Desktop.

Revisions

  1. skvoz revised this gist May 5, 2015. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion yii2 virtualhost
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,6 @@
    DocumentRoot "/Users/md101/Sites/business-card.local/frontend/web"
    ServerName business-card.local
    #ServerAlias your.alias.here
    Alias /backend /Users/md101/Sites/business-card.local/backend/web
    ScriptAlias /cgi-bin "/Users/md101/Sites/business-card.local/cgi-bin"

    <Directory "/Users/md101/Sites/business-card.local/frontend/web">
  2. skvoz created this gist May 5, 2015.
    18 changes: 18 additions & 0 deletions yii2 virtualhost
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    # Created Tue May 5 13:28:50 EEST 2015
    <VirtualHost *:80>
    DocumentRoot "/Users/md101/Sites/business-card.local/frontend/web"
    ServerName business-card.local
    #ServerAlias your.alias.here
    Alias /backend /Users/md101/Sites/business-card.local/backend/web
    ScriptAlias /cgi-bin "/Users/md101/Sites/business-card.local/cgi-bin"

    <Directory "/Users/md101/Sites/business-card.local/frontend/web">
    Options All
    AllowOverride All
    Require all granted
    </Directory>

    CustomLog "/Users/md101/Sites/business-card.local/logs/access_log" combined
    ErrorLog "/Users/md101/Sites/business-card.local/logs/error_log"

    </VirtualHost>