Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.80 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title>Apache2 Debian Default Page: It works</title>
  6. <style type="text/css" media="screen">
  7. * {
  8. margin: 0px 0px 0px 0px;
  9. padding: 0px 0px 0px 0px;
  10. }
  11.  
  12. body, html {
  13. padding: 3px 3px 3px 3px;
  14.  
  15. background-color: #D8DBE2;
  16.  
  17. font-family: Verdana, sans-serif;
  18. font-size: 11pt;
  19. text-align: center;
  20. }
  21.  
  22. div.main_page {
  23. position: relative;
  24. display: table;
  25.  
  26. width: 800px;
  27.  
  28. margin-bottom: 3px;
  29. margin-left: auto;
  30. margin-right: auto;
  31. padding: 0px 0px 0px 0px;
  32.  
  33. border-width: 2px;
  34. border-color: #212738;
  35. border-style: solid;
  36.  
  37. background-color: #FFFFFF;
  38.  
  39. text-align: center;
  40. }
  41.  
  42. div.page_header {
  43. height: 99px;
  44. width: 100%;
  45.  
  46. background-color: #F5F6F7;
  47. }
  48.  
  49. div.page_header span {
  50. margin: 15px 0px 0px 50px;
  51.  
  52. font-size: 180%;
  53. font-weight: bold;
  54. }
  55.  
  56. div.page_header img {
  57. margin: 3px 0px 0px 40px;
  58.  
  59. border: 0px 0px 0px;
  60. }
  61.  
  62. div.table_of_contents {
  63. clear: left;
  64.  
  65. min-width: 200px;
  66.  
  67. margin: 3px 3px 3px 3px;
  68.  
  69. background-color: #FFFFFF;
  70.  
  71. text-align: left;
  72. }
  73.  
  74. div.table_of_contents_item {
  75. clear: left;
  76.  
  77. width: 100%;
  78.  
  79. margin: 4px 0px 0px 0px;
  80.  
  81. background-color: #FFFFFF;
  82.  
  83. color: #000000;
  84. text-align: left;
  85. }
  86.  
  87. div.table_of_contents_item a {
  88. margin: 6px 0px 0px 6px;
  89. }
  90.  
  91. div.content_section {
  92. margin: 3px 3px 3px 3px;
  93.  
  94. background-color: #FFFFFF;
  95.  
  96. text-align: left;
  97. }
  98.  
  99. div.content_section_text {
  100. padding: 4px 8px 4px 8px;
  101.  
  102. color: #000000;
  103. font-size: 100%;
  104. }
  105.  
  106. div.content_section_text pre {
  107. margin: 8px 0px 8px 0px;
  108. padding: 8px 8px 8px 8px;
  109.  
  110. border-width: 1px;
  111. border-style: dotted;
  112. border-color: #000000;
  113.  
  114. background-color: #F5F6F7;
  115.  
  116. font-style: italic;
  117. }
  118.  
  119. div.content_section_text p {
  120. margin-bottom: 6px;
  121. }
  122.  
  123. div.content_section_text ul, div.content_section_text li {
  124. padding: 4px 8px 4px 16px;
  125. }
  126.  
  127. div.section_header {
  128. padding: 3px 6px 3px 6px;
  129.  
  130. background-color: #8E9CB2;
  131.  
  132. color: #FFFFFF;
  133. font-weight: bold;
  134. font-size: 112%;
  135. text-align: center;
  136. }
  137.  
  138. div.section_header_red {
  139. background-color: #CD214F;
  140. }
  141.  
  142. div.section_header_grey {
  143. background-color: #9F9386;
  144. }
  145.  
  146. .floating_element {
  147. position: relative;
  148. float: left;
  149. }
  150.  
  151. div.table_of_contents_item a,
  152. div.content_section_text a {
  153. text-decoration: none;
  154. font-weight: bold;
  155. }
  156.  
  157. div.table_of_contents_item a:link,
  158. div.table_of_contents_item a:visited,
  159. div.table_of_contents_item a:active {
  160. color: #000000;
  161. }
  162.  
  163. div.table_of_contents_item a:hover {
  164. background-color: #000000;
  165.  
  166. color: #FFFFFF;
  167. }
  168.  
  169. div.content_section_text a:link,
  170. div.content_section_text a:visited,
  171. div.content_section_text a:active {
  172. background-color: #DCDFE6;
  173.  
  174. color: #000000;
  175. }
  176.  
  177. div.content_section_text a:hover {
  178. background-color: #000000;
  179.  
  180. color: #DCDFE6;
  181. }
  182.  
  183. div.validator {
  184. }
  185. </style>
  186. </head>
  187. <body>
  188. <div class="main_page">
  189. <div class="page_header floating_element">
  190. <img src="/icons/openlogo-75.png" alt="Debian Logo" class="floating_element"/>
  191. <span class="floating_element">
  192. Apache2 Debian Default Page
  193. </span>
  194. </div>
  195. <!-- <div class="table_of_contents floating_element">
  196. <div class="section_header section_header_grey">
  197. TABLE OF CONTENTS
  198. </div>
  199. <div class="table_of_contents_item floating_element">
  200. <a href="#about">About</a>
  201. </div>
  202. <div class="table_of_contents_item floating_element">
  203. <a href="#changes">Changes</a>
  204. </div>
  205. <div class="table_of_contents_item floating_element">
  206. <a href="#scope">Scope</a>
  207. </div>
  208. <div class="table_of_contents_item floating_element">
  209. <a href="#files">Config files</a>
  210. </div>
  211. </div>
  212. -->
  213. <div class="content_section floating_element">
  214.  
  215.  
  216. <div class="section_header section_header_red">
  217. <div id="about"></div>
  218. It works!
  219. </div>
  220. <div class="content_section_text">
  221. <p>
  222. This is the default welcome page used to test the correct
  223. operation of the Apache2 server after installation on Debian systems.
  224. If you can read this page, it means that the Apache HTTP server installed at
  225. this site is working properly. You should <b>replace this file</b> (located at
  226. <tt>/var/www/html/index.html</tt>) before continuing to operate your HTTP server.
  227. </p>
  228.  
  229.  
  230. <p>
  231. If you are a normal user of this web site and don't know what this page is
  232. about, this probably means that the site is currently unavailable due to
  233. maintenance.
  234. If the problem persists, please contact the site's administrator.
  235. </p>
  236.  
  237. </div>
  238. <div class="section_header">
  239. <div id="changes"></div>
  240. Configuration Overview
  241. </div>
  242. <div class="content_section_text">
  243. <p>
  244. Debian's Apache2 default configuration is different from the
  245. upstream default configuration, and split into several files optimized for
  246. interaction with Debian tools. The configuration system is
  247. <b>fully documented in
  248. /usr/share/doc/apache2/README.Debian.gz</b>. Refer to this for the full
  249. documentation. Documentation for the web server itself can be
  250. found by accessing the <a href="/manual">manual</a> if the <tt>apache2-doc</tt>
  251. package was installed on this server.
  252.  
  253. </p>
  254. <p>
  255. The configuration layout for an Apache2 web server installation on Debian systems is as follows:
  256. </p>
  257. <pre>
  258. /etc/apache2/
  259. |-- apache2.conf
  260. | `-- ports.conf
  261. |-- mods-enabled
  262. | |-- *.load
  263. | `-- *.conf
  264. |-- conf-enabled
  265. | `-- *.conf
  266. |-- sites-enabled
  267. | `-- *.conf
  268. </pre>
  269. <ul>
  270. <li>
  271. <tt>apache2.conf</tt> is the main configuration
  272. file. It puts the pieces together by including all remaining configuration
  273. files when starting up the web server.
  274. </li>
  275.  
  276. <li>
  277. <tt>ports.conf</tt> is always included from the
  278. main configuration file. It is used to determine the listening ports for
  279. incoming connections, and this file can be customized anytime.
  280. </li>
  281.  
  282. <li>
  283. Configuration files in the <tt>mods-enabled/</tt>,
  284. <tt>conf-enabled/</tt> and <tt>sites-enabled/</tt> directories contain
  285. particular configuration snippets which manage modules, global configuration
  286. fragments, or virtual host configurations, respectively.
  287. </li>
  288.  
  289. <li>
  290. They are activated by symlinking available
  291. configuration files from their respective
  292. *-available/ counterparts. These should be managed
  293. by using our helpers
  294. <tt>
  295. a2enmod,
  296. a2dismod,
  297. </tt>
  298. <tt>
  299. a2ensite,
  300. a2dissite,
  301. </tt>
  302. and
  303. <tt>
  304. a2enconf,
  305. a2disconf
  306. </tt>. See their respective man pages for detailed information.
  307. </li>
  308.  
  309. <li>
  310. The binary is called apache2. Due to the use of
  311. environment variables, in the default configuration, apache2 needs to be
  312. started/stopped with <tt>/etc/init.d/apache2</tt> or <tt>apache2ctl</tt>.
  313. <b>Calling <tt>/usr/bin/apache2</tt> directly will not work</b> with the
  314. default configuration.
  315. </li>
  316. </ul>
  317. </div>
  318.  
  319. <div class="section_header">
  320. <div id="docroot"></div>
  321. Document Roots
  322. </div>
  323.  
  324. <div class="content_section_text">
  325. <p>
  326. By default, Debian does not allow access through the web browser to
  327. <em>any</em> file apart of those located in <tt>/var/www</tt>,
  328. <a href="http://httpd.apache.org/docs/2.4/mod/mod_userdir.html" rel="nofollow">public_html</a>
  329. directories (when enabled) and <tt>/usr/share</tt> (for web
  330. applications). If your site is using a web document root
  331. located elsewhere (such as in <tt>/srv</tt>) you may need to whitelist your
  332. document root directory in <tt>/etc/apache2/apache2.conf</tt>.
  333. </p>
  334. <p>
  335. The default Debian document root is <tt>/var/www/html</tt>. You
  336. can make your own virtual hosts under /var/www. This is different
  337. to previous releases which provides better security out of the box.
  338. </p>
  339. </div>
  340.  
  341. <div class="section_header">
  342. <div id="bugs"></div>
  343. Reporting Problems
  344. </div>
  345. <div class="content_section_text">
  346. <p>
  347. Please use the <tt>reportbug</tt> tool to report bugs in the
  348. Apache2 package with Debian. However, check <a
  349. href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?ordering=normal;archive=0;src=apache2;repeatmerged=0"
  350. rel="nofollow">existing bug reports</a> before reporting a new bug.
  351. </p>
  352. <p>
  353. Please report bugs specific to modules (such as PHP and others)
  354. to respective packages, not to the web server itself.
  355. </p>
  356. </div>
  357.  
  358.  
  359.  
  360.  
  361. </div>
  362. </div>
  363. <div class="validator">
  364. </div>
  365. </body>
  366. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement