Created
          May 19, 2010 23:16 
        
      - 
      
- 
        Save ryanflorence/406983 to your computer and use it in GitHub Desktop. 
    Alternate vhost textmate snippet
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # domain: ${1:domain.com} | |
| <VirtualHost *:80> | |
| # Admin email, Server Name (domain name) and any aliases | |
| ServerAdmin ${2:webmaster}@${1} | |
| ServerName ${1} | |
| ServerAlias ${3:www.${1}} | |
| # Index file and Document Root (where the public files are located) | |
| DirectoryIndex ${4:index.html} | |
| DocumentRoot ${5:/home/${6:${2}}/public_html/${1}/${7:public}} | |
| # Custom log file locations | |
| LogLevel warn | |
| ErrorLog ${8:/home/${6:${2}}/public_html/${1}/log/error.log} | |
| CustomLog ${9:/home/${6:${2}}/public_html/${1}/log/access.log co$} | |
| </VirtualHost> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment