Skip to content

Instantly share code, notes, and snippets.

@adbrsln
Created November 3, 2018 08:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adbrsln/cbf5e3cdee0865bd82cf82930ee2f6b4 to your computer and use it in GitHub Desktop.
Save adbrsln/cbf5e3cdee0865bd82cf82930ee2f6b4 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/html/
ServerName example.com
<Directory /var/www/html/ebiddi-api/public>
Options +FollowSymlinks
AllowOverride All
Require all granted
</Directory>
<Directory /var/www/html/ebiddi>
Options +FollowSymlinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
@ahmadshah
Copy link

Alias /api "/var/www/html/ebiddi-api/public"
<Directory "/var/www/html/ebiddi-api/public">
        Options +FollowSymlinks
        AllowOverride All
        Require all granted
</Directory>
Alias / "/var/www/html/ebiddi"
<Directory "/var/www/html/ebiddi">
        Options +FollowSymlinks
        AllowOverride All
        Require all granted
</Directory>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment