Guest User

Untitled

a guest
Mar 22nd, 2018
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.57 KB | None | 0 0
  1. Listen 80
  2.  
  3. # Virtual Hosts
  4. #
  5.  
  6. <VirtualHost *:80>
  7. ServerName localhost
  8. ServerAlias localhost
  9. DocumentRoot "${INSTALL_DIR}/www"
  10. <Directory "${INSTALL_DIR}/www/">
  11. Options +Indexes +Includes +FollowSymLinks +MultiViews
  12. AllowOverride All
  13. Require all granted
  14. </Directory>
  15. </VirtualHost>
  16. <VirtualHost *:80>
  17. ServerName wormchain.hopto.org
  18. ServerAlias wormchain.hopto.org
  19. DocumentRoot "${INSTALL_DIR}/www"
  20. <Directory "${INSTALL_DIR}/www/">
  21. Options +Indexes +Includes +FollowSymLinks +MultiViews
  22. AllowOverride All
  23. Require all granted
  24. </Directory>
  25. </VirtualHost>
  26.  
  27. #
  28. # This is the main Apache HTTP server configuration file. It contains the
  29. # configuration directives that give the server its instructions.
  30. # See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
  31. # In particular, see
  32. # <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
  33. # for a discussion of each configuration directive.
  34. #
  35. # Do NOT simply read the instructions in here without understanding
  36. # what they do. They're here only as hints or reminders. If you are unsure
  37. # consult the online docs. You have been warned.
  38. #
  39. # Configuration and logfile names: If the filenames you specify for many
  40. # of the server's control files begin with "/" (or "drive:/" for Win32), the
  41. # server will use that explicit path. If the filenames do *not* begin
  42. # with "/", the value of ServerRoot is prepended -- so "logs/access_log"
  43. # with ServerRoot set to "/usr/local/apache2" will be interpreted by the
  44. # server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
  45. # will be interpreted as '/logs/access_log'.
  46. #
  47. # NOTE: Where filenames are specified, you must use forward slashes
  48. # instead of backslashes (e.g., "c:/apache" instead of "c:apache").
  49. # If a drive letter is omitted, the drive on which httpd.exe is located
  50. # will be used by default. It is recommended that you always supply
  51. # an explicit drive letter in absolute paths to avoid confusion.
  52. ServerSignature On
  53. ServerTokens Full
  54.  
  55. #
  56. # ServerRoot: The top of the directory tree under which the server's
  57. # configuration, error, and log files are kept.
  58. #
  59. # Do not add a slash at the end of the directory path. If you point
  60. # ServerRoot at a non-local disk, be sure to specify a local disk on the
  61. # Mutex directive, if file-based mutexes are used. If you wish to share the
  62. # same ServerRoot for multiple httpd daemons, you will need to change at
  63. # least PidFile.
  64. #
  65.  
  66.  
  67. # Apache variable names used by Apache conf files:
  68. # The names and contents of variables:
  69. # APACHE24, VERSION_APACHE, INSTALL_DIR, APACHE_DIR
  70. # should never be changed.
  71. Define APACHE24 Apache2.4
  72. Define VERSION_APACHE 2.4.27
  73. Define INSTALL_DIR c:/wamp64
  74. Define APACHE_DIR ${INSTALL_DIR}/bin/apache/apache${VERSION_APACHE}
  75.  
  76. ServerRoot "${APACHE_DIR}"
  77.  
  78.  
  79. #
  80. # Mutex: Allows you to set the mutex mechanism and mutex file directory
  81. # for individual mutexes, or change the global defaults
  82. #
  83. # Uncomment and change the directory if mutexes are file-based and the default
  84. # mutex file directory is not on a local disk or is not appropriate for some
  85. # other reason.
  86. #
  87. # Mutex default:logs
  88.  
  89. #
  90. # Listen: Allows you to bind Apache to specific IP addresses and/or
  91. # ports, instead of the default. See also the <VirtualHost>
  92. # directive.
  93. #
  94. # Change this to Listen on specific IP addresses as shown below to
  95. # prevent Apache from glomming onto all bound IP addresses.
  96. #
  97. #Listen 12.34.56.78:80
  98. Listen 10.0.0.65:80
  99. Listen [2601:19b:4401:e029::8fad]:80
  100.  
  101. #
  102. # Dynamic Shared Object (DSO) Support
  103. #
  104. # To be able to use the functionality of a module which was built as a DSO you
  105. # have to place corresponding `LoadModule' lines at this location so the
  106. # directives contained in it are actually available _before_ they are used.
  107. # Statically compiled modules (those listed by `httpd -l') do not need
  108. # to be loaded here.
  109. #
  110. # Example:
  111. # LoadModule foo_module modules/mod_foo.so
  112. #
  113.  
  114. LoadModule php7_module "${INSTALL_DIR}/bin/php/php7.1.9/php7apache2_4.dll"
  115.  
  116. <IfModule unixd_module>
  117. #
  118. # If you wish httpd to run as a different user or group, you must run
  119. # httpd as root initially and it will switch.
  120. #
  121. # User/Group: The name (or #number) of the user/group to run httpd as.
  122. # It is usually good practice to create a dedicated user and group for
  123. # running httpd, as with most system services.
  124. #
  125. User daemon
  126. Group daemon
  127.  
  128. </IfModule>
  129.  
  130. # 'Main' server configuration
  131. #
  132. # The directives in this section set up the values used by the 'main'
  133. # server, which responds to any requests that aren't handled by a
  134. # <VirtualHost> definition. These values also provide defaults for
  135. # any <VirtualHost> containers you may define later in the file.
  136. #
  137. # All of these directives may appear inside <VirtualHost> containers,
  138. # in which case these default settings will be overridden for the
  139. # virtual host being defined.
  140. #
  141.  
  142. #
  143. # ServerAdmin: Your address, where problems with the server should be
  144. # e-mailed. This address appears on some server-generated pages, such
  145. # as error documents. e.g. admin@your-domain.com
  146. #
  147. ServerAdmin paradigmcalibre@gmail.com
  148.  
  149. #
  150. # ServerName gives the name and port that the server uses to identify itself.
  151. # This can often be determined automatically, but we recommend you specify
  152. # it explicitly to prevent problems during startup.
  153. #
  154. # If your host doesn't have a registered DNS name, enter its IP address here.
  155. #
  156. ServerName localhost
  157. ServerName wormchain.hopto.org
  158.  
  159. #
  160. # Deny access to the entirety of your server's filesystem. You must
  161. # explicitly permit access to web content directories in other
  162. # <Directory> blocks below.
  163. #
  164. <Directory "/">
  165. Require all granted
  166. </Directory>
  167.  
  168. #
  169. # Note that from this point forward you must specifically allow
  170. # particular features to be enabled - so if something's not working as
  171. # you might expect, make sure that you have specifically enabled it
  172. # below.
  173. #
  174. HostnameLookups Off
  175.  
  176. #
  177. # DocumentRoot: The directory out of which you will serve your
  178. # documents. By default, all requests are taken from this directory, but
  179. # symbolic links and aliases may be used to point to other locations.
  180. #
  181. DocumentRoot "${INSTALL_DIR}/www"
  182. <Directory "${INSTALL_DIR}/www/">
  183. #
  184. # Possible values for the Options directive are "None", "All",
  185. # or any combination of:
  186. # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  187. #
  188. # Note that "MultiViews" must be named *explicitly* --- "Options All"
  189. # doesn't give it to you.
  190. #
  191. # The Options directive is both complicated and important. Please see
  192. # http://httpd.apache.org/docs/2.4/mod/core.html#options
  193. # for more information.
  194. #
  195. Options +Indexes +FollowSymLinks +Multiviews
  196.  
  197. #
  198. # AllowOverride controls what directives may be placed in .htaccess files.
  199. # It can be "All", "None", or any combination of the keywords:
  200. # AllowOverride FileInfo AuthConfig Limit
  201. #
  202. AllowOverride all
  203.  
  204. #
  205. # Controls who can get stuff from this server.
  206. #
  207.  
  208. # onlineoffline tag - don't remove
  209. Require all granted
  210. </Directory>
  211.  
  212. #
  213. # DirectoryIndex: sets the file that Apache will serve if a directory
  214. # is requested.
  215. #
  216. <IfModule dir_module>
  217. DirectoryIndex index.html
  218. </IfModule>
  219.  
  220. #
  221. # The following lines prevent .htaccess and .htpasswd files from being
  222. # viewed by Web clients.
  223. #
  224. <Files ".ht*">
  225. Require all denied
  226. </Files>
  227.  
  228. #
  229. # ErrorLog: The location of the error log file.
  230. # If you do not specify an ErrorLog directive within a <VirtualHost>
  231. # container, error messages relating to that virtual host will be
  232. # logged here. If you *do* define an error logfile for a <VirtualHost>
  233. # container, that host's errors will be logged there and not here.
  234. #
  235. #ErrorLog "logs/error.log"
  236. ErrorLog "${INSTALL_DIR}/logs/apache_error.log"
Add Comment
Please, Sign In to add comment