<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ajaxman &#187; Servidores</title>
	<atom:link href="http://www.ajaxman.net/category/servidores/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxman.net</link>
	<description>Ajax, Javascript, Xul, Internet, Recursos, Informatica ...</description>
	<lastBuildDate>Sat, 07 Jan 2012 23:15:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>[Noticias] Google planea construir datacenters en el mar</title>
		<link>http://www.ajaxman.net/noticias-google-planea-construir-datacenters-en-el-mar.html</link>
		<comments>http://www.ajaxman.net/noticias-google-planea-construir-datacenters-en-el-mar.html#comments</comments>
		<pubDate>Tue, 09 Sep 2008 18:19:58 +0000</pubDate>
		<dc:creator>Ajaxman</dc:creator>
				<category><![CDATA[Computadoras]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Noticias]]></category>
		<category><![CDATA[Servidores]]></category>
		<category><![CDATA[Tecnologia]]></category>
		<category><![CDATA[Datacenters]]></category>

		<guid isPermaLink="false">http://www.ajaxman.net/?p=1242</guid>
		<description><![CDATA[Y ahora despues de muchos posts, en los que habiamos hablado de Google y de Chrome, hoy les tengo un post que habla de Google sin chrome. Y ya que estos, señores de Google siguen con su plan de dominacion del mundo expansión y crecimiento, y parecen no tener limites, sin duda de google se [...]]]></description>
			<content:encoded><![CDATA[<p>Y ahora despues de muchos posts, en los que habiamos hablado de Google y de Chrome, hoy les tengo un post que habla de Google sin chrome.</p>
<div id="attachment_1243" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-1243" title="Google Datacenter Patente" src="http://www.ajaxman.net/wp-content/uploads/2008/09/google-navy-floating-data-center.gif" alt="Google Datacenter Patente" width="400" height="352" /><p class="wp-caption-text">Google Datacenter Patente</p></div>
<p>Y ya que estos, señores de Google siguen con su plan de <span style="text-decoration: line-through;">dominacion del mundo</span> expansión y crecimiento, y parecen no tener limites, sin duda de google se habla casi a diario, en la web y mas en los blogs, ahora resulta que a parte de haber cumplido 10 años (lo siento son tan populares que no hice post de su cumpleaños(7 de septiembre)), y despues de haber lanzado un satelite que segun servira, para mejorar la calidad de imagenes que actualmente vemos en Google maps y Earth, aunque en meneame ya hay teorias que afirman que esto tambien tiene sus dotes belicos.</p>
<p>Si todo esto, nos sorprende pues, me ha sorprendido aun mas esta noticia(vista en meneame),  en la cual dicen que Google, acaba de registrar una patente, con la cual pretenden crear plataformas marinas en donde colocaran sus data centers.</p>
<p>Aunque lo mas destacable no solo es esto, si no que ademas aprovecharan la energia generada por el mar para alimentar sus datacenters, la verdad, Google sigue creciendo a un ritmo imparable, pero seamos concientes, que aunque nunca podremos saber a ciencia cierta su verdadero objetivo(si es que lo hay aparte de crecer y consolidarse), debemos admintir que lo haces de una forma nada mala, osea datacenters con energia renovable, si Microsoft fuera asi, las cosas serian distintas.</p>
<p>Vía | <a title="Permanent Link: Google planea construir data centers sobre el mar" rel="bookmark" href="http://www.ison21.es/2008/09/08/google-planea-construir-data-centers-sobre-el-mar/">Google planea construir data centers sobre el mar</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxman.net/noticias-google-planea-construir-datacenters-en-el-mar.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Manual] Usando el crontab en Linux</title>
		<link>http://www.ajaxman.net/manual-usando-el-crontab-en-linux.html</link>
		<comments>http://www.ajaxman.net/manual-usando-el-crontab-en-linux.html#comments</comments>
		<pubDate>Fri, 15 Aug 2008 17:40:59 +0000</pubDate>
		<dc:creator>Ajaxman</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LPIC]]></category>
		<category><![CDATA[Manuales]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Open Suse]]></category>
		<category><![CDATA[Programacion]]></category>
		<category><![CDATA[Recursos]]></category>
		<category><![CDATA[Servidores]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Crontab]]></category>
		<category><![CDATA[Manual]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://www.ajaxman.net/?p=1119</guid>
		<description><![CDATA[Bueno hoy es viernes y no hay que hacer nada ¿no creen?, ojala y así fuera pero hay bastante chamba, bueno regular, pero veamos un poco sobre como usar el famoso crontab que a veces me ha costado trabajo, bueno aquí les pondré un pequeño manual espero que les sea de utilidad, cualquier pregunta no [...]]]></description>
			<content:encoded><![CDATA[<p>Bueno hoy es viernes y no hay que hacer nada ¿no creen?, ojala y así fuera pero hay bastante chamba, bueno regular, pero veamos un poco sobre como usar el famoso crontab que a veces me ha costado trabajo, bueno aquí les pondré un pequeño manual espero que les sea de utilidad, cualquier pregunta no duden, para eso están los comentarios.</p>
<div id="attachment_1120" class="wp-caption alignright" style="width: 138px"><img class="size-full wp-image-1120" src="http://www.ajaxman.net/wp-content/uploads/2008/08/terminal.png" alt="terminal" width="128" height="128" /><p class="wp-caption-text">Terminal</p></div>
<p><strong>El crontab, es un archivo en donde podemos configurar tareas para que se ejecuten automáticamente en nuestro sistema, digamos por ejemplo descargar un archivo de respaldo diariamente,  o borrar ciertos archivos periódicamente, ejecutar un script que haga algo, etc, digamos que podemos automatizar las tareas, para no estar haciéndolas a mano.</strong></p>
<p>Para poder ejecutar el crontab, regularmente no es necesario hacer nada, mas que ejecutar cierto comando y ya estará funcionando, en la mayoría de distribuciones que he probado (ubuntu,open suse, debian, gentoo)regularmente esta por default, de todos modos si surgen dudas están los comentarios.</p>
<p>También debemos de revisar que para poder ejecutarlo nuestro nombre de usuario debe de aparecer en <span style="font-size: small; font-family: Times New Roman;">/usr/lib/cron/cron.allow, o en dado caso que no aparezcamos dentro de la lista </span><span style="font-size: small; font-family: Times New Roman;"> /usr/lib/cron/cron.deny.</span></p>
<div id="result_box" dir="ltr">Si sólo existe cron.deny  y está vacío, todos los usuarios pueden utilizar crontab. Si no el archivo existe, sólo el usuario root puede usar crontab. El permitir / denegar archivos constan de el nombre de usuario en cada línea.</div>
<div dir="ltr">Lo anterior no lo pude localizar correctamente en Open suse, de todos modos, utilicen en este caso acceso como root y se evitaran problemas.</div>
<div dir="ltr">Ahora para poder trabajar con el cron vamos a ver como podemos configurarlo o modificarlo.</div>
<div id="result_box" dir="ltr">Podemos usar <strong><em>linux-g5yh:/home # export EDITOR = vi</em></strong> para especificar un editor por default para editar el archivo del crontab, pueden usar<strong> pico, nano, etc</strong>, pero a mi me gusta mas el <strong>Vim o Vi</strong></div>
<div dir="ltr">Ahora usaremos los siguiente comandos dependiendo de lo que deseemos hacer</div>
<div dir="ltr"><em><strong>linux-g5yh:/home #crontab-e </strong></em> Con este comando podremos editar nuestro archivo crontab, si no existe dicho archivo se crea.<br />
<strong><em>linux-g5yh:/home #crontab-l </em></strong>Muestra el contenido del archivo crontab.<br />
<em><strong>linux-g5yh:/home #crontab-r</strong></em> Eliminar el archivo crontab(ejecutar esta instrucción con cuidado).<br />
<em><strong>linux-g5yh:/home #crontab-v</strong></em> Muestra la última vez que editó su archivo crontab. (Esta opción sólo está disponible en algunos sistemas.)</div>
<div dir="ltr">Ahora que ya sabemos como configurar el archivo del crontab, ahora veamos como podemos agregar tareas, a dicho archivo.</div>
<div dir="ltr">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</div>
<p><span style="font-size: small; font-family: Times New Roman;">*     *   *   *         *  comando_a_ejecutar<br />
-     -    -    -         -<br />
|     |     |          |     |<br />
|     |     |          |     +&#8212;&#8211; dia de la semana (0 &#8211; 6) (Domingo=0)<br />
|     |     |          +&#8212;&#8212;- mes(1 &#8211; 12)<br />
|     |     +&#8212;&#8212;&#8212; dia del mes      (1 &#8211; 31)<br />
|     +&#8212;&#8212;&#8212;&#8211; hora (0 &#8211; 23)<br />
+&#8212;&#8212;&#8212;&#8212;- minuto (0 &#8211; 59)</span></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Bajo el anterior criterio vamos a poner un cron job que se ejecute a las 10 de la noche, el cual solo reinicia el apache server</p>
<p><em><strong>linux-g5yh:/home #crontab-e</strong></em></p>
<p>* 10,20  *  *  * /etc/init.d/apache2 restart</p>
<p>:wq  //guardamos el archivo en el vi</p>
<p><em><strong>linux-g5yh:/home #</strong></em></p>
<p>Ahora un ejemplo un poco mas difícil,  bajar un respaldo a las 2:20 am y a las 2:20 pm, bajar un segundo respaldo 25 minutos después, ejecutar el script de los respaldos cada 30 minutos los viernes.</p>
<p><span id="more-1119"></span></p>
<p><em><strong>linux-g5yh:/home #crontab-e</strong></em></p>
<p>20 2,14  *  *  *  wget http://www.tudominio.com/logs/respaldo.backup</p>
<p>45 2,14  *  *  *  wget http://www.tudominio.com/logs/respaldo.backupSegundo</p>
<p>30 *  *  *  5  http://www.tudominio.com/generarrespaldos.php</p>
<p>:wq  //guardamos el archivo en el vi</p>
<p><em><strong>linux-g5yh:/home #</strong></em></p>
<p>Listo con esto creo que ya podemos empezar a trabajar con nuestro cronjob, y de paso como anotación para que no se me olvide, luego les pongo un manual de como usar el vi,</p>
<p>Fuente y más documentación en Ingles | <a href="http://www.adminschoice.com/docs/crontab.htm" target="_blank">Crontab &#8211; Quick reference</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxman.net/manual-usando-el-crontab-en-linux.html/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>[Tips] Los 10 trucos esenciales para los administradores de Linux</title>
		<link>http://www.ajaxman.net/tips-los-10-trucos-esenciales-para-los-administradores-de-linux.html</link>
		<comments>http://www.ajaxman.net/tips-los-10-trucos-esenciales-para-los-administradores-de-linux.html#comments</comments>
		<pubDate>Fri, 25 Jul 2008 22:20:14 +0000</pubDate>
		<dc:creator>Ajaxman</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programacion]]></category>
		<category><![CDATA[Recursos]]></category>
		<category><![CDATA[S.O.]]></category>
		<category><![CDATA[Servidores]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Trucos]]></category>

		<guid isPermaLink="false">http://www.ajaxman.net/?p=992</guid>
		<description><![CDATA[Ser administrador de sistemas Linux no es una tarea fácil, y aunque yo soy solo un usuario, y alguna vez, casi era administrador, se que es un proceso difícil. Además de que algunos que están acostumbrados a Windows, les costara trabajo, adaptarse a otro sistema, y pensar que hay que aprender a usar iptables, comandos [...]]]></description>
			<content:encoded><![CDATA[<p>Ser administrador de sistemas Linux no es una tarea fácil, y aunque yo soy solo un usuario, y alguna vez, casi era administrador, se que es un proceso difícil.</p>
<p>Además de que algunos que están acostumbrados a Windows, les costara trabajo, adaptarse a otro sistema, y pensar que hay que aprender a usar iptables, comandos de usuarios, configurar fuentes, etc, a veces se nos pueden pasar cosas elementales.</p>
<p>Pero como siempre lo he dicho Internet es una fuente enorme de conocimiento, y ahí podas encontrar casi todas tus respuestas a tus dudas, hoy IBM es la que nos hecha la mano.</p>
<p>Ya que han sacado, una lista con los 10 trucos esenciales para administradores de Linux, los trucos son los siguientes.</p>
<ol>
<li>Desmontando una unidad de DVD que no responde</li>
<li>Reparar la pantalla cuando se desbloquea(acepto correcciones de la traducción google no hace todo bien)</li>
<li>Colaboración en terminal o pantalla(lo mismo que la anterior)</li>
<li>Recuperar la contraseña de root(el truco mas valioso he importante)</li>
<li>Acceso SSH por puerta trasera</li>
<li>
<div id="result_box" dir="ltr">Sesiones VNC remotas a través de un túnel SSH</div>
</li>
<li>Revisando tu ancho de banda</li>
<li>Trucos de La linea de comandos (scripts y utilidades)</li>
<li>Espiando la consola</li>
<li>Recopilando información aleatoria de su sistema</li>
</ol>
<p>Como ven, estos trucos nos pueden ayudar mas de una vez, les pongo los textos en ingles para que me corrijan y vean realmente de que se trata.</p>
<ol>
<li>Unmounting the unresponsive DVD drive</li>
<li>Getting your screen back when it&#8217;s hosed</li>
<li>Collaboration with screen</li>
<li>Getting  back the root password</li>
<li>SSH back door</li>
<li>Remote  VNC session through an SSH tunnel</li>
<li>Checking your bandwidth</li>
<li>Command-line scripting and utilities</li>
<li>Spying on the console</li>
<li>Random system information collection</li>
</ol>
<p>Gracias a IBM, por echarnos la mano, prometo tomarlo en cuenta cuando sea sysadmin de Linux</p>
<p>Si buscan el contenido de los trucos, pueden visitar el link al sitio de IBM.</p>
<p><a href="http://www.ibm.com/developerworks/linux/library/l-10sysadtips/index.html?ca=drs-tp3008" target="_blank">Lazy Linux: 10 essential tricks for admins</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxman.net/tips-los-10-trucos-esenciales-para-los-administradores-de-linux.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[Manual] El archivo de configuracion del servidor Apache httpd.conf</title>
		<link>http://www.ajaxman.net/manual-el-archivo-de-configuracion-del-servidor-apache-httpdconf.html</link>
		<comments>http://www.ajaxman.net/manual-el-archivo-de-configuracion-del-servidor-apache-httpdconf.html#comments</comments>
		<pubDate>Fri, 11 Jul 2008 19:47:50 +0000</pubDate>
		<dc:creator>Ajaxman</dc:creator>
				<category><![CDATA[Ajaxman]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Manuales]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programacion]]></category>
		<category><![CDATA[Recursos]]></category>
		<category><![CDATA[Servidores]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Codigo]]></category>
		<category><![CDATA[httpd.conf]]></category>

		<guid isPermaLink="false">http://www.ajaxman.net/?p=938</guid>
		<description><![CDATA[Lamentablemente a pesar de que había empezado bien ha postear en este mes otra vez estoy dejándolo, y culpen de eso a meneame jaja y a microsiervos entre otros, no ya en serio, si que he tenido unos días complicados, pero bueno ya pasaran, por cierto en 3 meses exactamente me caso , luego les [...]]]></description>
			<content:encoded><![CDATA[<p>Lamentablemente a pesar de que había empezado bien ha postear en este mes otra vez estoy dejándolo, y culpen de eso a meneame jaja y a microsiervos entre otros, no ya en serio, si que he tenido unos días complicados, pero bueno ya pasaran, por cierto en 3 meses exactamente me caso , luego les platicare mas de esto.</p>
<p>Bien esto les platico por que he recibido un par de <a href="http://www.ajaxman.net/186/apache-manual-de-instalacion-y-configuracion-de-apache-con-windows/">comentarios </a>que me piden que postee mi archivo de configuracion de apache el httpd.conf, pero como les comente a veces me quedo sin tiempo, por eso en hoy en una escapada que me he dado les pondré mi archivo de configuracion httpd.conf, en su configuracion para Windows.</p>
<p>Les cuento brevemente donde esta regularmente y para que sirve o vamos en pocas palabras que es este archivo con este nombre tan raro para muchos.</p>
<p style="text-align: center;">
<img src="http://www.ajaxman.net/wp-content/uploads/2008/07/apache_display.png" alt="Apache" title="Apache" width="261" height="285" class="alignnone size-full wp-image-939" />
</p>
<p>Cuando instalamos apache en windows a mano, osea sin usar Wamp o appserver o algunas de esas cosas, si seguimos el manual que postee, aqui &#8220;<a href="http://www.ajaxman.net/186/apache-manual-de-instalacion-y-configuracion-de-apache-con-windows/">Manual de instalación y configuración de Apache, Php y MySQL</a>&#8220;, y se instala Apache por default en la carpeta: <strong>C:\Archivos de programa\Apache Software Foundation\Apache2.2\conf</strong> , se crear un archivo llamado httpd.conf, el cual guarda los parámetros de la configuracion global y completa de nuestro servidor apache, en Linux regularmente se guardaria en <strong>/etc/apache2/http.conf</strong>.</p>
<p>En dicho archivo podremos instalar modulos para que funcione php, cgi&#8217;s, compresion gzip, proxies, modrewrite (para reescribir urls y en vez de tener direcciones art.php?id=1,art.php?id=2 etc, se vea como articulos/vendemos_gatos_a_domicilio, articulos_renta_de_autos, etc), SSI (es i no es l), etc.</p>
<p>Tambien dentro de este archivo podremos configurar los mimetypes, con lo cual le decimos a apache como debe de interpretar ciertos tipos de archivos, asi como posibilidad usar vhosts, configurar rutas, email del administrador, bueno en pocas palabras casi todo, lo que queramos hacer con Apache lo podemos hacer desde este archivo, a continuación les posteo el archivo es un poco grande, solo remarcare y comentare los punto importantes.</p>
<p>Cabe destacar que si deseamos hacer un comentario desde nuestro httdp.conf podemos usar la el carácter de numero o de gato como se le conoce a este (#) y a continuación el comentario.</p>
<p><strong>Archivo httpd.conf</strong><br />
Lo puse en lo siguiente por que el archivo es muy grande y deformaria mucho la pagina de inicio, <img src='http://www.ajaxman.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><span id="more-938"></span></p>
<p>[Php]</p>
<p>#<br />
# This is the main Apache HTTP server configuration file.  It contains the<br />
# configuration directives that give the server its instructions.<br />
# See  for detailed information.<br />
# In particular, see<br />
#<br />
# for a discussion of each configuration directive.<br />
#<br />
# Do NOT simply read the instructions in here without understanding<br />
# what they do.  They&#8217;re here only as hints or reminders.  If you are unsure<br />
# consult the online docs. You have been warned.<br />
#<br />
# Configuration and logfile names: If the filenames you specify for many<br />
# of the server&#8217;s control files begin with &#8220;/&#8221; (or &#8220;drive:/&#8221; for Win32), the<br />
# server will use that explicit path.  If the filenames do *not* begin<br />
# with &#8220;/&#8221;, the value of ServerRoot is prepended &#8212; so &#8220;logs/foo.log&#8221;<br />
# with ServerRoot set to &#8220;C:/Archivos de programa/Apache Software Foundation/Apache2.2&#8243; will be interpreted by the<br />
# server as &#8220;C:/Archivos de programa/Apache Software Foundation/Apache2.2/logs/foo.log&#8221;.<br />
#<br />
# NOTE: Where filenames are specified, you must use forward slashes<br />
# instead of backslashes (e.g., &#8220;c:/apache&#8221; instead of &#8220;c:\apache&#8221;).<br />
# If a drive letter is omitted, the drive on which Apache.exe is located<br />
# will be used by default.  It is recommended that you always supply<br />
# an explicit drive letter in absolute paths to avoid confusion.</p>
<p>#<br />
# ServerRoot: The top of the directory tree under which the server&#8217;s<br />
# configuration, error, and log files are kept.<br />
#<br />
# Do not add a slash at the end of the directory path.  If you point<br />
# ServerRoot at a non-local disk, be sure to point the LockFile directive<br />
# at a local disk.  If you wish to share the same ServerRoot for multiple<br />
# httpd daemons, you will need to change at least LockFile and PidFile.<br />
#<br />
ServerRoot &#8220;C:/Archivos de programa/Apache Software Foundation/Apache2.2&#8243;</p>
<p>#<br />
# Listen: Allows you to bind Apache to specific IP addresses and/or<br />
# ports, instead of the default. See also the<br />
# directive.<br />
#<br />
# Change this to Listen on specific IP addresses as shown below to<br />
# prevent Apache from glomming onto all bound IP addresses.<br />
#<br />
#Listen 12.34.56.78:80<br />
#Puerto que usara Apache<br />
Listen 80</p>
<p>#<br />
# Dynamic Shared Object (DSO) Support<br />
#<br />
# To be able to use the functionality of a module which was built as a DSO you<br />
# have to place corresponding `LoadModule&#8217; lines at this location so the<br />
# directives contained in it are actually available _before_ they are used.<br />
# Statically compiled modules (those listed by `httpd -l&#8217;) do not need<br />
# to be loaded here.<br />
#<br />
# Example:<br />
# LoadModule foo_module modules/mod_foo.so<br />
#<br />
#Modulos, en este caso es lo que usara para extender funcionalidades como por ejemplo ejecutar PHP<br />
#<br />
LoadModule actions_module modules/mod_actions.so<br />
LoadModule alias_module modules/mod_alias.so<br />
LoadModule asis_module modules/mod_asis.so<br />
LoadModule auth_basic_module modules/mod_auth_basic.so<br />
#LoadModule auth_digest_module modules/mod_auth_digest.so<br />
#LoadModule authn_alias_module modules/mod_authn_alias.so<br />
#LoadModule authn_anon_module modules/mod_authn_anon.so<br />
#LoadModule authn_dbd_module modules/mod_authn_dbd.so<br />
#LoadModule authn_dbm_module modules/mod_authn_dbm.so<br />
LoadModule authn_default_module modules/mod_authn_default.so<br />
LoadModule authn_file_module modules/mod_authn_file.so<br />
#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so<br />
#LoadModule authz_dbm_module modules/mod_authz_dbm.so<br />
LoadModule authz_default_module modules/mod_authz_default.so<br />
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so<br />
LoadModule authz_host_module modules/mod_authz_host.so<br />
#LoadModule authz_owner_module modules/mod_authz_owner.so<br />
LoadModule authz_user_module modules/mod_authz_user.so<br />
LoadModule autoindex_module modules/mod_autoindex.so<br />
#LoadModule cache_module modules/mod_cache.so<br />
#LoadModule cern_meta_module modules/mod_cern_meta.so<br />
LoadModule cgi_module modules/mod_cgi.so<br />
#LoadModule charset_lite_module modules/mod_charset_lite.so<br />
#LoadModule dav_module modules/mod_dav.so<br />
#LoadModule dav_fs_module modules/mod_dav_fs.so<br />
#LoadModule dav_lock_module modules/mod_dav_lock.so<br />
#LoadModule dbd_module modules/mod_dbd.so<br />
#LoadModule deflate_module modules/mod_deflate.so<br />
LoadModule dir_module modules/mod_dir.so<br />
#LoadModule disk_cache_module modules/mod_disk_cache.so<br />
#LoadModule dumpio_module modules/mod_dumpio.so<br />
LoadModule env_module modules/mod_env.so<br />
#LoadModule expires_module modules/mod_expires.so<br />
#LoadModule ext_filter_module modules/mod_ext_filter.so<br />
#LoadModule file_cache_module modules/mod_file_cache.so<br />
#LoadModule filter_module modules/mod_filter.so<br />
#LoadModule headers_module modules/mod_headers.so<br />
#LoadModule ident_module modules/mod_ident.so<br />
#LoadModule imagemap_module modules/mod_imagemap.so<br />
LoadModule include_module modules/mod_include.so<br />
#LoadModule info_module modules/mod_info.so<br />
LoadModule isapi_module modules/mod_isapi.so<br />
#LoadModule ldap_module modules/mod_ldap.so<br />
#LoadModule logio_module modules/mod_logio.so<br />
LoadModule log_config_module modules/mod_log_config.so<br />
#LoadModule log_forensic_module modules/mod_log_forensic.so<br />
#LoadModule mem_cache_module modules/mod_mem_cache.so<br />
LoadModule mime_module modules/mod_mime.so<br />
#LoadModule mime_magic_module modules/mod_mime_magic.so<br />
LoadModule negotiation_module modules/mod_negotiation.so<br />
#LoadModule proxy_module modules/mod_proxy.so<br />
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so<br />
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so<br />
#LoadModule proxy_connect_module modules/mod_proxy_connect.so<br />
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so<br />
#LoadModule proxy_http_module modules/mod_proxy_http.so<br />
#LoadModule rewrite_module modules/mod_rewrite.so<br />
LoadModule setenvif_module modules/mod_setenvif.so<br />
#LoadModule speling_module modules/mod_speling.so<br />
#LoadModule ssl_module modules/mod_ssl.so<br />
#LoadModule status_module modules/mod_status.so<br />
#LoadModule substitute_module modules/mod_substitute.so<br />
#LoadModule unique_id_module modules/mod_unique_id.so<br />
#LoadModule userdir_module modules/mod_userdir.so<br />
#LoadModule usertrack_module modules/mod_usertrack.so<br />
#LoadModule version_module modules/mod_version.so<br />
#LoadModule vhost_alias_module modules/mod_vhost_alias.so</p>
<p>#Configuracion PHp 5<br />
#Esta configuracion la agrege yo, puse las rutas de el dll de php agrege el tipo de aplicacion y donde esta el phpinidir<br />
#<br />
LoadModule php5_module &#8220;C:/PHP/php5apache2_2.dll&#8221;<br />
AddType application/x-httpd-php .php<br />
PHPIniDir &#8220;C:/PHP&#8221;</p>
<p><ifmodule !mpm_netware_module><br />
</ifmodule><ifmodule !mpm_winnt_module><br />
#<br />
# If you wish httpd to run as a different user or group, you must run<br />
# httpd as root initially and it will switch.<br />
#<br />
# User/Group: The name (or #number) of the user/group to run httpd as.<br />
# It is usually good practice to create a dedicated user and group for<br />
# running httpd, as with most system services.<br />
#<br />
User daemon<br />
Group daemon<br />
</ifmodule></p>
<p># &#8216;Main&#8217; server configuration<br />
#<br />
# The directives in this section set up the values used by the &#8216;main&#8217;<br />
# server, which responds to any requests that aren&#8217;t handled by a<br />
#  definition.  These values also provide defaults for<br />
# any  containers you may define later in the file.<br />
#<br />
# All of these directives may appear inside  containers,<br />
# in which case these default settings will be overridden for the<br />
# virtual host being defined.<br />
#</p>
<p>#<br />
# ServerAdmin: Your address, where problems with the server should be<br />
# e-mailed.  This address appears on some server-generated pages, such<br />
# as error documents.  e.g. admin@your-domain.com<br />
#<br />
# Aqui es donde podremos elejir el mail que queramos mostrar por si no aparece una pagina, o el mail del administrador de nuestro sitio<br />
# como veran yo use un mail ficticio para eviar el spam<br />
#</p>
<p>ServerAdmin admin@localhost.com.mx</p>
<p>#<br />
# ServerName gives the name and port that the server uses to identify itself.<br />
# This can often be determined automatically, but we recommend you specify<br />
# it explicitly to prevent problems during startup.<br />
#<br />
# If your host doesn&#8217;t have a registered DNS name, enter its IP address here.<br />
#<br />
#ServerName localhost:80</p>
<p>#<br />
# DocumentRoot: The directory out of which you will serve your<br />
# documents. By default, all requests are taken from this directory, but<br />
# symbolic links and aliases may be used to point to other locations.<br />
#<br />
#<br />
# Esta es la carpeta donde estaran nuestros scripts o nuestras paginas HTML, como los script php<br />
# Esta ruta puede ser cambiada por ejemplo a DocumentRoot &#8220;D:/Htdocs&#8221;, por ejemplo<br />
#<br />
DocumentRoot &#8220;C:/Archivos de programa/Apache Software Foundation/Apache2.2/htdocs&#8221;</p>
<p>#<br />
# Each directory to which Apache has access can be configured with respect<br />
# to which services and features are allowed and/or disabled in that<br />
# directory (and its subdirectories).<br />
#<br />
# First, we configure the &#8220;default&#8221; to be a very restrictive set of<br />
# features.<br />
#</p>
<p><directory /><br />
    Options FollowSymLinks<br />
    AllowOverride None<br />
    Order deny,allow<br />
    #Deny from all</p>
<p>#<br />
# Note that from this point forward you must specifically allow<br />
# particular features to be enabled &#8211; so if something&#8217;s not working as<br />
# you might expect, make sure that you have specifically enabled it<br />
# below.<br />
#</p>
<p>#<br />
# This should be changed to whatever you set DocumentRoot to.<br />
#Lo mismo que el anterior es el directorio donde estaran nuestros scripts, y lo pueden configurar  a su gusto simplemente cambien la ruta<br />
# como en el anterior<br />
<directory "C:/Archivos de programa/Apache Software Foundation/Apache2.2/htdocs"><br />
#<br />
# Possible values for the Options directive are &#8220;None&#8221;, &#8220;All&#8221;,<br />
# or any combination of:<br />
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews<br />
#<br />
# Note that &#8220;MultiViews&#8221; must be named *explicitly* &#8212; &#8220;Options All&#8221;<br />
# doesn&#8217;t give it to you.<br />
#<br />
# The Options directive is both complicated and important.  Please see<br />
# http://httpd.apache.org/docs/2.2/mod/core.html#options<br />
# for more information.<br />
#<br />
Options Indexes FollowSymLinks</p>
<p>#<br />
# AllowOverride controls what directives may be placed in .htaccess files.<br />
# It can be &#8220;All&#8221;, &#8220;None&#8221;, or any combination of the keywords:<br />
#   Options FileInfo AuthConfig Limit<br />
#<br />
AllowOverride None</p>
<p>#<br />
# Controls who can get stuff from this server.<br />
#<br />
#Order allow,deny<br />
Allow from all<br />
</directory></p>
<p>#<br />
# DirectoryIndex: sets the file that Apache will serve if a directory<br />
# is requested.<br />
# Aqui es donde agregaran que tipo de archivos aceptan como inicio en el directorio.<br />
# este archivo es el que mostrara apache por default cuando se accede a dicho directorio<br />
# y pueden ser varios, como en este ejemplo, ya que si no encuentra uno, buscara el segundo y el que sigue asi sucesivamente<br />
# en este caso busca index.php y si no esta buscara index.html, y si no hay mostrara el contenido de la carpeta, por lo cual les recomiendo<br />
#ampliamente que siempre creen uno de estos ya que se ve el contenido de la carpeta puede resultar preligroso<br />
#</p>
<p><ifmodule dir_module><br />
    DirectoryIndex index.php index.html<br />
</ifmodule></p>
<p>#<br />
# The following lines prevent .htaccess and .htpasswd files from being<br />
# viewed by Web clients.<br />
#</p>
<p><filesmatch "^\.ht"><br />
    Order allow,deny<br />
    Deny from all<br />
    Satisfy All<br />
</filesmatch></p>
<p>#<br />
# ErrorLog: The location of the error log file.<br />
# If you do not specify an ErrorLog directive within a<br />
# container, error messages relating to that virtual host will be<br />
# logged here.  If you *do* define an error logfile for a<br />
# container, that host&#8217;s errors will be logged there and not here.<br />
# Aqui es donde se guarda un registro de los errores que se generaron, al intentar acceder a un archivo, ojo esto no muestra errores php<br />
# o de  otro tipo solo son errores de acceso<br />
#<br />
ErrorLog &#8220;logs/error.log&#8221;</p>
<p>#<br />
# LogLevel: Control the number of messages logged to the error_log.<br />
# Possible values include: debug, info, notice, warn, error, crit,<br />
# alert, emerg.<br />
#<br />
LogLevel warn<br />
<ifmodule log_config_module><br />
#<br />
# The following directives define some format nicknames for use with<br />
# a CustomLog directive (see below).<br />
#<br />
LogFormat &#8220;%h %l %u %t \&#8221;%r\&#8221; %&gt;s %b \&#8221;%{Referer}i\&#8221; \&#8221;%{User-Agent}i\&#8221;" combined<br />
LogFormat &#8220;%h %l %u %t \&#8221;%r\&#8221; %&gt;s %b&#8221; common<br />
 </ifmodule><ifmodule logio_module><br />
      # You need to enable mod_logio.c to use %I and %O<br />
      LogFormat &#8220;%h %l %u %t \&#8221;%r\&#8221; %>s %b \&#8221;%{Referer}i\&#8221; \&#8221;%{User-Agent}i\&#8221; %I %O&#8221; combinedio<br />
    </ifmodule><br />
#<br />
# The location and format of the access logfile (Common Logfile Format).<br />
# If you do not define any access logfiles within a<br />
# container, they will be logged here.  Contrariwise, if you *do*<br />
# define per- access logfiles, transactions will be<br />
# logged therein and *not* in this file.<br />
# En este archivo se guarda un registro de todos los que accedieron a tus paginas y archivos, es muy util para la seguridad y<br />
# para contabilizar las visitas Awstats lo usa<br />
#<br />
CustomLog &#8220;logs/access.log&#8221; common</p>
<p>#<br />
# If you prefer a logfile with access, agent, and referer information<br />
# (Combined Logfile Format) you can use the following directive.<br />
#<br />
#CustomLog &#8220;logs/access.log&#8221; combined</p>
<p><ifmodule alias_module><br />
#<br />
# Redirect: Allows you to tell clients about documents that used to<br />
# exist in your server&#8217;s namespace, but do not anymore. The client<br />
# will make a new request for the document at its new location.<br />
# Example:<br />
# Redirect permanent /foo http://localhost/bar</p>
<p>#<br />
# Alias: Maps web paths into filesystem paths and is used to<br />
# access content that does not live under the DocumentRoot.<br />
# Example:<br />
# Alias /webpath /full/filesystem/path<br />
#<br />
# If you include a trailing / on /webpath then the server will<br />
# require it to be present in the URL.  You will also likely<br />
# need to provide a  section to allow access to<br />
# the filesystem path.</p>
<p>#<br />
# ScriptAlias: This controls which directories contain server scripts.<br />
# ScriptAliases are essentially the same as Aliases, except that<br />
# documents in the target directory are treated as applications and<br />
# run by the server when requested rather than as documents sent to the<br />
# client.  The same rules about trailing &#8220;/&#8221; apply to ScriptAlias<br />
# directives as to Alias.<br />
#<br />
ScriptAlias /cgi-bin/ &#8220;C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin/&#8221;<br />
</ifmodule></p>
<p><ifmodule cgid_module><br />
    #<br />
    # ScriptSock: On threaded servers, designate the path to the UNIX<br />
    # socket used to communicate with the CGI daemon of mod_cgid.<br />
    #<br />
    #Scriptsock logs/cgisock<br />
</ifmodule><br />
#<br />
# &#8220;C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin&#8221; should be changed to whatever your ScriptAliased<br />
# CGI directory exists, if you have that configured.<br />
#<br />
<directory "C:/Archivos de programa/Apache Software Foundation/Apache2.2/cgi-bin"><br />
    AllowOverride None<br />
    Options None<br />
    Order allow,deny<br />
    Allow from all<br />
</directory><br />
#<br />
# DefaultType: the default MIME type the server will use for a document<br />
# if it cannot otherwise determine one, such as from filename extensions.<br />
# If your server contains mostly text or HTML documents, &#8220;text/plain&#8221; is<br />
# a good value.  If most of your content is binary, such as applications<br />
# or images, you may want to use &#8220;application/octet-stream&#8221; instead to<br />
# keep browsers from trying to display binary files as though they are<br />
# text.<br />
#<br />
DefaultType text/plain</p>
<p><ifmodule mime_module><br />
    #<br />
    # TypesConfig points to the file containing the list of mappings from<br />
    # filename extension to MIME-type.<br />
    #<br />
    TypesConfig conf/mime.types</p>
<p>    #<br />
    # AddType allows you to add to or override the MIME configuration<br />
    # file specified in TypesConfig for specific file types.<br />
    #<br />
    #AddType application/x-gzip .tgz<br />
    #<br />
    # AddEncoding allows you to have certain browsers uncompress<br />
    # information on the fly. Note: Not all browsers support this.<br />
    #<br />
    #AddEncoding x-compress .Z<br />
    #AddEncoding x-gzip .gz .tgz<br />
    #<br />
    # If the AddEncoding directives above are commented-out, then you<br />
    # probably should define those extensions to indicate media types:<br />
    #<br />
    AddType application/x-compress .Z<br />
    AddType application/x-gzip .gz .tgz</p>
<p>    #<br />
    # AddHandler allows you to map certain file extensions to &#8220;handlers&#8221;:<br />
    # actions unrelated to filetype. These can be either built into the server<br />
    # or added with the Action directive (see below)<br />
    #<br />
    # To use CGI scripts outside of ScriptAliased directories:<br />
    # (You will also need to add &#8220;ExecCGI&#8221; to the &#8220;Options&#8221; directive.)<br />
    #<br />
    #AddHandler cgi-script .cgi</p>
<p>    # For type maps (negotiated resources):<br />
    #AddHandler type-map var</p>
<p>    #<br />
    # Filters allow you to process content before it is sent to the client.<br />
    #<br />
    # To parse .shtml files for server-side includes (SSI):<br />
    # (You will also need to add &#8220;Includes&#8221; to the &#8220;Options&#8221; directive.)<br />
    #<br />
    #AddType text/html .shtml<br />
    #AddOutputFilter INCLUDES .shtml<br />
</ifmodule></p>
<p>#<br />
# The mod_mime_magic module allows the server to use various hints from the<br />
# contents of the file itself to determine its type.  The MIMEMagicFile<br />
# directive tells the module where the hint definitions are located.<br />
#<br />
#MIMEMagicFile conf/magic</p>
<p>#<br />
# Customizable error responses come in three flavors:<br />
# 1) plain text 2) local redirects 3) external redirects<br />
#<br />
# Some examples:<br />
#ErrorDocument 500 &#8220;The server made a boo boo.&#8221;<br />
#ErrorDocument 404 /missing.html<br />
#ErrorDocument 404 &#8220;/cgi-bin/missing_handler.pl&#8221;<br />
#ErrorDocument 402 http://localhost/subscription_info.html<br />
#</p>
<p>#<br />
# EnableMMAP and EnableSendfile: On systems that support it,<br />
# memory-mapping or the sendfile syscall is used to deliver<br />
# files.  This usually improves server performance, but must<br />
# be turned off when serving from networked-mounted<br />
# filesystems or if support for these functions is otherwise<br />
# broken on your system.<br />
#<br />
#EnableMMAP off<br />
#EnableSendfile off</p>
<p># Supplemental configuration<br />
#<br />
# The configuration files in the conf/extra/ directory can be<br />
# included to add extra features or to modify the default configuration of<br />
# the server, or you may simply copy their contents here and change as<br />
# necessary.</p>
<p># Server-pool management (MPM specific)<br />
#Include conf/extra/httpd-mpm.conf</p>
<p># Multi-language error messages<br />
#Include conf/extra/httpd-multilang-errordoc.conf</p>
<p># Fancy directory listings<br />
#Include conf/extra/httpd-autoindex.conf</p>
<p># Language settings<br />
#Include conf/extra/httpd-languages.conf</p>
<p># User home directories<br />
#Include conf/extra/httpd-userdir.conf</p>
<p># Real-time info on requests and configuration<br />
#Include conf/extra/httpd-info.conf</p>
<p># Virtual hosts<br />
#Include conf/extra/httpd-vhosts.conf</p>
<p># Local access to the Apache HTTP Server Manual<br />
#Include conf/extra/httpd-manual.conf</p>
<p># Distributed authoring and versioning (WebDAV)<br />
#Include conf/extra/httpd-dav.conf</p>
<p># Various default settings<br />
#Include conf/extra/httpd-default.conf</p>
<p># Secure (SSL/TLS) connections<br />
#Include conf/extra/httpd-ssl.conf<br />
#<br />
# Note: The following must must be present to support<br />
#       starting without SSL on platforms with no /dev/random equivalent<br />
#       but a statically compiled-in mod_ssl.<br />
#<br />
<ifmodule ssl_module><br />
SSLRandomSeed startup builtin<br />
SSLRandomSeed connect builtin<br />
</ifmodule><br />
[/Php]</p>
<p>Un poco extenso pero espero que les haya sido útil, sugerencias y preguntas, en los comentarios</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxman.net/manual-el-archivo-de-configuracion-del-servidor-apache-httpdconf.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[Video] Ejemplo de funcionamiento de Jaxer</title>
		<link>http://www.ajaxman.net/video-ejemplo-de-funcionamiento-de-jaxer.html</link>
		<comments>http://www.ajaxman.net/video-ejemplo-de-funcionamiento-de-jaxer.html#comments</comments>
		<pubDate>Fri, 25 Jan 2008 16:21:31 +0000</pubDate>
		<dc:creator>Ajaxman</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Ajaxman]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jaxer]]></category>
		<category><![CDATA[Programacion]]></category>
		<category><![CDATA[Servidores]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://www.ajaxman.net/548/video-ejemplo-de-funcionamiento-de-jaxer/</guid>
		<description><![CDATA[¿Saben quien es Dion Almer? Es uno de los fuindadores de Ajaxian.com, sin duda uno de los sitios mas importantes en el mundo Ajax, pues el creo un video para que veamos la funcionalidad y las grandes ventajas de Jaxer, el video esta en ingles, pero como simplemente muestra el codigo, es sumaamnete facil de [...]]]></description>
			<content:encoded><![CDATA[<p>¿Saben quien es Dion Almer?</p>
<p>Es uno de los fuindadores de <strong><a href="http://www.ajaxian.com">Ajaxian.com</a></strong>, sin duda uno de los sitios mas importantes en el mundo <a href="http://www.ajaxman.net/category/ajax/">Ajax</a>, pues el creo un video para que veamos la funcionalidad y las grandes ventajas de <a href="http://www.ajaxman.net/category/jaxer/">Jaxer</a>, el video esta en ingles, pero como simplemente muestra el codigo, es sumaamnete facil de entender, en este video nos muestra como hacer un proxy para tener Twitter en nuestro localhost.</p>
<p><a href="http://www.ajaxman.net/video-ejemplo-de-funcionamiento-de-jaxer.html"><em>Pinche aquí para ver el vídeo</em></a></p>
<p>chequen el video y veran hasta donde puede llegar <a href="http://www.ajaxman.net/category/javascript/">Javascript</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxman.net/video-ejemplo-de-funcionamiento-de-jaxer.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Ajax] Jaxer, ejecutando Ajax y Javascript en el servidor</title>
		<link>http://www.ajaxman.net/ajax-jaxer-ejecutando-ajax-y-javascript-en-el-servidor.html</link>
		<comments>http://www.ajaxman.net/ajax-jaxer-ejecutando-ajax-y-javascript-en-el-servidor.html#comments</comments>
		<pubDate>Fri, 25 Jan 2008 06:05:20 +0000</pubDate>
		<dc:creator>Ajaxman</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Ajaxman]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jaxer]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Noticias]]></category>
		<category><![CDATA[Programacion]]></category>
		<category><![CDATA[Recursos]]></category>
		<category><![CDATA[Servidores]]></category>

		<guid isPermaLink="false">http://www.ajaxman.net/543/ajax-jaxer-ejecutando-ajax-y-javascript-en-el-servidor/</guid>
		<description><![CDATA[En muchos blogs, he escuchado hablar sobre Jaxer, asi que, como sabran que me encanta programar en Javascript, les voy a platicar si es que no se han enterado sobre Jaxer. ¿Que demonios es Jaxer? Jaxer es un servidor ajax el cual nos permitira ejecutar aplicaciones Javascript dentro del servidor (Server-Side), este servidor fue creado [...]]]></description>
			<content:encoded><![CDATA[<p>En muchos blogs, he escuchado hablar sobre <strong>Jaxer</strong>, asi que, como sabran que me encanta programar en <a href="http://www.ajaxman.net/tag/javascript/">Javascript</a>, les voy a platicar si es que no se han enterado sobre Jaxer.</p>
<p><img src="http://www.ajaxman.net/wp-content/uploads/2008/01/aptana-jaxer.png" alt="Jaxer Javascript web server" /></p>
<p><strong>¿Que demonios es Jaxer?</strong><br />
Jaxer es un servidor ajax el cual nos permitira ejecutar aplicaciones Javascript dentro del servidor (Server-Side), este servidor fue creado por los mismos desarrolladores de el IDE Aptana.</p>
<p>¿Y de que nos sirve ejecutar <a href="http://www.ajaxman.net/tag/javascript/">Javascript </a>en el servidor?</p>
<p>Bueno, recordemos que hace años Javascript era un lenguaje, que practicamente estaba por desaparecer, y solo servia para la validacion de formularios, sin embargo gracias a la llegada de Ajax, el mundo cambio la forma de ver a <a href="http://www.ajaxman.net/tag/javascript/">Javascript</a>, como una herramienta extra a verlo de forma necesaria e implementar nuevas soluciones con esta valiosisima herramienta.</p>
<p>Imaginemos entonces, cuanto a crecido el mundo <a href="http://www.ajaxman.net/tag/ajax/">Ajax</a>-<a href="http://www.ajaxman.net/tag/javascript/">Javascript</a>, tanto que hoy en dia podemos encontrar juegos desarrollados con este lenguaje(precarios pero algo es algo), animaciones, librerias, Frameworks, he inclusive hasta sistemas que emulan ser un verdadero Sistema Operativo(WEB &#8211; OS).</p>
<p>Lo mas avanzado sin duda que hemos visto ultimamente desarrollado con Javascript ha sido la implementacion de Ajax, Desarrollo de Juegos, Web-Os, Paginas Offline que se almacenan en una base de datos embedida(<a href="http://gears.google.com/">Google Gears)</a>, etc.</p>
<p>Entonces si Javascript ha crecido tanto en tan poco tiempo, imaginemos que pasaria si se ejecutara en el servidor, sin duda las posibilidades serian muchas.</p>
<p>Bueno ya sabemos para que es, que es y sus ventajas(creo), ahora vayamos a ver como funciona.</p>
<p><strong>Jaxter trabaja como un servidor el cual esta implementado bajo Apache Web Server.</strong></p>
<p>Lo primero que haremos sera ir a bajar el servidor web Jaxer en la siguiente direccion Web <a href="http://www.aptana.com/jaxer/">http://www.aptana.com/jaxer/</a>, y lo bajamos a nuestro equipo.</p>
<p>Nota: Existen versiones para descargar tanto en Windows, Linux  y Mac.</p>
<p>Una vez descargado lo descomprimimos, y ya que lo hemos descomprimido ejecutamos el archivo  <strong>configure FireWall.exe</strong>, para que nos permita configurar el puerto donde vamos a correr nuestro servidor, que por default correra en el puerto 8081.</p>
<p><img src="http://www.ajaxman.net/wp-content/uploads/2008/01/configure-firewall-aptana-jaxter.PNG" alt="" /></p>
<p>Ahora ejecutamos, el archivo (en caso de windows) <strong>StartServers.bat</strong> el cual (para los curiosos) contiene lo siguiente.<br />
<span id="more-543"></span></p>
<pre class="brush: java; title: ; notranslate">
@echo off

rem
rem This batch file is part of the Windows portable Jaxer package.
rem It launches JaxerManager and, if present, the Apache web server.
rem If you create a Windows shortcut to this file, be sure the shortcut
rem has its &quot;Start in&quot; value set to the folder containing this file.
rem
rem
set JAXER_APACHE_PORT=8081
rem Note: MySQL is neither packaged nor started by default
set JAXER_MYSQL_PORT=4417
set JAXER_WEB_PORT=5370
set JAXER_COMMAND_PORT=5371
set JAXER_MIN_PROCESSES=3
set JAXER_MAX_PROCESSES=10
set NO_JAXER_SPLASH=1
set JAXER_LOGFILE=file://%CD%\logs\jaxer.log
set JAXER_TEMP=file://%CD%\temp
set ANCHOR=%~sp0
cd %ANCHOR%

if &quot;%~1&quot;==&quot;&quot; goto start_all
if &quot;%~1&quot;==&quot;start&quot; goto start_all
if &quot;%~1&quot;==&quot;stop&quot; goto stop_all
goto show_usage

:start_all
title Start Jaxer
if not exist data   mkdir data
if not exist temp	mkdir temp
if not exist public mkdir public
if exist public\favicon.ico goto redirect
if exist jaxer\default_public\favicon.ico copy jaxer\default_public\favicon.ico public\favicon.ico 1&gt; nul
:redirect
if exist public\index.html.redirect goto logs
if exist jaxer\default_public\index.html.redirect copy jaxer\default_public\index.html.redirect public\index.html.redirect 1&gt; nul
:logs
if not exist logs   mkdir logs
if not exist local_jaxer mkdir local_jaxer
if not exist local_jaxer\conf mkdir local_jaxer\conf
if exist local_jaxer\conf\config.js goto configlog
if exist jaxer\default_local_jaxer\conf\config.js copy jaxer\default_local_jaxer\conf\config.js local_jaxer\conf\config.js 1&gt; nul
:configlog
if exist local_jaxer\conf\configLog.js goto routes
if exist jaxer\default_local_jaxer\conf\configLog.js copy jaxer\default_local_jaxer\conf\configLog.js local_jaxer\conf\configLog.js 1&gt; nul
:routes
if exist local_jaxer\conf\configRoutes.js goto extensions
if exist jaxer\default_local_jaxer\conf\configRoutes.js copy jaxer\default_local_jaxer\conf\configRoutes.js local_jaxer\conf\configRoutes.js 1&gt; nul
:extensions
if not exist local_jaxer\extensions mkdir local_jaxer\extensions
if not exist mysql\bin\mysqld.exe goto start_apache
:init_mysql
if exist data\mysql goto start_mysql
echo  ___________________________________________
echo ^|                                           ^|
echo ^| This is the first use of this MySQL...    ^|
echo ^|                                           ^|
echo ^| Creating the data directory               ^|
echo ^|___________________________________________^|
echo.
mkdir data\mysql
xcopy mysql\data_blank data /s
:start_mysql
echo  _____________________________________
echo ^|                                     ^|
echo ^| Starting MySQL...                   ^|
echo ^|_____________________________________^|
echo.
start /b mysql\bin\mysqld --no-defaults --port=%JAXER_MYSQL_PORT% --standalone --console --datadir=&quot;%ANCHOR%/data&quot; --log-error=logs/mysql_error.log 1&gt; nul
:start_apache
if not exist Apache22\bin\httpd.exe goto show_jaxermanager_only
echo  _____________________________________
echo ^|                                     ^|
echo ^| Starting JaxerManager and Apache... ^|
echo ^|_____________________________________^|
echo.
start /b Apache22\bin\httpd
echo.
goto start_jaxermanager
:show_jaxermanager_only
echo  _____________________________________
echo ^|                                     ^|
echo ^| Starting JaxerManager...            ^|
echo ^|_____________________________________^|
echo.
:start_jaxermanager
cd jaxer
start /b StartJaxer.bat start 1&gt; nul
cd ..
if not exist Apache22\bin\httpd.exe goto ready
echo  ^*^*^* BROWSE TO HERE: ^-^-^&gt;  http://localhost:%JAXER_APACHE_PORT%/aptana/
echo.
:ready
if not &quot;%~1&quot;==&quot;&quot; goto done
echo  _____________________________________
echo ^|                                     ^|
echo ^| Hit any key to stop and exit        ^|
echo ^|_____________________________________^|
echo.
pause &gt; nul

:stop_all
if not exist mysql\bin\mysqladmin.exe goto stop_apache
mysql\bin\mysqladmin --port=%JAXER_MYSQL_PORT% -u root shutdown
:stop_apache
if not exist Apache22\bin\httpd.exe goto stop_jaxer
taskkill /f /im httpd.exe
:stop_jaxer
cd jaxer
start /b StartJaxer.bat exit
cd ..
if not &quot;%~1&quot;==&quot;&quot; goto done
exit

:show_usage
title Usage
echo.
echo usage: StartServers [start^|stop]

:done
</pre>
<p>Como vemos desde este archivo podemos configurar los servidores que deseamos instalar asi como tambien, se puede especificar los puertos a usar y/o servicios.</p>
<p><img src="http://www.ajaxman.net/wp-content/uploads/2008/01/jaxter-server-start.PNG" alt="" /></p>
<p>Y por ultimo para ver el servidor en funcionamiento, deberemos abrir la siguiente direccion en nuestro navegador <strong><a href="http://localhost:8081/aptana/">http://localhost:8081/aptana/</a>/strong&gt;</strong></p>
<p><strong><img src="http://www.ajaxman.net/wp-content/uploads/2008/01/aptana-jaxer_server.png" alt="" /></strong></p>
<p><strong>Ahi veremos ejemplos como una chat, entre otros,  los cuales estan dentro de la carpeta *NUESTRO_PATH/Aptana Jaxer/jaxer/aptana/samples, en donde NUESTRO_PATH es la carpeta </strong><strong>Jaxer_package_withApache</strong> donde descomprimimos nuestro servidor.</p>
<p>Pueden ver y jugar con estos ejemplos para ver cuantas cosas podemos aprender, con esta pequeña introduccion hemos visto que Javascript tiene uan gran potencial actual y futuro en el desarrollo de aplicaciones Web.</p>
<p>Basado en el articulo de <a href="http://ejohn.org/blog/server-side-javascript-with-jaxer/">Jhon Resig &#8211;  Server-Side JavaScript with Jaxer(ing)</a><br />
Y de Andres Nieto | <a href="http://www.anieto2k.com/2008/01/23/javascript-en-el-servidor-con-jaxer/">Javascript en el servidor con Jaxer</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxman.net/ajax-jaxer-ejecutando-ajax-y-javascript-en-el-servidor.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Codigos de respuestas de servidores</title>
		<link>http://www.ajaxman.net/codigos-de-respuestas-de-servidores.html</link>
		<comments>http://www.ajaxman.net/codigos-de-respuestas-de-servidores.html#comments</comments>
		<pubDate>Mon, 01 Oct 2007 20:29:01 +0000</pubDate>
		<dc:creator>Ajaxman</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Recursos]]></category>
		<category><![CDATA[Servidores]]></category>

		<guid isPermaLink="false">http://www.ajaxman.net/293/codigos-de-respuestas-de-servidores/</guid>
		<description><![CDATA[Cuando estaba checando ajax por primera vez haa aquellos tiempos, vi que para checar que la pagina se había recibido con éxito, se esperaba un código 200, me imagine que había mas entonces decidí buscar todos los códigos posibles. Al mismo tiempo supe que estos son códigos que nos devuelven los servidores, lo tome de [...]]]></description>
			<content:encoded><![CDATA[<p>Cuando estaba checando ajax por primera vez <strike>haa aquellos tiempos</strike>, vi que para checar que la pagina se había recibido con éxito, se esperaba un código 200, me imagine que había mas entonces decidí buscar todos los códigos posibles.  Al mismo tiempo supe que estos son códigos que nos devuelven los servidores, lo tome de la wikipedia, espero que les sirvan, Ojo, pueden usarlas con ajax, para hacer funciones mas vistosas.</p>
<ul>
<li><strong>1xx Mensajes</strong></li>
</ul>
<dl>
<dd>
<table>
<tr>
<td><strong>N°</strong></td>
<td>-</td>
<td>100</td>
<td>111</td>
<td>Conexión rechazada</td>
</tr>
</table>
</dd>
</dl>
<ul>
<li><strong>2xx Operación exitosa</strong></li>
</ul>
<dl>
<dd>
<table>
<tr>
<td><strong>N°</strong></td>
<td><strong>Descripción</strong></td>
</tr>
<tr>
<td>200</td>
<td>OK</td>
</tr>
<tr>
<td>201-203</td>
<td>Información no oficial</td>
</tr>
<tr>
<td>204</td>
<td>Sin Contenido</td>
</tr>
<tr>
<td>205</td>
<td>Contenido para recargar</td>
</tr>
<tr>
<td>206</td>
<td>Contenido parcial</td>
</tr>
</table>
</dd>
</dl>
<ul>
<li><strong>3xx Redirección hacia otro URL</strong></li>
</ul>
<dl>
<dd>
<table>
<tr>
<td><strong>N°</strong></td>
<td><strong>Descripción</strong></td>
</tr>
<tr>
<td>300</td>
<td>Múltiples posibilidades</td>
</tr>
<tr>
<td>301</td>
<td>Mudado permanentemente</td>
</tr>
<tr>
<td>303</td>
<td>Vea otros</td>
</tr>
<tr>
<td>304</td>
<td>No modificado</td>
</tr>
<tr>
<td>305</td>
<td>Utilice un proxy</td>
</tr>
<tr>
<td>307</td>
<td>Redirección temporal</td>
</tr>
</table>
</dd>
</dl>
<ul>
<li><strong>4xx Error por parte del cliente</strong></li>
<p><span id="more-293"></span>
</ul>
<dl>
<dd>
<table>
<tr>
<td><strong>N°</strong></td>
<td><strong>Descripción</strong></td>
</tr>
<tr>
<td>400</td>
<td>Solicitud incorrecta</td>
</tr>
<tr>
<td>401</td>
<td>No autorizado</td>
</tr>
<tr>
<td>402</td>
<td>Pago requerido</td>
</tr>
<tr>
<td>403</td>
<td>Prohibido</td>
</tr>
<tr>
<td>404</td>
<td>No encontrado</td>
</tr>
<tr>
<td>405</td>
<td>Método no permitido</td>
</tr>
<tr>
<td>406</td>
<td>No aceptable</td>
</tr>
<tr>
<td>407</td>
<td>Proxy requerido</td>
</tr>
<tr>
<td>408</td>
<td>Tiempo de espera agotado</td>
</tr>
<tr>
<td>409</td>
<td>Conflicto</td>
</tr>
<tr>
<td>410</td>
<td>Ya no disponible</td>
</tr>
<tr>
<td>411</td>
<td>Requiere longitud</td>
</tr>
<tr>
<td>412</td>
<td>Falló precondición</td>
</tr>
<tr>
<td>413</td>
<td>Entidad de solicitud demasiado larga</td>
</tr>
<tr>
<td>414</td>
<td>URL de solicitud demasiado largo</td>
</tr>
<tr>
<td>415</td>
<td>Tipo de medio no soportado</td>
</tr>
<tr>
<td>416</td>
<td>Rango solicitado no disponible</td>
</tr>
<tr>
<td>417</td>
<td>Falló expectativa</td>
</tr>
</table>
</dd>
</dl>
<ul>
<li><strong>5xx Error por parte del servidor</strong></li>
</ul>
<dd>
<table>
<tr>
<td><strong>N°</strong></td>
<td><strong>Descripción</strong></td>
</tr>
<tr>
<td>500</td>
<td>Error interno</td>
</tr>
<tr>
<td>501</td>
<td>No implementado</td>
</tr>
<tr>
<td>502</td>
<td>Pasarela incorrecta</td>
</tr>
<tr>
<td>503</td>
<td>Servicio no disponible</td>
</tr>
<tr>
<td>504</td>
<td>Tiempo de espera de la pasarela agotado</td>
</tr>
<tr>
<td>505</td>
<td>Versión de HTTP no soportada</td>
</tr>
</table>
<p>Fuente | <a href="http://es.wikipedia.org/wiki/Hypertext_Transfer_Protocol"> http://es.wikipedia.org/wiki/Hypertext_Transfer_Protocol</a></p>
</dd>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxman.net/codigos-de-respuestas-de-servidores.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.433 seconds -->

