Advertisement
Guest User

Untitled

a guest
Dec 17th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.78 KB | None | 0 0
  1. # This is the main Apache server configuration file. It contains the
  2. # configuration directives that give the server its instructions.
  3. # See http://httpd.apache.org/docs/2.4/ for detailed information about
  4. # the directives and /usr/share/doc/apache2/README.Debian about Debian specific
  5. # hints.
  6. #
  7. #
  8. # Summary of how the Apache 2 configuration works in Debian:
  9. # The Apache 2 web server configuration in Debian is quite different to
  10. # upstream's suggested way to configure the web server. This is because Debian's
  11. # default Apache2 installation attempts to make adding and removing modules,
  12. # virtual hosts, and extra configuration directives as flexible as possible, in
  13. # order to make automating the changes and administering the server as easy as
  14. # possible.
  15.  
  16. # It is split into several files forming the configuration hierarchy outlined
  17. # below, all located in the /etc/apache2/ directory:
  18. #
  19. # /etc/apache2/
  20. # |-- apache2.conf
  21. # | `-- ports.conf
  22. # |-- mods-enabled
  23. # | |-- *.load
  24. # | `-- *.conf
  25. # |-- conf-enabled
  26. # | `-- *.conf
  27. # `-- sites-enabled
  28. # `-- *.conf
  29. #
  30. #
  31. # * apache2.conf is the main configuration file (this file). It puts the pieces
  32. # together by including all remaining configuration files when starting up the
  33. # web server.
  34. #
  35. # * ports.conf is always included from the main configuration file. It is
  36. # supposed to determine listening ports for incoming connections which can be
  37. # customized anytime.
  38. #
  39. # * Configuration files in the mods-enabled/, conf-enabled/ and sites-enabled/
  40. # directories contain particular configuration snippets which manage modules,
  41. # global configuration fragments, or virtual host configurations,
  42. # respectively.
  43. #
  44. # They are activated by symlinking available configuration files from their
  45. # respective *-available/ counterparts. These should be managed by using our
  46. # helpers a2enmod/a2dismod, a2ensite/a2dissite and a2enconf/a2disconf. See
  47. # their respective man pages for detailed information.
  48. #
  49. # * The binary is called apache2. Due to the use of environment variables, in
  50. # the default configuration, apache2 needs to be started/stopped with
  51. # /etc/init.d/apache2 or apache2ctl. Calling /usr/bin/apache2 directly will not
  52. # work with the default configuration.
  53.  
  54.  
  55. # Global configuration
  56. #
  57.  
  58. #
  59. # ServerRoot: The top of the directory tree under which the server's
  60. # configuration, error, and log files are kept.
  61. #
  62. # NOTE! If you intend to place this on an NFS (or otherwise network)
  63. # mounted filesystem then please read the Mutex documentation (available
  64. # at <URL:http://httpd.apache.org/docs/2.4/mod/core.html#mutex>);
  65. # you will save yourself a lot of trouble.
  66. #
  67. # Do NOT add a slash at the end of the directory path.
  68. #
  69. #ServerRoot "/etc/apache2"
  70.  
  71. #
  72. # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
  73. #
  74. Mutex file:${APACHE_LOCK_DIR} default
  75.  
  76. #
  77. # PidFile: The file in which the server should record its process
  78. # identification number when it starts.
  79. # This needs to be set in /etc/apache2/envvars
  80. #
  81. PidFile ${APACHE_PID_FILE}
  82.  
  83. #
  84. # Timeout: The number of seconds before receives and sends time out.
  85. #
  86. Timeout 300
  87.  
  88. #
  89. # KeepAlive: Whether or not to allow persistent connections (more than
  90. # one request per connection). Set to "Off" to deactivate.
  91. #
  92. KeepAlive On
  93.  
  94. #
  95. # MaxKeepAliveRequests: The maximum number of requests to allow
  96. # during a persistent connection. Set to 0 to allow an unlimited amount.
  97. # We recommend you leave this number high, for maximum performance.
  98. #
  99. MaxKeepAliveRequests 200
  100.  
  101. #
  102. # KeepAliveTimeout: Number of seconds to wait for the next request from the
  103. # same client on the same connection.
  104. #
  105. KeepAliveTimeout 1
  106.  
  107.  
  108. # These need to be set in /etc/apache2/envvars
  109. User ${APACHE_RUN_USER}
  110. Group ${APACHE_RUN_GROUP}
  111.  
  112. #
  113. # HostnameLookups: Log the names of clients or just their IP addresses
  114. # e.g., www.apache.org (on) or 204.62.129.132 (off).
  115. # The default is off because it'd be overall better for the net if people
  116. # had to knowingly turn this feature on, since enabling it means that
  117. # each client request will result in AT LEAST one lookup request to the
  118. # nameserver.
  119. #
  120. HostnameLookups Off
  121.  
  122. # ErrorLog: The location of the error log file.
  123. # If you do not specify an ErrorLog directive within a <VirtualHost>
  124. # container, error messages relating to that virtual host will be
  125. # logged here. If you *do* define an error logfile for a <VirtualHost>
  126. # container, that host's errors will be logged there and not here.
  127. #
  128. ErrorLog ${APACHE_LOG_DIR}/error.log
  129.  
  130. #
  131. # LogLevel: Control the severity of messages logged to the error_log.
  132. # Available values: trace8, ..., trace1, debug, info, notice, warn,
  133. # error, crit, alert, emerg.
  134. # It is also possible to configure the log level for particular modules, e.g.
  135. # "LogLevel info ssl:warn"
  136. #
  137. LogLevel warn
  138.  
  139. # Include module configuration:
  140. IncludeOptional mods-enabled/*.load
  141. IncludeOptional mods-enabled/*.conf
  142.  
  143. # Include list of ports to listen on
  144. Include ports.conf
  145.  
  146.  
  147. # Sets the default security model of the Apache2 HTTPD server. It does
  148. # not allow access to the root filesystem outside of /usr/share and /var/www.
  149. # The former is used by web applications packaged in Debian,
  150. # the latter may be used for local directories served by the web server. If
  151. # your system is serving content from a sub-directory in /srv you must allow
  152. # access here, or in any related virtual host.
  153. <Directory />
  154. # Options FollowSymLinks
  155. Options none
  156. AllowOverride None
  157. Require all denied
  158. </Directory>
  159.  
  160. <Directory /usr/share>
  161. AllowOverride None
  162. Require all granted
  163. </Directory>
  164.  
  165. <Directory /var/www/>
  166. Options none
  167. # Options Indexes FollowSymLinks
  168. AllowOverride All
  169. Require all granted
  170. </Directory>
  171.  
  172. #<Directory /srv/>
  173. # Options Indexes FollowSymLinks
  174. # AllowOverride None
  175. # Require all granted
  176. #</Directory>
  177.  
  178.  
  179.  
  180.  
  181. # AccessFileName: The name of the file to look for in each directory
  182. # for additional configuration directives. See also the AllowOverride
  183. # directive.
  184. #
  185. AccessFileName .htaccess
  186.  
  187. #
  188. # The following lines prevent .htaccess and .htpasswd files from being
  189. # viewed by Web clients.
  190. #
  191. <FilesMatch "^\.ht">
  192. Require all granted
  193. </FilesMatch>
  194.  
  195.  
  196. #
  197. # The following directives define some format nicknames for use with
  198. # a CustomLog directive.
  199. #
  200. # These deviate from the Common Log Format definitions in that they use %O
  201. # (the actual bytes sent including headers) instead of %b (the size of the
  202. # requested file), because the latter makes it impossible to detect partial
  203. # requests.
  204. #
  205. # Note that the use of %{X-Forwarded-For}i instead of %h is not recommended.
  206. # Use mod_remoteip instead.
  207. #
  208. LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
  209. LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
  210. LogFormat "%h %l %u %t \"%r\" %>s %O" common
  211. LogFormat "%{Referer}i -> %U" referer
  212. LogFormat "%{User-agent}i" agent
  213.  
  214. # Include of directories ignores editors' and dpkg's backup files,
  215. # see README.Debian for details.
  216.  
  217. # Include generic snippets of statements
  218. IncludeOptional conf-enabled/*.conf
  219.  
  220. # Include the virtual host configurations:
  221. IncludeOptional sites-enabled/*.conf
  222.  
  223. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
  224.  
  225. <VirtualHost *:80>
  226. DocumentRoot "/var/www/html/HTM2014/"
  227. ServerName www.htm-audio.co.uk
  228. ServerAlias htm-audio.co.uk
  229. </VirtualHost>
  230.  
  231. <VirtualHost *:80>
  232. DocumentRoot "/var/www/html/"
  233. ServerName www.exxoshost.co.uk
  234. ServerAlias exxoshost.co.uk
  235. </virtualHost>
  236.  
  237.  
  238. <VirtualHost *:80>
  239. DocumentRoot "/var/www/html/chrisswinson/prices/"
  240. ServerName www.prices.chrisswinson.co.uk
  241. ServerAlias prices.chrisswinson.co.uk
  242.  
  243. </VirtualHost>
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250. <VirtualHost *:80>
  251. DocumentRoot "/var/www/html/chrisswinson/payments/"
  252. ServerName www.payments.chrisswinson.co.uk
  253. ServerAlias payments.chrisswinson.co.uk
  254.  
  255. </VirtualHost>
  256.  
  257.  
  258.  
  259. <VirtualHost *:80>
  260. DocumentRoot "/var/www/html/FUTURE2014/"
  261. ServerName www.future-technologies.co.uk
  262. ServerAlias future-technologies.co.uk
  263. </VirtualHost>
  264.  
  265.  
  266.  
  267. <VirtualHost *:80>
  268. DocumentRoot "/var/www/html/chrisswinson/"
  269. ServerName www.chrisswinson.co.uk
  270. ServerAlias chrisswinson.co.uk
  271. </VirtualHost>
  272.  
  273. <VirtualHost *:80>
  274. DocumentRoot "/var/www/html/atari/mirror/atariforge/"
  275. ServerName www.dev-docs.exxoshost.co.uk
  276. ServerAlias dev-docs.exxoshost.co.uk
  277. </VirtualHost>
  278.  
  279.  
  280. <VirtualHost *:80>
  281. DocumentRoot "/var/www/html/atari/mirror/atari4ever/"
  282. ServerName www.atari4ever.exxoshost.co.uk
  283. ServerAlias atari4ever.exxoshost.co.uk
  284. </VirtualHost>
  285.  
  286.  
  287. <VirtualHost *:80>
  288. DocumentRoot "/var/www/html/atari/mirror/toshyp/"
  289. ServerName www.toshyp.exxoshost.co.uk
  290. ServerAlias toshyp.exxoshost.co.uk
  291. </VirtualHost>
  292.  
  293.  
  294. <VirtualHost *:80>
  295. ServerName www.server2.exxoshost.co.uk
  296. ServerAlias server2.exxoshost.co.uk
  297. redirect / http://107.191.111.64:80
  298. </VirtualHost>
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305. <VirtualHost *:80>
  306. ServerName www.ataristupgrades.exxoshost.co.uk
  307. ServerAlias ataristupgrades.exxoshost.co.uk
  308. # DocumentRoot "/var/www/html/atari/last/"
  309. Redirect / http://www.exxoshost.co.uk/atari/last/store.htm
  310. </VirtualHost>
  311.  
  312.  
  313. #<VirtualHost *:80>
  314. # ServerName www.ataristmouse.exxoshost.co.uk
  315. # ServerAlias ataristmouse.exxoshost.co.uk
  316. # Redirect / "http://www.exxoshost.co.uk/atari/last/store.htm#mouse"
  317. #</VirtualHost>
  318.  
  319.  
  320. #<VirtualHost *:80>
  321. # ServerName www.ataristpsu.exxoshost.co.uk
  322. # ServerAlias ataristpsu.exxoshost.co.uk
  323. # Redirect / "http://www.exxoshost.co.uk/atari/last/store.htm#psu"
  324. #</VirtualHost>
  325.  
  326.  
  327. #<VirtualHost *:80>
  328. # ServerName www.ataristtos.exxoshost.co.uk
  329. # ServerAlias ataristtos.exxoshost.co.uk
  330. # Redirect / "http://www.exxoshost.co.uk/atari/last/store.htm#TOS"
  331. #</VirtualHost>
  332.  
  333. <VirtualHost *:80>
  334. DocumentRoot "/var/www/html/atari/mirror/powerphenix/"
  335. ServerName www.powerphenix.exxoshost.co.uk
  336. ServerAlias powerphenix.exxoshost.co.uk
  337. </VirtualHost>
  338.  
  339. <directory /var/www/html/atari/PDL/FLOPPYSHOP/FSDLFILES/ >
  340. Order allow,deny
  341. Deny from all
  342. </directory>
  343.  
  344.  
  345. <VirtualHost *:80>
  346. DocumentRoot "/var/www/html/atari/ataristeven/"
  347. ServerName www.ataristeven.exxoshost.co.uk
  348. ServerAlias ataristeven.exxoshost.co.uk
  349. </VirtualHost>
  350.  
  351.  
  352.  
  353. <VirtualHost *:80>
  354. DocumentRoot "/var/www/html/atarimusic.net/"
  355. ServerName www.atarimusic.exxoshost.co.uk
  356. ServerAlias atarimusic.exxoshost.co.uk
  357. </VirtualHost>
  358.  
  359.  
  360. <VirtualHost *:80>
  361. DocumentRoot "/var/www/html/atari/mirror/UVK2000/"
  362. ServerName www.UVK2000.exxoshost.co.uk
  363. ServerAlias UVK2000.exxoshost.co.uk
  364. </VirtualHost>
  365.  
  366.  
  367.  
  368. <VirtualHost *:80>
  369. DocumentRoot "/var/www/html/atari/mirror/tamw/"
  370. ServerName www.tamw.exxoshost.co.uk
  371. ServerAlias tamw.exxoshost.co.uk
  372. </VirtualHost>
  373.  
  374.  
  375.  
  376. <VirtualHost *:1122>
  377. DocumentRoot "/var/www/html/atari/mirror/tamw/"
  378. ServerName www.order.exxoshost.co.uk
  379. ServerAlias order.exxoshost.co.uk
  380. </VirtualHost>
  381.  
  382.  
  383. <VirtualHost *:80>
  384. DocumentRoot "/var/www/html/PD/"
  385. ServerName www.PD.exxoshost.co.uk
  386. ServerAlias PD.exxoshost.co.uk
  387. <Directory "/var/www/html/PD/">
  388. Options All Indexes FollowSymLinks
  389. Order allow,deny
  390. Allow from all
  391. </Directory>
  392. </VirtualHost>
  393.  
  394.  
  395.  
  396.  
  397.  
  398. Include /etc/apache2/awstats.conf
  399. Include /etc/apache2/phpsysinfo.conf
  400. MMapFile /var/www/html/index.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement