Created
          May 26, 2010 15:31 
        
      - 
      
- 
        Save gabetax/414638 to your computer and use it in GitHub Desktop. 
    Modification of /System/Library/LaunchDaemons/org.apache.httpd.plist for passing in strings for the built-in MacOSX (10.6 Snow Leopard and 10.7 Lion) Apache
  
        
  
    
      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
    
  
  
    
  | <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Disabled</key> | |
| <true/> | |
| <key>Label</key> | |
| <string>org.apache.httpd</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/sbin/httpd</string> | |
| <string>-D</string> | |
| <string>FOREGROUND</string> | |
| <string>-D</string> | |
| <string>DEVELOPMENT_SERVER</string> | |
| </array> | |
| <key>EnvironmentVariables</key> | |
| <dict> | |
| <key>SERVER_ENV</key> | |
| <string>development</string> | |
| </dict> | |
| <key>OnDemand</key> | |
| <false/> | |
| <key>SHAuthorizationRight</key> | |
| <string>system.preferences</string> | |
| </dict> | |
| </plist> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Note. Works for 10.8.2 as well.