Skip to content

Instantly share code, notes, and snippets.

@pritdeveloper
Last active October 8, 2019 22:38
Show Gist options
  • Save pritdeveloper/9491d9cf44d433fe8bbc4eb33781cc8a to your computer and use it in GitHub Desktop.
Save pritdeveloper/9491d9cf44d433fe8bbc4eb33781cc8a to your computer and use it in GitHub Desktop.
Codeenvy Host file
<VirtualHost *:80>
DocumentRoot /projects/project
LogLevel info
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /projects>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:443>
#ServerName singhs.work
DocumentRoot /projects/project
<Directory /projects>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment