<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://wiki.cure.edu.uy/index.php?action=history&amp;feed=atom&amp;title=Servidor_Web</id>
	<title>Servidor Web - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cure.edu.uy/index.php?action=history&amp;feed=atom&amp;title=Servidor_Web"/>
	<link rel="alternate" type="text/html" href="https://wiki.cure.edu.uy/index.php?title=Servidor_Web&amp;action=history"/>
	<updated>2026-04-30T20:10:07Z</updated>
	<subtitle>Historial de revisiones de esta página en la wiki</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.cure.edu.uy/index.php?title=Servidor_Web&amp;diff=1935&amp;oldid=prev</id>
		<title>Lorena.duhalde en 19:21 13 ene 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.cure.edu.uy/index.php?title=Servidor_Web&amp;diff=1935&amp;oldid=prev"/>
		<updated>2022-01-13T19:21:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revisión del 19:21 13 ene 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l78&quot; &gt;Línea 78:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 78:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* El manejo de hospedajes virtuales: http://httpd.apache.org/docs/2.2/vhosts/&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* El manejo de hospedajes virtuales: http://httpd.apache.org/docs/2.2/vhosts/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Las reglas de re-escritura de URLS: http://httpd.apache.org/docs/2.2/rewrite/&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Las reglas de re-escritura de URLS: http://httpd.apache.org/docs/2.2/rewrite/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Descontinuadas]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lorena.duhalde</name></author>
	</entry>
	<entry>
		<id>https://wiki.cure.edu.uy/index.php?title=Servidor_Web&amp;diff=331&amp;oldid=prev</id>
		<title>Lorena: Página creada con &#039;=== Servidor Web ===  Servidores web en GNU/linux: el principal y más conocido: apache pero también: lighthttpd, cherokee, ...  Utilizaremos apache2 (denominado así en debian...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.cure.edu.uy/index.php?title=Servidor_Web&amp;diff=331&amp;oldid=prev"/>
		<updated>2011-06-14T13:05:12Z</updated>

		<summary type="html">&lt;p&gt;Página creada con &amp;#039;=== Servidor Web ===  Servidores web en GNU/linux: el principal y más conocido: apache pero también: lighthttpd, cherokee, ...  Utilizaremos apache2 (denominado así en debian...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Servidor Web ===&lt;br /&gt;
&lt;br /&gt;
Servidores web en GNU/linux:&lt;br /&gt;
el principal y más conocido: apache&lt;br /&gt;
pero también: lighthttpd, cherokee, ...&lt;br /&gt;
&lt;br /&gt;
Utilizaremos apache2 (denominado así en debian/ubuntu porque cohabita(ro)n las versiones 1.3.x (apache) y 2.x (apache2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Instalación: ==&lt;br /&gt;
&lt;br /&gt;
aptitude install apache2&lt;br /&gt;
&lt;br /&gt;
Primer prueba: desde un navegador visitar la página: http://servidor.apache/&lt;br /&gt;
donde &amp;quot;servidor.apache&amp;quot; es la IP del servidor, o un nombre de domínio que resuelve a ésta. (si el servidor tiene un navegador, puede sar: http://localhost/)&lt;br /&gt;
&lt;br /&gt;
Debemos entonces ver aparecer una página de prueba: &amp;quot;It works!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Organización de /etc/apache2 :&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* /etc/apache2/apache2.conf: archivo principal de configuración,&lt;br /&gt;
* /etc/apache2/ports.conf: declaración de uso de VirtualHosts y puertos de escucha&lt;br /&gt;
* /etc/apache2/conf.d/ carpeta de configuraciones específicas a módulos u otros paquetes que utilizan apache&lt;br /&gt;
* /etc/apache2/sites-available : definición de &amp;quot;sitios&amp;quot; VirtualHosts. aquí, inicialmente hay un sitio llamado &amp;quot;default&amp;quot;, que responderá a cualquier solicitud.&lt;br /&gt;
* /etc/apache2/sites-enabled : &amp;quot;sitios&amp;quot; activados (enlaces simbólicos a la precedente carpeta)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Utilitarios de administración de sitios:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* a2ensite (por &amp;quot;apache2 enable site&amp;quot;): activación de los sitios disponibles,&lt;br /&gt;
* a2dissite: desactivación de los sitios.&lt;br /&gt;
&lt;br /&gt;
Podemos, por ejemplo, crear un nuevo sitio creando un archivo /etc/apache2/sites-available/mi_sitio, a partir del archivo /etc/apache2/sites-available/default&lt;br /&gt;
&lt;br /&gt;
Si queremos que este sitio sólo responda a cierto dominio que resuelve en ese servidor (y no a la IP o a otro dominio), agregamos en la sección &amp;lt;VirtualServer *:80&amp;gt; una directiva:&lt;br /&gt;
ServerName www.mi_servidor.org&lt;br /&gt;
&lt;br /&gt;
Se pueden personalizar las directivas existentes y/o agregar muchas otras.&lt;br /&gt;
Debemos finalmente activar el sitio:&lt;br /&gt;
a2ensite mi_sitio&lt;br /&gt;
Y re-cargar la configuración:&lt;br /&gt;
/etc/init.d/apache2 reload&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Otros utilitarios similares existen para los módulos.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* a2enmod: habilitación de un módulo apache,&lt;br /&gt;
* a2dismod: deshabilitación de un módulo apache,&lt;br /&gt;
&lt;br /&gt;
Apache ya viene compilado con diferentes módulos.&lt;br /&gt;
Por ejemplo, para habilitar apache en https:&lt;br /&gt;
a2enmod ssl&lt;br /&gt;
&lt;br /&gt;
Esto requerirá, además, un certificado válido y la configuración de un sitio en https. Un certificado autofirmado se puede obtener instalando ssl-cert, y un sitio activando:&lt;br /&gt;
a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
as2enmod, sin parámetro, muestra la lista de módulos disponibles.&lt;br /&gt;
&lt;br /&gt;
Además de las dependencias, existen varios paquetes adicionales ligados a apache, a menudo a través de módulos: libapache2-mod-XXX, por ejemplo PHP: libapache2-mod-php5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Apache se utiliza a menudo en una configuración &amp;quot;LAMP&amp;quot;: Linux Apache MySQL PHP. Es necesario instalar además:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* libapache2-mod-php5 (que incluye php5 en dependencia)&lt;br /&gt;
* mysql-server&lt;br /&gt;
* php-mysql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Referencias ==&lt;br /&gt;
&lt;br /&gt;
Servidor web apache http://httpd.apache.org/ (www.apache.org es el de la fundación, que también tiene otros proyectos, como Tomcat, por ejemplo)&lt;br /&gt;
Ver en particular:&lt;br /&gt;
&lt;br /&gt;
* La documentación: http://httpd.apache.org/docs/2.2/&lt;br /&gt;
* El manejo de hospedajes virtuales: http://httpd.apache.org/docs/2.2/vhosts/&lt;br /&gt;
* Las reglas de re-escritura de URLS: http://httpd.apache.org/docs/2.2/rewrite/&lt;/div&gt;</summary>
		<author><name>Lorena</name></author>
	</entry>
</feed>