Skip to content

Instantly share code, notes, and snippets.

@marvell
Created February 6, 2014 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save marvell/26b19ad6cc7f965918ef to your computer and use it in GitHub Desktop.
Save marvell/26b19ad6cc7f965918ef to your computer and use it in GitHub Desktop.
Bitrix: apache simple config
<VirtualHost *:8888>
ServerName example.com
ServerAdmin admin@example.com
DocumentRoot /var/www/example.com/public
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/example.com/public/>
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
# ErrorLog /var/www/example.com/logs/apache_error.log
# LogLevel warn
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment