<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Instal%C2%B7laci%C3%B3_i_configuraci%C3%B3_d%27Apache_amb_Ubuntu</id>
	<title>Instal·lació i configuració d'Apache amb Ubuntu - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Instal%C2%B7laci%C3%B3_i_configuraci%C3%B3_d%27Apache_amb_Ubuntu"/>
	<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Instal%C2%B7laci%C3%B3_i_configuraci%C3%B3_d%27Apache_amb_Ubuntu&amp;action=history"/>
	<updated>2026-08-30T12:45:20Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://wiki.joanillo.org/index.php?title=Instal%C2%B7laci%C3%B3_i_configuraci%C3%B3_d%27Apache_amb_Ubuntu&amp;diff=257318&amp;oldid=prev</id>
		<title>Joan: Es crea la pàgina amb «__TOC__ =Introducció= '''NOTA'''. Aquest petit tutorial està actualitzat a Ubuntu 16.04 en una màquina acabada d'instal.lar. =Instal.lació= [[Fitxer:Apache2.png | thu...».</title>
		<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Instal%C2%B7laci%C3%B3_i_configuraci%C3%B3_d%27Apache_amb_Ubuntu&amp;diff=257318&amp;oldid=prev"/>
		<updated>2018-05-30T17:59:17Z</updated>

		<summary type="html">&lt;p&gt;Es crea la pàgina amb «__TOC__ =Introducció= &amp;#039;&amp;#039;&amp;#039;NOTA&amp;#039;&amp;#039;&amp;#039;. Aquest petit tutorial està actualitzat a Ubuntu 16.04 en una màquina acabada d&amp;#039;instal.lar. =Instal.lació= [[Fitxer:Apache2.png | thu...».&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__TOC__&lt;br /&gt;
=Introducció=&lt;br /&gt;
'''NOTA'''. Aquest petit tutorial està actualitzat a Ubuntu 16.04 en una màquina acabada d'instal.lar.&lt;br /&gt;
=Instal.lació=&lt;br /&gt;
[[Fitxer:Apache2.png | thumbnail]]&lt;br /&gt;
En una màquina acabada d'instal.lar no existeix cap servidor web en funcionament:&lt;br /&gt;
*http://localhost -&amp;gt; no funciona&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install apache2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
i un cop instal.lat ja funciona:&lt;br /&gt;
*http://localhost&lt;br /&gt;
i ens dóna molt informació que llegim amb deteniment&lt;br /&gt;
&lt;br /&gt;
==Llegim amb calma==&lt;br /&gt;
===It works!===&lt;br /&gt;
This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems. It is based on the equivalent page on Debian, from which the Ubuntu Apache packaging is derived. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at ''/var/www/html/index.html'') before continuing to operate your HTTP server.&lt;br /&gt;
&lt;br /&gt;
If you are a normal user of this web site and don't know what this page is about, this probably means that the site is currently unavailable due to maintenance. If the problem persists, please contact the site's administrator.&lt;br /&gt;
Configuration Overview&lt;br /&gt;
&lt;br /&gt;
Ubuntu's Apache2 default configuration is different from the upstream default configuration, and split into several files optimized for interaction with Ubuntu tools. The configuration system is fully documented in ''/usr/share/doc/apache2/README.Debian.gz''. Refer to this for the full documentation. Documentation for the web server itself can be found by accessing the manual if the ''apache2-doc'' package was installed on this server.&lt;br /&gt;
&lt;br /&gt;
The configuration layout for an Apache2 web server installation on Ubuntu systems is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/apache2/&lt;br /&gt;
|-- apache2.conf&lt;br /&gt;
|       `--  ports.conf&lt;br /&gt;
|-- mods-enabled&lt;br /&gt;
|       |-- *.load&lt;br /&gt;
|       `-- *.conf&lt;br /&gt;
|-- conf-enabled&lt;br /&gt;
|       `-- *.conf&lt;br /&gt;
|-- sites-enabled&lt;br /&gt;
|       `-- *.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;     &lt;br /&gt;
&lt;br /&gt;
*''apache2.conf'' is the main configuration file. It puts the pieces together by including all remaining configuration files when starting up the web server.&lt;br /&gt;
*''ports.conf'' is always included from the main configuration file. It is used to determine the listening ports for incoming connections, and this file can be customized anytime.&lt;br /&gt;
*Configuration files in the ''mods-enabled/'', ''conf-enabled/'' and ''sites-enabled/'' directories contain particular configuration snippets which manage modules, global configuration fragments, or virtual host configurations, respectively.&lt;br /&gt;
*They are activated by symlinking available configuration files from their respective -available/ counterparts. These should be managed by using our helpers ''a2enmod'', ''a2dismod'', ''a2ensite'', ''a2dissite'', and ''a2enconf'', ''a2disconf'' . See their respective man pages for detailed information.&lt;br /&gt;
*The binary is called ''apache2''. Due to the use of environment variables, in the default configuration, apache2 needs to be started/stopped with ''/etc/init.d/apache2'' or ''apache2ctl''. Calling /usr/bin/apache2 directly will not work with the default configuration.&lt;br /&gt;
===Document Roots===&lt;br /&gt;
By default, Ubuntu does not allow access through the web browser to any file apart of those located in ''/var/www'', ''public_html'' directories (when enabled) and ''/usr/share'' (for web applications). If your site is using a web document root located elsewhere (such as in ''/srv'') you may need to whitelist your document root directory in ''/etc/apache2/apache2.conf''.&lt;br /&gt;
&lt;br /&gt;
The default Ubuntu document root is ''/var/www/html''. You can make your own virtual hosts under ''/var/www''. This is different to previous releases which provides better security out of the box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please use the ubuntu-bug tool to report bugs in the Apache2 package with Ubuntu. However, check existing bug reports before reporting a new bug.&lt;br /&gt;
&lt;br /&gt;
Please report bugs specific to modules (such as PHP and others) to respective packages, not to the web server itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Autor}}, setembre 2016&lt;/div&gt;</summary>
		<author><name>Joan</name></author>
		
	</entry>
</feed>