Advertisement
Guest User

Untitled

a guest
Mar 14th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.37 KB | None | 0 0
  1.  
  2. # Virtual Hosts
  3. #
  4. # Required modules: mod_log_config
  5.  
  6. # If you want to maintain multiple domains/hostnames on your
  7. # machine you can setup VirtualHost containers for them. Most configurations
  8. # use only name-based virtual hosts so the server doesn't need to worry about
  9. # IP addresses. This is indicated by the asterisks in the directives below.
  10. #
  11. # Please see the documentation at
  12. # <URL:http://httpd.apache.org/docs/2.4/vhosts/>
  13. # for further details before you try to setup virtual hosts.
  14. #
  15. # You may use the command line option '-S' to verify your virtual host
  16. # configuration.
  17.  
  18. #
  19. # VirtualHost example:
  20. # Almost any Apache directive may go into a VirtualHost container.
  21. # The first VirtualHost section is used for all requests that do not
  22. # match a ServerName or ServerAlias in any <VirtualHost> block.
  23. #
  24.  
  25.  
  26. #NameVirtualHost *:80
  27.  
  28. <VirtualHost *:80>
  29. ServerName localhost
  30. DocumentRoot "/Users/tomislavjezidzic/work/default"
  31. <Directory "/Users/tomislavjezidzic/work/default">
  32. Options Indexes FollowSymLinks Includes execCGI
  33. AllowOverride All
  34. Order Allow,Deny
  35. Allow From All
  36. </Directory>
  37. </VirtualHost>
  38.  
  39. <VirtualHost 127.0.0.1:80>
  40. ServerAdmin tomislavjezidzic@admin.ozujsko.loc
  41. DocumentRoot "/Users/tomislavjezidzic/work/ozujsko_loyalty"
  42. ServerName www.admin.ozujsko.loc
  43. ServerAlias www.admin.ozujsko.loc
  44. <Directory "/Users/tomislavjezidzic/ozujsko_loyalty">
  45. Options All
  46. AllowOverride All
  47. Order allow,deny
  48. Allow from all
  49. Require all granted
  50. </Directory>
  51. </VirtualHost>
  52.  
  53. <VirtualHost 127.0.0.1:80>
  54. ServerAdmin tomislavjezidzic@api.ozujsko.loc
  55. DocumentRoot "/Users/tomislavjezidzic/work/ozujsko_loyalty/api"
  56. ServerName www.api.ozujsko.loc
  57. ServerAlias www.api.ozujsko.loc
  58. <Directory "/Users/tomislavjezidzic/ozujsko_loyalty/api">
  59. Options All
  60. AllowOverride All
  61. Order allow,deny
  62. Allow from all
  63. Require all granted
  64. </Directory>
  65. </VirtualHost>
  66.  
  67. <VirtualHost 127.0.0.1:80>
  68. ServerAdmin tomislavjezidzic@iapp.loc
  69. DocumentRoot "/Users/tomislavjezidzic/work/iapp"
  70. ServerName www.iapp.loc
  71. ServerAlias www.iapp.loc
  72. <Directory "/Users/tomislavjezidzic/work/iapp">
  73. Options All
  74. AllowOverride All
  75. Order allow,deny
  76. Allow from all
  77. Require all granted
  78. </Directory>
  79. </VirtualHost>
  80.  
  81. #####################
  82. # YAPP.LOC
  83. #####################
  84. <VirtualHost 127.0.0.1:80>
  85. ServerAdmin tomislavjezidzic@yapp.loc
  86. DocumentRoot "/Users/tomislavjezidzic/work/yapp"
  87. ServerName www.yapp.loc
  88. ServerAlias www.yapp.loc
  89. <Directory "/Users/tomislavjezidzic/work/yapp">
  90. Options All
  91. AllowOverride All
  92. Order allow,deny
  93. Allow from all
  94. Require all granted
  95. </Directory>
  96. </VirtualHost>
  97.  
  98. #<VirtualHost www.yapp.loc:443>
  99. # ServerAdmin tomislavjezidzic@yapp.loc
  100. # DocumentRoot "/Users/tomislavjezidzic/work/yapp/"
  101. # ServerName www.yapp.loc
  102. # SSLEngine on
  103. # SSLCertificateFile "/Users/tomislavjezidzic/ssl/yapp.loc/server.crt"
  104. # SSLCertificateKeyFile "/Users/tomislavjezidzic/ssl/yapp.loc/server.key"
  105. # <Directory "/Users/tomislavjezidzic/work/yapp/">
  106. # AllowOverride All
  107. # Order Allow,Deny
  108. # Allow from all
  109. # Require all granted
  110. # </Directory>
  111. #</VirtualHost>
  112.  
  113. <VirtualHost 127.0.0.1:80>
  114. ServerAdmin tomislavjezidzic@sponge.loc
  115. DocumentRoot "/Users/tomislavjezidzic/work/devplayground/sponge/frontend/web"
  116. ServerName www.sponge.loc
  117. ServerAlias www.sponge.loc
  118. <Directory "/Users/tomislavjezidzic/work/devplayground/sponge/frontend/web">
  119. Options All
  120. AllowOverride All
  121. Order allow,deny
  122. Allow from all
  123. Require all granted
  124. </Directory>
  125. </VirtualHost>
  126.  
  127. <VirtualHost 127.0.0.1:80>
  128. ServerAdmin tomislavjezidzic@dwp.loc
  129. DocumentRoot "/Users/tomislavjezidzic/work/dwp"
  130. ServerName www.dwp.loc
  131. ServerAlias www.dwp.loc
  132. <Directory "/Users/tomislavjezidzic/work/dwp">
  133. Options All
  134. AllowOverride All
  135. Order allow,deny
  136. Allow from all
  137. Require all granted
  138. </Directory>
  139. </VirtualHost>
  140.  
  141. <VirtualHost 127.0.0.1:80>
  142. ServerAdmin tomislavjezidzic@front.loc
  143. DocumentRoot "/Users/tomislavjezidzic/work/front"
  144. ServerName www.front.loc
  145. ServerAlias www.front.loc
  146. <Directory "/Users/tomislavjezidzic/work/front">
  147. Options All
  148. AllowOverride All
  149. Order allow,deny
  150. Allow from all
  151. Require all granted
  152. </Directory>
  153. </VirtualHost>
  154.  
  155. <VirtualHost 127.0.0.1:80>
  156. ServerAdmin tomislavjezidzic@static.loc
  157. DocumentRoot "/Users/tomislavjezidzic/work/static"
  158. ServerName www.static.loc
  159. ServerAlias www.static.loc
  160.  
  161. Header set Access-Control-Allow-Origin "*"
  162. Header always set Access-Control-Allow-Methods "POST, PUT, GET, DELETE, OPTIONS"
  163. Header always set Access-Control-Allow-Headers "Content-Type"
  164.  
  165. <Directory "/Users/tomislavjezidzic/work/static">
  166. Options All
  167. AllowOverride All
  168. Order allow,deny
  169. Allow from all
  170. Require all granted
  171. </Directory>
  172. </VirtualHost>
  173.  
  174. <VirtualHost www.eotg.loc:80>
  175. ServerName eotg.loc
  176. ServerAdmin tomislavjezidzic@eotg.loc
  177. DocumentRoot "/Users/tomislavjezidzic/work/eye-on-the-goal/frontend/web"
  178.  
  179. ErrorLog "logs/eotg-error_log"
  180. CustomLog "logs/eotg-access_log" common
  181. <Directory "/Users/tomislavjezidzic/work/eye-on-the-goal/frontend/web">
  182. RewriteEngine on
  183. RewriteCond %{REQUEST_FILENAME} !-f
  184. RewriteCond %{REQUEST_FILENAME} !-d
  185.  
  186. RewriteRule . index.php
  187.  
  188. DirectoryIndex index.php
  189.  
  190. Options Indexes FollowSymLinks Includes execCGI
  191. AllowOverride All
  192. Require all granted
  193.  
  194. ## Apache 2.2
  195. # Order allow,deny
  196. # Allow from all
  197. </Directory>
  198. </VirtualHost>
  199.  
  200. ##
  201. # Eye On The Goal - backend
  202. ###
  203. <VirtualHost backend.eotg.loc:80>
  204. ServerAdmin tomislavjezidzic@eotg.loc
  205. ServerName backendeotg.loc
  206. DocumentRoot "/Users/tomislavjezidzic/work/eye-on-the-goal/backend/web"
  207.  
  208. ErrorLog "logs/eotg-backend-error_log"
  209. CustomLog "logs/eotg-backend-access_log" common
  210. <Directory "/Users/tomislavjezidzic/work/eye-on-the-goal/backend/web">
  211. # use mod_rewrite for pretty URL support
  212. RewriteEngine on
  213. RewriteCond %{REQUEST_FILENAME} !-f
  214. RewriteCond %{REQUEST_FILENAME} !-d
  215. RewriteRule . index.php
  216.  
  217. DirectoryIndex index.php
  218.  
  219. Options Indexes FollowSymLinks Includes execCGI
  220. AllowOverride All
  221. Require all granted
  222.  
  223. ## Apache 2.2
  224. # Order allow,deny
  225. # Allow from all
  226. </Directory>
  227. </VirtualHost>
  228.  
  229.  
  230. <VirtualHost static.eotg.loc:80>
  231. ServerAdmin tomislavjezidzic@eotg.loc
  232. DocumentRoot "/Users/tomislavjezidzic/work/static/eye-on-the-goal/"
  233. ServerName staticeotg.loc
  234.  
  235. ErrorLog "logs/static_eotg-error_log"
  236. CustomLog "logs/static_eotg-access_log" common
  237.  
  238. Header set Access-Control-Allow-Origin "*"
  239. Header always set Access-Control-Allow-Methods "POST, PUT, GET, DELETE, OPTIONS"
  240. Header always set Access-Control-Allow-Headers "Content-Type"
  241.  
  242. <Directory "/Users/tomislavjezidzic/work/static/eye-on-the-goal/">
  243. Options Indexes FollowSymLinks Includes execCGI
  244. AllowOverride All
  245. Require all granted
  246. </Directory>
  247.  
  248. </VirtualHost>
  249.  
  250.  
  251.  
  252. ##
  253. # Ozujsko web
  254. ##
  255. <VirtualHost 127.0.0.1:80>
  256. ServerAdmin tomislavjezidzic@iapp.com
  257. DocumentRoot "/Users/tomislavjezidzic/work/iapp/ozujskoweb"
  258. ServerName www.ozujsko.loc
  259. ServerAlias www.ozujsko.loc
  260. <Directory "/Users/tomislavjezidzic/work/iapp/ozujskoweb">
  261. Options All
  262. AllowOverride All
  263. Order allow,deny
  264. Allow from all
  265. Require all granted
  266. </Directory>
  267. </VirtualHost>
  268.  
  269.  
  270. ##
  271. # default
  272. ##
  273. <VirtualHost 127.0.0.1:80>
  274. ServerAdmin tomislavjezidzic@default.loc
  275. DocumentRoot "/Users/tomislavjezidzic/work/default"
  276. ServerName localhost
  277. ServerAlias localhost
  278. <Directory "/Users/tomislavjezidzic/work/default">
  279. Options All
  280. AllowOverride All
  281. Order allow,deny
  282. Allow from all
  283. Require all granted
  284. </Directory>
  285. </VirtualHost>
  286.  
  287.  
  288. ##
  289. # 10adams
  290. ##
  291. <VirtualHost 127.0.0.1:80>
  292. ServerAdmin tomislavjezidzic@10adams.loc
  293. DocumentRoot "/Users/tomislavjezidzic/work/10adams"
  294. ServerName www.10adams.loc
  295. ServerAlias www.10adams.loc
  296. <Directory "/Users/tomislavjezidzic/work/10adams">
  297. Options All
  298. AllowOverride All
  299. Order allow,deny
  300. Allow from all
  301. Require all granted
  302. </Directory>
  303. </VirtualHost>
  304.  
  305. ##
  306. # evergreen
  307. ##
  308. <VirtualHost www.evergreen.loc:80>
  309. ServerAdmin tomislavjezidzic@evergreen.loc
  310. DocumentRoot "/Users/tomislavjezidzic/work/outside_wp/evergreen-public-website/public"
  311. ServerName www.evergreen.loc
  312. Header set Access-Control-Allow-Origin "*"
  313. <Directory "/Users/tomislavjezidzic/work/outside_wp/evergreen-public-website/public">
  314. Header set Access-Control-Allow-Origin "*"
  315. Options All
  316. AllowOverride All
  317. Require all granted
  318. </Directory>
  319. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement