index.html 11 KB

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