Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Virtual Hosts
- #
- # Required modules: mod_log_config
- # If you want to maintain multiple domains/hostnames on your
- # machine you can setup VirtualHost containers for them. Most configurations
- # use only name-based virtual hosts so the server doesn't need to worry about
- # IP addresses. This is indicated by the asterisks in the directives below.
- #
- # Please see the documentation at
- # <URL:http://httpd.apache.org/docs/2.4/vhosts/>
- # for further details before you try to setup virtual hosts.
- #
- # You may use the command line option '-S' to verify your virtual host
- # configuration.
- #
- # VirtualHost example:
- # Almost any Apache directive may go into a VirtualHost container.
- # The first VirtualHost section is used for all requests that do not
- # match a ServerName or ServerAlias in any <VirtualHost> block.
- #
- #NameVirtualHost *:80
- <VirtualHost *:80>
- ServerName localhost
- DocumentRoot "/Users/tomislavjezidzic/work/default"
- <Directory "/Users/tomislavjezidzic/work/default">
- Options Indexes FollowSymLinks Includes execCGI
- AllowOverride All
- Order Allow,Deny
- Allow From All
- </Directory>
- </VirtualHost>
- <VirtualHost 127.0.0.1:80>
- ServerAdmin tomislavjezidzic@admin.ozujsko.loc
- DocumentRoot "/Users/tomislavjezidzic/work/ozujsko_loyalty"
- ServerName www.admin.ozujsko.loc
- ServerAlias www.admin.ozujsko.loc
- <Directory "/Users/tomislavjezidzic/ozujsko_loyalty">
- Options All
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
- <VirtualHost 127.0.0.1:80>
- ServerAdmin tomislavjezidzic@api.ozujsko.loc
- DocumentRoot "/Users/tomislavjezidzic/work/ozujsko_loyalty/api"
- ServerName www.api.ozujsko.loc
- ServerAlias www.api.ozujsko.loc
- <Directory "/Users/tomislavjezidzic/ozujsko_loyalty/api">
- Options All
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
- <VirtualHost 127.0.0.1:80>
- ServerAdmin tomislavjezidzic@iapp.loc
- DocumentRoot "/Users/tomislavjezidzic/work/iapp"
- ServerName www.iapp.loc
- ServerAlias www.iapp.loc
- <Directory "/Users/tomislavjezidzic/work/iapp">
- Options All
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
- #####################
- # YAPP.LOC
- #####################
- <VirtualHost 127.0.0.1:80>
- ServerAdmin tomislavjezidzic@yapp.loc
- DocumentRoot "/Users/tomislavjezidzic/work/yapp"
- ServerName www.yapp.loc
- ServerAlias www.yapp.loc
- <Directory "/Users/tomislavjezidzic/work/yapp">
- Options All
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
- #<VirtualHost www.yapp.loc:443>
- # ServerAdmin tomislavjezidzic@yapp.loc
- # DocumentRoot "/Users/tomislavjezidzic/work/yapp/"
- # ServerName www.yapp.loc
- # SSLEngine on
- # SSLCertificateFile "/Users/tomislavjezidzic/ssl/yapp.loc/server.crt"
- # SSLCertificateKeyFile "/Users/tomislavjezidzic/ssl/yapp.loc/server.key"
- # <Directory "/Users/tomislavjezidzic/work/yapp/">
- # AllowOverride All
- # Order Allow,Deny
- # Allow from all
- # Require all granted
- # </Directory>
- #</VirtualHost>
- <VirtualHost 127.0.0.1:80>
- ServerAdmin tomislavjezidzic@sponge.loc
- DocumentRoot "/Users/tomislavjezidzic/work/devplayground/sponge/frontend/web"
- ServerName www.sponge.loc
- ServerAlias www.sponge.loc
- <Directory "/Users/tomislavjezidzic/work/devplayground/sponge/frontend/web">
- Options All
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
- <VirtualHost 127.0.0.1:80>
- ServerAdmin tomislavjezidzic@dwp.loc
- DocumentRoot "/Users/tomislavjezidzic/work/dwp"
- ServerName www.dwp.loc
- ServerAlias www.dwp.loc
- <Directory "/Users/tomislavjezidzic/work/dwp">
- Options All
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
- <VirtualHost 127.0.0.1:80>
- ServerAdmin tomislavjezidzic@front.loc
- DocumentRoot "/Users/tomislavjezidzic/work/front"
- ServerName www.front.loc
- ServerAlias www.front.loc
- <Directory "/Users/tomislavjezidzic/work/front">
- Options All
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
- <VirtualHost 127.0.0.1:80>
- ServerAdmin tomislavjezidzic@static.loc
- DocumentRoot "/Users/tomislavjezidzic/work/static"
- ServerName www.static.loc
- ServerAlias www.static.loc
- Header set Access-Control-Allow-Origin "*"
- Header always set Access-Control-Allow-Methods "POST, PUT, GET, DELETE, OPTIONS"
- Header always set Access-Control-Allow-Headers "Content-Type"
- <Directory "/Users/tomislavjezidzic/work/static">
- Options All
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
- <VirtualHost www.eotg.loc:80>
- ServerName eotg.loc
- ServerAdmin tomislavjezidzic@eotg.loc
- DocumentRoot "/Users/tomislavjezidzic/work/eye-on-the-goal/frontend/web"
- ErrorLog "logs/eotg-error_log"
- CustomLog "logs/eotg-access_log" common
- <Directory "/Users/tomislavjezidzic/work/eye-on-the-goal/frontend/web">
- RewriteEngine on
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . index.php
- DirectoryIndex index.php
- Options Indexes FollowSymLinks Includes execCGI
- AllowOverride All
- Require all granted
- ## Apache 2.2
- # Order allow,deny
- # Allow from all
- </Directory>
- </VirtualHost>
- ##
- # Eye On The Goal - backend
- ###
- <VirtualHost backend.eotg.loc:80>
- ServerAdmin tomislavjezidzic@eotg.loc
- ServerName backendeotg.loc
- DocumentRoot "/Users/tomislavjezidzic/work/eye-on-the-goal/backend/web"
- ErrorLog "logs/eotg-backend-error_log"
- CustomLog "logs/eotg-backend-access_log" common
- <Directory "/Users/tomislavjezidzic/work/eye-on-the-goal/backend/web">
- # use mod_rewrite for pretty URL support
- RewriteEngine on
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . index.php
- DirectoryIndex index.php
- Options Indexes FollowSymLinks Includes execCGI
- AllowOverride All
- Require all granted
- ## Apache 2.2
- # Order allow,deny
- # Allow from all
- </Directory>
- </VirtualHost>
- <VirtualHost static.eotg.loc:80>
- ServerAdmin tomislavjezidzic@eotg.loc
- DocumentRoot "/Users/tomislavjezidzic/work/static/eye-on-the-goal/"
- ServerName staticeotg.loc
- ErrorLog "logs/static_eotg-error_log"
- CustomLog "logs/static_eotg-access_log" common
- Header set Access-Control-Allow-Origin "*"
- Header always set Access-Control-Allow-Methods "POST, PUT, GET, DELETE, OPTIONS"
- Header always set Access-Control-Allow-Headers "Content-Type"
- <Directory "/Users/tomislavjezidzic/work/static/eye-on-the-goal/">
- Options Indexes FollowSymLinks Includes execCGI
- AllowOverride All
- Require all granted
- </Directory>
- </VirtualHost>
- ##
- # Ozujsko web
- ##
- <VirtualHost 127.0.0.1:80>
- ServerAdmin tomislavjezidzic@iapp.com
- DocumentRoot "/Users/tomislavjezidzic/work/iapp/ozujskoweb"
- ServerName www.ozujsko.loc
- ServerAlias www.ozujsko.loc
- <Directory "/Users/tomislavjezidzic/work/iapp/ozujskoweb">
- Options All
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
- ##
- # default
- ##
- <VirtualHost 127.0.0.1:80>
- ServerAdmin tomislavjezidzic@default.loc
- DocumentRoot "/Users/tomislavjezidzic/work/default"
- ServerName localhost
- ServerAlias localhost
- <Directory "/Users/tomislavjezidzic/work/default">
- Options All
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
- ##
- # 10adams
- ##
- <VirtualHost 127.0.0.1:80>
- ServerAdmin tomislavjezidzic@10adams.loc
- DocumentRoot "/Users/tomislavjezidzic/work/10adams"
- ServerName www.10adams.loc
- ServerAlias www.10adams.loc
- <Directory "/Users/tomislavjezidzic/work/10adams">
- Options All
- AllowOverride All
- Order allow,deny
- Allow from all
- Require all granted
- </Directory>
- </VirtualHost>
- ##
- # evergreen
- ##
- <VirtualHost www.evergreen.loc:80>
- ServerAdmin tomislavjezidzic@evergreen.loc
- DocumentRoot "/Users/tomislavjezidzic/work/outside_wp/evergreen-public-website/public"
- ServerName www.evergreen.loc
- Header set Access-Control-Allow-Origin "*"
- <Directory "/Users/tomislavjezidzic/work/outside_wp/evergreen-public-website/public">
- Header set Access-Control-Allow-Origin "*"
- Options All
- AllowOverride All
- Require all granted
- </Directory>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement