Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.59 KB | None | 0 0
  1. # Global configuration
  2. #
  3.  
  4. #
  5. # ServerRoot: The top of the directory tree under which the server's
  6. # configuration, error, and log files are kept.
  7. #
  8. # NOTE! If you intend to place this on an NFS (or otherwise network)
  9. # mounted filesystem then please read the Mutex documentation (available
  10. # at <URL:http://httpd.apache.org/docs/2.4/mod/core.html#mutex>);
  11. # you will save yourself a lot of trouble.
  12. #
  13. # Do NOT add a slash at the end of the directory path.
  14. #
  15. #ServerRoot "/etc/apache2"
  16.  
  17. # Trying to fix internet acessability issue...
  18. # ServerName anarchoanthro.com <-- this got rid of that startup error, but otherwise didn't work.
  19.  
  20. #
  21. # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
  22. #
  23. Mutex file:${APACHE_LOCK_DIR} default
  24.  
  25. #
  26. # PidFile: The file in which the server should record its process
  27. # identification number when it starts.
  28. # This needs to be set in /etc/apache2/envvars
  29. #
  30. PidFile ${APACHE_PID_FILE}
  31.  
  32. #
  33. # Timeout: The number of seconds before receives and sends time out.
  34. #
  35. Timeout 300
  36.  
  37. #
  38. # KeepAlive: Whether or not to allow persistent connections (more than
  39. # one request per connection). Set to "Off" to deactivate.
  40. #
  41. KeepAlive On
  42.  
  43. #
  44. # MaxKeepAliveRequests: The maximum number of requests to allow
  45. # during a persistent connection. Set to 0 to allow an unlimited amount.
  46. # We recommend you leave this number high, for maximum performance.
  47. #
  48. MaxKeepAliveRequests 100
  49.  
  50. #
  51. # KeepAliveTimeout: Number of seconds to wait for the next request from the
  52. # same client on the same connection.
  53. #
  54. KeepAliveTimeout 5
  55.  
  56.  
  57. # These need to be set in /etc/apache2/envvars
  58. User ${APACHE_RUN_USER}
  59. Group ${APACHE_RUN_GROUP}
  60.  
  61. #
  62. # HostnameLookups: Log the names of clients or just their IP addresses
  63. # e.g., www.apache.org (on) or 204.62.129.132 (off).
  64. # The default is off because it'd be overall better for the net if people
  65. # had to knowingly turn this feature on, since enabling it means that
  66. # each client request will result in AT LEAST one lookup request to the
  67. # nameserver.
  68. #
  69. HostnameLookups Off
  70.  
  71. # ErrorLog: The location of the error log file.
  72. # If you do not specify an ErrorLog directive within a <VirtualHost>
  73. # container, error messages relating to that virtual host will be
  74. # logged here. If you *do* define an error logfile for a <VirtualHost>
  75. # container, that host's errors will be logged there and not here.
  76. #
  77. ErrorLog ${APACHE_LOG_DIR}/error.log
  78.  
  79. #
  80. # LogLevel: Control the severity of messages logged to the error_log.
  81. # Available values: trace8, ..., trace1, debug, info, notice, warn,
  82. # error, crit, alert, emerg.
  83. # It is also possible to configure the log level for particular modules, e.g.
  84. # "LogLevel info ssl:warn"
  85. #
  86. LogLevel warn
  87.  
  88. # Include module configuration:
  89. IncludeOptional mods-enabled/*.load
  90. IncludeOptional mods-enabled/*.conf
  91.  
  92. # Include list of ports to listen on
  93. Include ports.conf
  94.  
  95. # Sets the default security model of the Apache2 HTTPD server. It does
  96. # not allow access to the root filesystem outside of /usr/share and /var/www.
  97. # The former is used by web applications packaged in Debian,
  98. # the latter may be used for local directories served by the web server. If
  99. # your system is serving content from a sub-directory in /srv you must allow
  100. # access here, or in any related virtual host.
  101. <Directory />
  102. Options FollowSymLinks
  103. AllowOverride None
  104. Require all denied
  105. </Directory>
  106.  
  107. <Directory /usr/share>
  108. AllowOverride None
  109. Require all granted
  110. </Directory>
  111.  
  112. <Directory /var/www/>
  113. Options FollowSymLinks
  114. AllowOverride None
  115. Require all granted
  116. </Directory>
  117.  
  118.  
  119. <Directory /srv/>
  120. Options FollowSymLinks IncludesNOEXEC
  121. XBitHack on
  122. AllowOverride None
  123. Require all granted
  124. </Directory>
  125.  
  126. # AccessFileName: The name of the file to look for in each directory
  127. # for additional configuration directives. See also the AllowOverride
  128. # directive.
  129. #
  130. AccessFileName .htaccess
  131.  
  132. #
  133. # The following lines prevent .htaccess and .htpasswd files from being
  134. # viewed by Web clients.
  135. #
  136. <FilesMatch "^.ht">
  137. Require all denied
  138. </FilesMatch>
  139.  
  140. #
  141. # The following directives define some format nicknames for use with
  142. # a CustomLog directive.
  143. #
  144. # These deviate from the Common Log Format definitions in that they use %O
  145. # (the actual bytes sent including headers) instead of %b (the size of the
  146. # requested file), because the latter makes it impossible to detect partial
  147. # requests.
  148. #
  149. # Note that the use of %{X-Forwarded-For}i instead of %h is not recommended.
  150. # Use mod_remoteip instead.
  151. #
  152. LogFormat "%v:%p %h %l %u %t "%r" %>s %O "%{Referer}i" "%{User-Agent}i"" vhost_combined
  153. LogFormat "%h %l %u %t "%r" %>s %O "%{Referer}i" "%{User-Agent}i"" combined
  154. LogFormat "%h %l %u %t "%r" %>s %O" common
  155. LogFormat "%{Referer}i -> %U" referer
  156. LogFormat "%{User-agent}i" agent
  157.  
  158. # Include of directories ignores editors' and dpkg's backup files,
  159. # see README.Debian for details.
  160.  
  161. # Include generic snippets of statements
  162. IncludeOptional conf-enabled/*.conf
  163.  
  164. # Include the virtual host configurations:
  165. IncludeOptional sites-enabled/*.conf
  166.  
  167. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
  168.  
  169. UserDir disabled root
  170.  
  171. # If you just change the port or add more ports here, you will likely also
  172. # have to change the VirtualHost statement in
  173. # /etc/apache2/sites-enabled/000-default.conf
  174.  
  175. Listen 80
  176. Listen 8080
  177.  
  178. <IfModule ssl_module>
  179. Listen 443
  180. </IfModule>
  181.  
  182. <IfModule mod_gnutls.c>
  183. Listen 443
  184. </IfModule>
  185.  
  186. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
  187.  
  188. <VirtualHost *:80>
  189. # The ServerName directive sets the request scheme, hostname and port that
  190. # the server uses to identify itself. This is used when creating
  191. # redirection URLs. In the context of virtual hosts, the ServerName
  192. # specifies what hostname must appear in the request's Host: header to
  193. # match this virtual host. For the default virtual host (this file) this
  194. # value is not decisive as it is used as a last resort host regardless.
  195. # However, you must set it for any further virtual host explicitly.
  196. #ServerName www.example.com
  197.  
  198. ServerAdmin johnbltz@gmail.com
  199. ServerName www.anarchoanthro.com
  200. ServerAlias anarchoanthro.com
  201. DocumentRoot /srv/wp-anarchoanthro
  202.  
  203. # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  204. # error, crit, alert, emerg.
  205. # It is also possible to configure the loglevel for particular
  206. # modules, e.g.
  207. #LogLevel info ssl:warn
  208.  
  209. ErrorLog ${APACHE_LOG_DIR}/error.log
  210. CustomLog ${APACHE_LOG_DIR}/access.log combined
  211.  
  212. # For most configuration files from conf-available/, which are
  213. # enabled or disabled at a global level, it is possible to
  214. # include a line for only one particular virtual host. For example the
  215. # following line enables the CGI configuration for this host only
  216. # after it has been globally disabled with "a2disconf".
  217. #Include conf-available/serve-cgi-bin.conf
  218.  
  219. # Set /srv/testsite1/cgibin/ as CGI script directory.
  220.  
  221. ScriptAlias "/cgi-bin/" "/srv/wp-anarchoanthro/cgi-bin/"
  222.  
  223. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
  224.  
  225. 95.134.193.184 - - [01/Aug/2015:04:17:41 -0500] "x0fKx17xaf$Wxff'" 200 28811 "-" "-"
  226. 199.30.228.129 - - [01/Aug/2015:05:07:30 -0500] "GET / HTTP/1.1" 200 7795 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 GTB7.1"
  227. 38.105.109.12 - - [01/Aug/2015:05:12:36 -0500] "GET / HTTP/1.1" 200 29152 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
  228. 38.105.109.12 - - [01/Aug/2015:05:12:38 -0500] "GET / HTTP/1.1" 200 29151 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
  229. 38.105.109.12 - - [01/Aug/2015:05:12:39 -0500] "GET /wp-content/themes/arcade-basic/library/js/html5.js HTTP/1.1" 200 2734 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
  230. 38.105.109.12 - - [01/Aug/2015:05:12:39 -0500] "GET /wp-includes/js/wp-emoji-release.min.js?ver=4.2.3 HTTP/1.1" 200 14953 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
  231. 38.105.109.12 - - [01/Aug/2015:05:12:39 -0500] "GET /wp-includes/js/jquery/jquery.js?ver=1.11.2 HTTP/1.1" 200 96260 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
  232. 38.105.109.12 - - [01/Aug/2015:05:12:40 -0500] "GET /wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1 HTTP/1.1" 200 7506 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
  233. 38.105.109.12 - - [01/Aug/2015:05:12:40 -0500] "GET /wp-content/themes/arcade-basic/library/js/bootstrap.min.js?ver=3.0.3 HTTP/1.1" 200 6980 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
  234. 38.105.109.12 - - [01/Aug/2015:05:12:40 -0500] "GET /wp-content/themes/arcade-basic/library/js/fillsize.js?ver=4.2.3 HTTP/1.1" 200 2576 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
  235. 38.105.109.12 - - [01/Aug/2015:05:12:40 -0500] "GET /wp-content/themes/arcade-basic/library/js/jquery.arctext.js?ver=4.2.3 HTTP/1.1" 200 10612 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
  236. 38.105.109.12 - - [01/Aug/2015:05:12:40 -0500] "GET /wp-content/themes/arcade-basic/library/js/theme.js?ver=4.2.3 HTTP/1.1" 200 3052 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
  237. 64.69.91.210 - - [01/Aug/2015:06:02:54 -0500] "GET / HTTP/1.1" 200 29128 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)"
  238. 192.187.110.98 - - [01/Aug/2015:06:54:53 -0500] "GET http://testp2.czar.bielawa.pl/testproxy.php HTTP/1.1" 404 356 "-" "Mozilla/5.0 (Windows NT 5.1; rv:32.0) Gecko/20100101 Firefox/31.0"
  239. 141.212.122.59 - - [01/Aug/2015:07:56:56 -0500] "CONNECT proxytest.zmap.io:80 HTTP/1.1" 200 27778 "-" "Mozilla/5.0 zgrab/0.x"
  240. 141.212.122.59 - - [01/Aug/2015:07:56:57 -0500] "GET / HTTP/1.1" 200 30504 "-" "Mozilla/5.0 zgrab/0.x"
  241. 104.238.194.164 - - [01/Aug/2015:09:32:09 -0500] "GET / HTTP/1.1" 200 29153 "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)"
  242. 46.172.71.251 - - [01/Aug/2015:12:12:51 -0500] "GET /rom-0 HTTP/1.1" 404 367 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
  243.  
  244. [Sat Aug 01 06:54:53.947240 2015] [:error] [pid 4035] [client 192.187.110.98:56439] script '/srv/wp-anarchoanthro/testproxy.php' not found or unable to stat
  245. [Sat Aug 01 11:23:56.393436 2015] [mpm_prefork:notice] [pid 3918] AH00169: caught SIGTERM, shutting down
  246. [Sat Aug 01 11:23:57.476298 2015] [mpm_prefork:notice] [pid 4943] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.11 OpenSSL/1.0.1f configured -- resuming normal operations
  247. [Sat Aug 01 11:23:57.476333 2015] [core:notice] [pid 4943] AH00094: Command line: '/usr/sbin/apache2'
  248. [Sat Aug 01 12:30:02.492747 2015] [mpm_prefork:notice] [pid 4943] AH00169: caught SIGTERM, shutting down
  249. [Sat Aug 01 12:30:03.513348 2015] [mpm_prefork:notice] [pid 5037] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.11 OpenSSL/1.0.1f configured -- resuming normal operations
  250. [Sat Aug 01 12:30:03.513384 2015] [core:notice] [pid 5037] AH00094: Command line: '/usr/sbin/apache2'
  251.  
  252. 127.0.1.1:80 216.218.206.68 - - [01/Aug/2015:01:31:36 -0500] "x16x03x01" 400 0 "-" "-"
  253. 127.0.1.1:80 141.212.122.42 - - [01/Aug/2015:03:15:26 -0500] "x16x03x01" 400 0 "-" "-"
  254. 127.0.1.1:80 65.31.172.201 - - [01/Aug/2015:06:20:06 -0500] "x80Fx01x03x01" 400 0 "-" "-"
  255. 127.0.1.1:80 50.77.106.104 - - [01/Aug/2015:06:44:22 -0500] "x80Fx01x03x01" 400 0 "-" "-"
  256. 127.0.1.1:80 71.174.188.128 - - [01/Aug/2015:07:29:10 -0500] "x80Fx01x03x01" 400 0 "-" "-"
  257. 127.0.1.1:80 98.251.14.214 - - [01/Aug/2015:09:31:43 -0500] "x80Fx01x03x01" 400 0 "-" "-"
  258. 127.0.1.1:80 89.248.171.137 - - [01/Aug/2015:10:22:04 -0500] "x16x03x01" 400 0 "-" "-"
  259. anarchoanthro.com:80 177.206.182.186 - - [01/Aug/2015:12:08:54 -0500] "x80Fx01x03x01" 400 0 "-" "-"
  260.  
  261. Kernel IP routing table
  262. Destination Gateway Genmask Flags Metric Ref Use Iface
  263. default 10.0.0.1 0.0.0.0 UG 0 0 0 eth0
  264. 10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement