Advertisement
Guest User

Untitled

a guest
Aug 4th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.22 KB | None | 0 0
  1. # Virtual Hosts
  2. #
  3. # Required modules: mod_log_config
  4.  
  5. # If you want to maintain multiple domains/hostnames on your
  6. # machine you can setup VirtualHost containers for them. Most configurations
  7. # use only name-based virtual hosts so the server doesn't need to worry about
  8. # IP addresses. This is indicated by the asterisks in the directives below.
  9. #
  10. # Please see the documentation at
  11. # <URL:http://httpd.apache.org/docs/2.4/vhosts/>
  12. # for further details before you try to setup virtual hosts.
  13. #
  14. # You may use the command line option '-S' to verify your virtual host
  15. # configuration.
  16.  
  17. #
  18. # VirtualHost example:
  19. # Almost any Apache directive may go into a VirtualHost container.
  20. # The first VirtualHost section is used for all requests that do not
  21. # match a ServerName or ServerAlias in any <VirtualHost> block.
  22. #
  23.  
  24.  
  25. #NameVirtualHost *:80
  26.  
  27. <VirtualHost *:80>
  28. ServerName localhost
  29. DocumentRoot "/Users/Karlo/work"
  30. <Directory "/Users/Karlo/work">
  31. Options Indexes FollowSymLinks Includes execCGI
  32. AllowOverride All
  33. Order Allow,Deny
  34. Allow From All
  35. </Directory>
  36. </VirtualHost>
  37.  
  38. <VirtualHost 127.0.0.1:80>
  39. ServerAdmin karlo@iapp.loc
  40. DocumentRoot "/Users/Karlo/work/iapp"
  41. ServerName www.iapp.loc
  42. ServerAlias www.iapp.loc
  43. <Directory "/Users/Karlo/work/iapp">
  44. Options All
  45. AllowOverride All
  46. Order allow,deny
  47. Allow from all
  48. Require all granted
  49. </Directory>
  50. </VirtualHost>
  51.  
  52. <VirtualHost 127.0.0.1:80>
  53. ServerAdmin karlo@yapp.loc
  54. DocumentRoot "/Users/Karlo/work/yapp"
  55. ServerName www.yapp.loc
  56. ServerAlias www.yapp.loc
  57. <Directory "/Users/Karlo/work/yapp">
  58. Options All
  59. AllowOverride All
  60. Order allow,deny
  61. Allow from all
  62. Require all granted
  63. </Directory>
  64. </VirtualHost>
  65.  
  66. <VirtualHost 127.0.0.1:80>
  67. ServerAdmin karlo@private.loc
  68. DocumentRoot "/Users/Karlo/work/private"
  69. ServerName www.private.loc
  70. ServerAlias www.private.loc
  71. <Directory "/Users/Karlo/work/private">
  72. Options All
  73. AllowOverride All
  74. Order allow,deny
  75. Allow from all
  76. Require all granted
  77. </Directory>
  78. </VirtualHost>
  79.  
  80. <VirtualHost 127.0.0.1:80>
  81. ServerAdmin karlo@autohrvatska.loc
  82. DocumentRoot "/Users/Karlo/work/autohrvatska"
  83. ServerName www.autohrvatska.loc
  84. ServerAlias www.autohrvatska.loc
  85. <Directory "/Users/Karlo/work/autohrvatska">
  86. Options All
  87. AllowOverride All
  88. Order allow,deny
  89. Allow from all
  90. Require all granted
  91. </Directory>
  92. </VirtualHost>
  93.  
  94. <VirtualHost 127.0.0.1:80>
  95. ServerAdmin karlo@dwp.loc
  96. DocumentRoot "/Users/Karlo/work/dwp"
  97. ServerName www.dwp.loc
  98. ServerAlias www.dwp.loc
  99. <Directory "/Users/Karlo/work/dwp">
  100. Options All
  101. AllowOverride All
  102. Order allow,deny
  103. Allow from all
  104. Require all granted
  105. </Directory>
  106. </VirtualHost>
  107.  
  108. <VirtualHost 127.0.0.1:80>
  109. ServerAdmin karlo@static.loc
  110. DocumentRoot "/Users/Karlo/work/static"
  111. ServerName www.static.loc
  112. ServerAlias www.static.loc
  113. <Directory "/Users/Karlo/work/static">
  114. Options All
  115. AllowOverride All
  116. Order allow,deny
  117. Allow from all
  118. Require all granted
  119. </Directory>
  120. </VirtualHost>
  121.  
  122. <VirtualHost 127.0.0.1:80>
  123. ServerAdmin karlo@degordian.loc
  124. DocumentRoot "/Users/Karlo/work/degordian-web/2014"
  125. ServerName www.degordian.loc
  126. ServerAlias www.degordian.loc
  127. <Directory "/Users/Karlo/work/degordian-web/2014">
  128. Options All
  129. AllowOverride All
  130. Order allow,deny
  131. Allow from all
  132. Require all granted
  133. </Directory>
  134. </VirtualHost>
  135.  
  136. <VirtualHost 127.0.0.1:80>
  137. ServerAdmin karlo@nfg.loc
  138. DocumentRoot "/Users/Karlo/work/nfg"
  139. ServerName www.nfg.loc
  140. ServerAlias www.nfg.loc
  141. <Directory "/Users/Karlo/work/nfg">
  142. Options All
  143. AllowOverride All
  144. Order allow,deny
  145. Allow from all
  146. Require all granted
  147. </Directory>
  148. </VirtualHost>
  149.  
  150. <VirtualHost 127.0.0.1:80>
  151. ServerAdmin karlo@front.loc
  152. DocumentRoot "/Users/Karlo/work/front"
  153. ServerName www.front.loc
  154. ServerAlias www.front.loc
  155. <Directory "/Users/Karlo/work/front">
  156. Options All
  157. AllowOverride All
  158. Order allow,deny
  159. Allow from all
  160. Require all granted
  161. </Directory>
  162. </VirtualHost>
  163.  
  164. <VirtualHost 127.0.0.1:80>
  165. ServerAdmin karlo@adriaticluxuryhotels.loc
  166. DocumentRoot "/Users/Karlo/work/ALH/adriatic-luxury-hotels"
  167. ServerName www.adriaticluxuryhotels.loc
  168. ServerAlias www.adriaticluxuryhotels.loc
  169. <Directory "/Users/Karlo/work/ALH/adriatic-luxury-hotels">
  170. Options All
  171. AllowOverride All
  172. Order allow,deny
  173. Allow from all
  174. Require all granted
  175. </Directory>
  176. </VirtualHost>
  177.  
  178. <VirtualHost 127.0.0.1:80>
  179. ServerAdmin karlo@kuwait.loc
  180. DocumentRoot "/Users/Karlo/work/kuwait-ccp/applications"
  181. ServerName www.kuwait.loc
  182. ServerAlias www.kuwait.loc
  183. <Directory "/Users/Karlo/work/kuwait-ccp/application">
  184. Options All
  185. AllowOverride All
  186. Order allow,deny
  187. Allow from all
  188. Require all granted
  189. </Directory>
  190. </VirtualHost>
  191.  
  192. <VirtualHost 127.0.0.1:80>
  193. ServerAdmin karlo@eotg.loc
  194. DocumentRoot "/Users/Karlo/work/eye-on-the-goal/frontend/web"
  195. ServerName www.eotg.loc
  196. ServerAlias www.eotg.loc
  197. <Directory "/Users/Karlo/work/eye-on-the-goal/frontend/web">
  198. Options All
  199. AllowOverride All
  200. Order allow,deny
  201. Allow from all
  202. Require all granted
  203. </Directory>
  204. </VirtualHost>
  205.  
  206. ##
  207. # Eye On The Goal - backend
  208. ###
  209. <VirtualHost backend.eotg.loc:80>
  210. ServerAdmin karlo@eotg.loc
  211. ServerName backendeotg.loc
  212. DocumentRoot "/Users/Karlo/work/eye-on-the-goal/backend/web"
  213.  
  214. # ErrorLog "logs/eotg-backend-error_log"
  215. # CustomLog "logs/eotg-backend-access_log" common
  216. <Directory "/Users/Karlo/work/eye-on-the-goal/backend/web">
  217.  
  218. Options Indexes FollowSymLinks Includes execCGI
  219. AllowOverride All
  220. Require all granted
  221.  
  222. ## Apache 2.2
  223. # Order allow,deny
  224. # Allow from all
  225. </Directory>
  226. </VirtualHost>
  227.  
  228. ##
  229. # Eye On The Goal - static
  230. ###
  231. <VirtualHost static.eotg.loc:80>
  232. ServerAdmin karlo@eotg.loc
  233. DocumentRoot "/Users/Karlo/work/static/eye-on-the-goal/"
  234. ServerName staticeotg.loc
  235.  
  236. # ErrorLog "logs/static_eotg-error_log"
  237. # CustomLog "logs/static_eotg-access_log" common
  238. <Directory "/Users/Karlo/work/static/eye-on-the-goal/">
  239. Options Indexes FollowSymLinks Includes execCGI
  240. AllowOverride All
  241. Require all granted
  242. </Directory>
  243. </VirtualHost>
  244.  
  245. <VirtualHost 127.0.0.1:80>
  246. ServerAdmin admin@outsource.loc
  247. DocumentRoot "/Users/Karlo/work/outsource"
  248. ServerName www.outsource.loc
  249. ServerAlias www.outsource.loc
  250. <Directory "/Users/Karlo/work/outsource">
  251. Options All
  252. AllowOverride All
  253. Order allow,deny
  254. Allow from all
  255. Require all granted
  256. </Directory>
  257. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement