Skip to content

Instantly share code, notes, and snippets.

@eimkasp
Last active August 29, 2015 14:03
Show Gist options
  • Save eimkasp/f32039881fb3c997efb5 to your computer and use it in GitHub Desktop.
Save eimkasp/f32039881fb3c997efb5 to your computer and use it in GitHub Desktop.
Appache httpd.conf example scriball
<VirtualHost *:80>
ServerName local.scriball.com
DocumentRoot /web/Scriball-FrontEnd/scriball/public
SetEnv APPLICATION_ENV dev2
RewriteEngine on
<Directory /web/Scriball-FrontEnd/scriball/public>
Options Indexes IncludesNOEXEC FollowSymLinks -MultiViews
AllowOverride All
Order allow,deny
Allow from all
#For Laravel
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName local.blog.scriball.com
DocumentRoot /web/Scriball-FrontEnd/WordPress
SetEnv APPLICATION_ENV dev2
RewriteEngine on
<Directory /web/Scriball-FrontEnd/WordPress>
Options Indexes IncludesNOEXEC FollowSymLinks -MultiViews
AllowOverride All
Order allow,deny
Allow from all
#For Laravel
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment