Skip to content

Instantly share code, notes, and snippets.

@googya
Created January 23, 2013 09:38
Show Gist options
  • Select an option

  • Save googya/4603695 to your computer and use it in GitHub Desktop.

Select an option

Save googya/4603695 to your computer and use it in GitHub Desktop.
设定web的访问路径, 内网以及外网
<VirtualHost 192.168.10.1:82 220.222.222.222:82>
ServerName csco-show.pro-preview.com
DocumentRoot /srv/backend/current/public
Header set Access-Control-Allow-Origin "*"
<Directory /srv/backend/current/public>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment