<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comentarios en: lighttpd and WordPress MU (revisited)</title>
	<atom:link href="http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/</link>
	<description>Este es mi blog. Hay otros muchos pero este es el mío.</description>
	<pubDate>Sat, 30 Aug 2008 00:59:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>Por: Iahia</title>
		<link>http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-996</link>
		<dc:creator>Iahia</dc:creator>
		<pubDate>Wed, 18 Jun 2008 17:30:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-996</guid>
		<description>TODO MUY BONITO, PERO LO CIERTO ES QUE YO SOLO QUIERO QUE EN MI ORDENADOR SE ALOJEN VARIAS WEBS, ES DECIR QUE CUANDO CUALQUIERA TIPEA WWW.EJEMPLO1.COM.AR VEA LA INDEX.HTML ALOJADA EN MI DIRECTORIO /VAR/WWW/EJEMPLO1 ; SI TIPEA WWW.EJEMPLO2.COM.AR VEA LA INDEX EN MI /VAR/WWW/EJEMPLO2 Y ASI. LO QUE HICE FUE CREAR LOS DIRECTORIOS DE MIS SITES EN /VAR/WWW Y CREO QUE LOS DE LOS ERRORES EN LOG (YA MI CEREBRO ESTA LIQUADO) EMPECE HACE 5 DIAS CON APACHE 2 Y AHORA ESTOY PROBANDO CON LIGHTTPD EN KUBUNTU 8.0.4 ; SI DEJO EL ARCHIVO LIGHTTPD.CONF TAL COMO VIENE, LEE LA INDEX.HTML EN /VAR/WWW; ES DECIR SOLO PUEDO ALOJAR 1 SITE, ESTO NO ME SIRVE, NECESITO VARIOS Y CON UNA EXPLICACION DETALLADA DE COMO CONFIGURAR TODO ¡¡¡¡¡¡¡¡¡¡¡¡¡SOCORRO!!!!!!!!!!!!!!!!!
UN ABRAZO,
JUAN</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->TODO MUY BONITO, PERO LO CIERTO ES QUE YO SOLO QUIERO QUE EN MI ORDENADOR SE ALOJEN VARIAS WEBS, ES DECIR QUE CUANDO CUALQUIERA TIPEA <a href="http://WWW.EJEMPLO1.COM.AR" rel="nofollow">http://WWW.EJEMPLO1.COM.AR</a> VEA LA INDEX.HTML ALOJADA EN MI DIRECTORIO /VAR/WWW/EJEMPLO1 ; SI TIPEA <a href="http://WWW.EJEMPLO2.COM.AR" >http://WWW.EJEMPLO2.COM.AR</a> VEA LA INDEX EN MI /VAR/WWW/EJEMPLO2 Y ASI. LO QUE HICE FUE CREAR LOS DIRECTORIOS DE MIS SITES EN /VAR/WWW Y CREO QUE LOS DE LOS ERRORES EN LOG (YA MI CEREBRO ESTA LIQUADO) EMPECE HACE 5 DIAS CON APACHE 2 Y AHORA ESTOY PROBANDO CON LIGHTTPD EN KUBUNTU 8.0.4 ; SI DEJO EL ARCHIVO LIGHTTPD.CONF TAL COMO VIENE, LEE LA INDEX.HTML EN /VAR/WWW; ES DECIR SOLO PUEDO ALOJAR 1 SITE, ESTO NO ME SIRVE, NECESITO VARIOS Y CON UNA EXPLICACION DETALLADA DE COMO CONFIGURAR TODO ¡¡¡¡¡¡¡¡¡¡¡¡¡SOCORRO!!!!!!!!!!!!!!!!!<br />
UN ABRAZO,<br />
JUAN<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: val</title>
		<link>http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-784</link>
		<dc:creator>val</dc:creator>
		<pubDate>Tue, 18 Mar 2008 10:23:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-784</guid>
		<description>here is my error.log

2008-03-18 18:26:37: (mod_access.c.135) -- mod_access_uri_handler called
2008-03-18 18:26:37: (response.c.205) -- splitting Request-URI
2008-03-18 18:26:37: (response.c.206) Request-URI  :  /blog/index.php
2008-03-18 18:26:37: (response.c.207) URI-scheme   :  http
2008-03-18 18:26:37: (response.c.208) URI-authority:  liteeblog.ph
2008-03-18 18:26:37: (response.c.209) URI-path     :  /blog/index.php
2008-03-18 18:26:37: (response.c.210) URI-query    :
2008-03-18 18:26:37: (response.c.205) -- splitting Request-URI
2008-03-18 18:26:37: (response.c.206) Request-URI  :  /blog/index.php
2008-03-18 18:26:37: (response.c.207) URI-scheme   :  http
2008-03-18 18:26:37: (response.c.208) URI-authority:  liteeblog.ph
2008-03-18 18:26:37: (response.c.209) URI-path     :  /blog/index.php
2008-03-18 18:26:37: (response.c.210) URI-query    :
2008-03-18 18:26:37: (response.c.260) -- sanatising URI
2008-03-18 18:26:37: (response.c.261) URI-path     :  /blog/index.php
2008-03-18 18:26:37: (mod_access.c.135) -- mod_access_uri_handler called
2008-03-18 18:26:37: (response.c.375) -- before doc_root
2008-03-18 18:26:37: (response.c.376) Doc-Root     : /srv/www/lighttpd/
2008-03-18 18:26:37: (response.c.377) Rel-Path     : /blog/index.php
2008-03-18 18:26:37: (response.c.378) Path         :
2008-03-18 18:26:37: (response.c.426) -- after doc_root
2008-03-18 18:26:37: (response.c.427) Doc-Root     : /var/www/virtual/l/li/liteeblog.ph/
2008-03-18 18:26:37: (response.c.428) Rel-Path     : /blog/index.php
2008-03-18 18:26:37: (response.c.429) Path         : /var/www/virtual/l/li/liteeblog.ph/blog/index.php
2008-03-18 18:26:37: (response.c.446) -- logical -&#62; physical
2008-03-18 18:26:37: (response.c.447) Doc-Root     : /var/www/virtual/l/li/liteeblog.ph/
2008-03-18 18:26:37: (response.c.448) Rel-Path     : /blog/index.php
2008-03-18 18:26:37: (response.c.449) Path         : /var/www/virtual/l/li/liteeblog.ph/blog/index.php
2008-03-18 18:26:37: (response.c.466) -- handling physical path
2008-03-18 18:26:37: (response.c.467) Path         : /var/www/virtual/l/li/liteeblog.ph/blog/index.php
2008-03-18 18:26:37: (response.c.474) -- file found
2008-03-18 18:26:37: (response.c.475) Path         : /var/www/virtual/l/li/liteeblog.ph/blog/index.php
2008-03-18 18:26:37: (response.c.613) -- handling subrequest
2008-03-18 18:26:37: (response.c.614) Path         : /var/www/virtual/l/li/liteeblog.ph/blog/index.php
2008-03-18 18:26:37: (mod_access.c.135) -- mod_access_uri_handler called
2008-03-18 18:26:37: (response.c.114) Response-Header:
HTTP/1.1 403 Forbidden
Content-Type: text/html
Content-Length: 345
Date: Tue, 18 Mar 2008 10:26:37 GMT
Server: lighttpd/1.4.18</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->here is my error.log</p>
<p>2008-03-18 18:26:37: (mod_access.c.135) &#8212; mod_access_uri_handler called<br />
2008-03-18 18:26:37: (response.c.205) &#8212; splitting Request-URI<br />
2008-03-18 18:26:37: (response.c.206) Request-URI  :  /blog/index.php<br />
2008-03-18 18:26:37: (response.c.207) URI-scheme   :  http<br />
2008-03-18 18:26:37: (response.c.208) URI-authority:  liteeblog.ph<br />
2008-03-18 18:26:37: (response.c.209) URI-path     :  /blog/index.php<br />
2008-03-18 18:26:37: (response.c.210) URI-query    :<br />
2008-03-18 18:26:37: (response.c.205) &#8212; splitting Request-URI<br />
2008-03-18 18:26:37: (response.c.206) Request-URI  :  /blog/index.php<br />
2008-03-18 18:26:37: (response.c.207) URI-scheme   :  http<br />
2008-03-18 18:26:37: (response.c.208) URI-authority:  liteeblog.ph<br />
2008-03-18 18:26:37: (response.c.209) URI-path     :  /blog/index.php<br />
2008-03-18 18:26:37: (response.c.210) URI-query    :<br />
2008-03-18 18:26:37: (response.c.260) &#8212; sanatising URI<br />
2008-03-18 18:26:37: (response.c.261) URI-path     :  /blog/index.php<br />
2008-03-18 18:26:37: (mod_access.c.135) &#8212; mod_access_uri_handler called<br />
2008-03-18 18:26:37: (response.c.375) &#8212; before doc_root<br />
2008-03-18 18:26:37: (response.c.376) Doc-Root     : /srv/www/lighttpd/<br />
2008-03-18 18:26:37: (response.c.377) Rel-Path     : /blog/index.php<br />
2008-03-18 18:26:37: (response.c.378) Path         :<br />
2008-03-18 18:26:37: (response.c.426) &#8212; after doc_root<br />
2008-03-18 18:26:37: (response.c.427) Doc-Root     : /var/www/virtual/l/li/liteeblog.ph/<br />
2008-03-18 18:26:37: (response.c.428) Rel-Path     : /blog/index.php<br />
2008-03-18 18:26:37: (response.c.429) Path         : /var/www/virtual/l/li/liteeblog.ph/blog/index.php<br />
2008-03-18 18:26:37: (response.c.446) &#8212; logical -&gt; physical<br />
2008-03-18 18:26:37: (response.c.447) Doc-Root     : /var/www/virtual/l/li/liteeblog.ph/<br />
2008-03-18 18:26:37: (response.c.448) Rel-Path     : /blog/index.php<br />
2008-03-18 18:26:37: (response.c.449) Path         : /var/www/virtual/l/li/liteeblog.ph/blog/index.php<br />
2008-03-18 18:26:37: (response.c.466) &#8212; handling physical path<br />
2008-03-18 18:26:37: (response.c.467) Path         : /var/www/virtual/l/li/liteeblog.ph/blog/index.php<br />
2008-03-18 18:26:37: (response.c.474) &#8212; file found<br />
2008-03-18 18:26:37: (response.c.475) Path         : /var/www/virtual/l/li/liteeblog.ph/blog/index.php<br />
2008-03-18 18:26:37: (response.c.613) &#8212; handling subrequest<br />
2008-03-18 18:26:37: (response.c.614) Path         : /var/www/virtual/l/li/liteeblog.ph/blog/index.php<br />
2008-03-18 18:26:37: (mod_access.c.135) &#8212; mod_access_uri_handler called<br />
2008-03-18 18:26:37: (response.c.114) Response-Header:<br />
HTTP/1.1 403 Forbidden<br />
Content-Type: text/html<br />
Content-Length: 345<br />
Date: Tue, 18 Mar 2008 10:26:37 GMT<br />
Server: lighttpd/1.4.18<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: val</title>
		<link>http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-783</link>
		<dc:creator>val</dc:creator>
		<pubDate>Tue, 18 Mar 2008 10:20:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-783</guid>
		<description>oops mistyped the errors its error with error 404 and 403.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->oops mistyped the errors its error with error 404 and 403.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: val</title>
		<link>http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-782</link>
		<dc:creator>val</dc:creator>
		<pubDate>Tue, 18 Mar 2008 10:14:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-782</guid>
		<description>hi, 

I trying to configure wpmu on lighttpd and was having problem with error 404 and 405. So I searched the net and stumbled upon your blog.  Anyway, I have tried your solutions you posted here, but I still have no luck on my wpmu on lighttpd.  I guess I'm doing something wrong, can you help me, this is my conf.

server.modules              = (
                               "mod_rewrite",
                               "mod_redirect",
                                "mod_access",
                               "mod_fastcgi",
                               "mod_evhost",
                                "mod_accesslog" )
# files to check for if .../ is requested
index-file.names            = ( "index.php", "index.html",
                                "index.htm", "default.htm" )
server.error-handler-404   = "/blog/index.php"
debug.log-request-header   = "enable"
debug.log-response-header  = "enable"
debug.log-request-handling = "enable"
debug.log-file-not-found   = "enable"

server.username            = "lighttpd"
server.groupname           = "lighttpd"
url.rewrite = (
"^/blog/(.*/)?files/$" =&#62; "/blog/index.php",
"^/blog/(.*/)?files/(.*)" =&#62; "/blog/wp-content/blogs.php?file=$2",
"^/blog(/wp-admin/.*)" =&#62; "/blog$1",
"^/blog/([_0-9a-zA-Z-]+/)?(wp-.*)" =&#62; "/blog/$2",
"^/blog/([_0-9a-zA-Z-]+/)?(.*\.php)$" =&#62; "/blog/$2"
)

$HTTP["host"] =~ "liteeblog\.ph" {

#    # automatic subdomain mapping
    $HTTP["host"] !~ "www\.liteeblog\.ph" {
        evhost.path-pattern         = "/var/www/virtual/l/li/%0/"
    }
    # rest of conditional (doc roots etc.) goes here...
}
$HTTP["host"] =~ "one\.liteeblog\.ph" {
        evhost.path-pattern         = "/var/www/virtual/o/on/%3.%0/"
}

my root docs is at /var/www/virtual/l/li/liteeblog.ph which has a blog symbolic link on /var/www/htdocs/l/li/liteeblog

i can access my static files like /blog/README.txt but cant access /blog/index.php

thanks in advance.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->hi, </p>
<p>I trying to configure wpmu on lighttpd and was having problem with error 404 and 405. So I searched the net and stumbled upon your blog.  Anyway, I have tried your solutions you posted here, but I still have no luck on my wpmu on lighttpd.  I guess I&#8217;m doing something wrong, can you help me, this is my conf.</p>
<p>server.modules              = (<br />
                               &#8220;mod_rewrite&#8221;,<br />
                               &#8220;mod_redirect&#8221;,<br />
                                &#8220;mod_access&#8221;,<br />
                               &#8220;mod_fastcgi&#8221;,<br />
                               &#8220;mod_evhost&#8221;,<br />
                                &#8220;mod_accesslog&#8221; )<br />
# files to check for if &#8230;/ is requested<br />
index-file.names            = ( &#8220;index.php&#8221;, &#8220;index.html&#8221;,<br />
                                &#8220;index.htm&#8221;, &#8220;default.htm&#8221; )<br />
server.error-handler-404   = &#8220;/blog/index.php&#8221;<br />
debug.log-request-header   = &#8220;enable&#8221;<br />
debug.log-response-header  = &#8220;enable&#8221;<br />
debug.log-request-handling = &#8220;enable&#8221;<br />
debug.log-file-not-found   = &#8220;enable&#8221;</p>
<p>server.username            = &#8220;lighttpd&#8221;<br />
server.groupname           = &#8220;lighttpd&#8221;<br />
url.rewrite = (<br />
&#8220;^/blog/(.*/)?files/$&#8221; =&gt; &#8220;/blog/index.php&#8221;,<br />
&#8220;^/blog/(.*/)?files/(.*)&#8221; =&gt; &#8220;/blog/wp-content/blogs.php?file=$2&#8243;,<br />
&#8220;^/blog(/wp-admin/.*)&#8221; =&gt; &#8220;/blog$1&#8243;,<br />
&#8220;^/blog/([_0-9a-zA-Z-]+/)?(wp-.*)&#8221; =&gt; &#8220;/blog/$2&#8243;,<br />
&#8220;^/blog/([_0-9a-zA-Z-]+/)?(.*\.php)$&#8221; =&gt; &#8220;/blog/$2&#8243;<br />
)</p>
<p>$HTTP["host"] =~ &#8220;liteeblog\.ph&#8221; {</p>
<p>#    # automatic subdomain mapping<br />
    $HTTP["host"] !~ &#8220;www\.liteeblog\.ph&#8221; {<br />
        evhost.path-pattern         = &#8220;/var/www/virtual/l/li/%0/&#8221;<br />
    }<br />
    # rest of conditional (doc roots etc.) goes here&#8230;<br />
}<br />
$HTTP["host"] =~ &#8220;one\.liteeblog\.ph&#8221; {<br />
        evhost.path-pattern         = &#8220;/var/www/virtual/o/on/%3.%0/&#8221;<br />
}</p>
<p>my root docs is at /var/www/virtual/l/li/liteeblog.ph which has a blog symbolic link on /var/www/htdocs/l/li/liteeblog</p>
<p>i can access my static files like /blog/README.txt but cant access /blog/index.php</p>
<p>thanks in advance.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: bisente</title>
		<link>http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-734</link>
		<dc:creator>bisente</dc:creator>
		<pubDate>Mon, 11 Feb 2008 07:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-734</guid>
		<description>Mmmm... ¿dices que es un lighty y que no te da problemas con los permalinks? Entonces es que tu amigo le ha configurado ya algo. Los permalinks se basan en el mod_rewrite de Apache y el equivalente de lighty no usa la misma sintaxis ni lee los ficheros .htaccess, por eso éste post y el anterior sobre el mismo tema.

Y de todas formas, la búsqueda va por POST, no por GET. Me extrañaría que la causa del problema fuera esa. Lo que si que he visto son muchos temas que en el formulario de la búsqueda tienen a saco un action="/search.php", con la barra apuntando al raíz de la instalación. En esos temas peta la búsqueda cuando estás instalando wp en algún subdirectorio (/blog o lo que sea) porque el action apunta fuera.

Una cosa que puedes hacer es instalarte la extensión "live HTTP headers" de Firefox, y entre eso y el access.log del servidor ver qué es lo que se pierde y dónde.

De todas formas si, el método éste para el lighty debería funcionar también sin problemas con un WP normal. De hecho unos comentarios arriba del tuyo hablan de esto y parece que funcionó. Eso si, yo no lo he probado personalmente.

Suerte!</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Mmmm&#8230; ¿dices que es un lighty y que no te da problemas con los permalinks? Entonces es que tu amigo le ha configurado ya algo. Los permalinks se basan en el mod_rewrite de Apache y el equivalente de lighty no usa la misma sintaxis ni lee los ficheros .htaccess, por eso éste post y el anterior sobre el mismo tema.</p>
<p>Y de todas formas, la búsqueda va por POST, no por GET. Me extrañaría que la causa del problema fuera esa. Lo que si que he visto son muchos temas que en el formulario de la búsqueda tienen a saco un action=&#8221;/search.php&#8221;, con la barra apuntando al raíz de la instalación. En esos temas peta la búsqueda cuando estás instalando wp en algún subdirectorio (/blog o lo que sea) porque el action apunta fuera.</p>
<p>Una cosa que puedes hacer es instalarte la extensión &#8220;live HTTP headers&#8221; de Firefox, y entre eso y el access.log del servidor ver qué es lo que se pierde y dónde.</p>
<p>De todas formas si, el método éste para el lighty debería funcionar también sin problemas con un WP normal. De hecho unos comentarios arriba del tuyo hablan de esto y parece que funcionó. Eso si, yo no lo he probado personalmente.</p>
<p>Suerte!<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Scyfox</title>
		<link>http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-733</link>
		<dc:creator>Scyfox</dc:creator>
		<pubDate>Mon, 11 Feb 2008 00:40:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-733</guid>
		<description>Saludos.

Estoy montando un WP normal (no MU) en un subdominio de un amigo.
Hasta ahora, con el WP 2.3.2 no he tenido problemas en los permalinks, pero si en el Search. 

Por lo que me contaron, no es apache sino que lighttpd como mencionas arriba. Y tengo ese problema que hablas. Cuando tranto de buscar algo, como que todo lo que envié por GET desaparece.

Pense que era problema del theme, asi que puse xamp en mi pc y probe denuevo, pero funcionaba correctamente.

Ahora, tu solución podria aplicarse a un wordpress regular?

Es lo único que me falta para poder lanzar el openbeta y ya estoy atrasado. No es trabajo, solo un blog comunitario, pero falta poco para el cumpleaños del sitio que es cuando queriamos lanzarlo... y no hay nada peor que dar un regalo atrasado ;(

Alguna ayudita??

Gracias de antemano

Silla!</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Saludos.</p>
<p>Estoy montando un WP normal (no MU) en un subdominio de un amigo.<br />
Hasta ahora, con el WP 2.3.2 no he tenido problemas en los permalinks, pero si en el Search. </p>
<p>Por lo que me contaron, no es apache sino que lighttpd como mencionas arriba. Y tengo ese problema que hablas. Cuando tranto de buscar algo, como que todo lo que envié por GET desaparece.</p>
<p>Pense que era problema del theme, asi que puse xamp en mi pc y probe denuevo, pero funcionaba correctamente.</p>
<p>Ahora, tu solución podria aplicarse a un wordpress regular?</p>
<p>Es lo único que me falta para poder lanzar el openbeta y ya estoy atrasado. No es trabajo, solo un blog comunitario, pero falta poco para el cumpleaños del sitio que es cuando queriamos lanzarlo&#8230; y no hay nada peor que dar un regalo atrasado ;(</p>
<p>Alguna ayudita??</p>
<p>Gracias de antemano</p>
<p>Silla!<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: bisente</title>
		<link>http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-348</link>
		<dc:creator>bisente</dc:creator>
		<pubDate>Wed, 17 Oct 2007 17:33:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-348</guid>
		<description>No sé si contestarte porque ya te vas montando la película tu solo... ;)

Con el error-handler-404 tengo mis dudas porque creo que es lighttpd quien se come los parámetros get al redirigir la petición al fichero, directamente no se los pasa. *Supongo* que si no se los comiera, el index.php ya los estaría interpretando bien. Aunque tal vez si de alguna forma pudiera capturar la URL (alguna variable del servidor) y parsearla... no se.

La solución más fácil que veo es aplicar los rewrite-once de éste post, de forma que esos casos si que cogerían bien los GET, y al final si la URL no encajara con ninguno, redirigirlo absolutamente todo con otro rewrite al index.php. Sustituir el 404 por otro rewrite. Ahí comprobar en código si el fichero existe y en ese caso devolverlo, y si no, seguir con el código "normal". Pero tiene el problema que tu apuntas: estás tocando un fichero de la distribución original y luego para mantenerlo cuando quieras actualizar WPMU o lo que sea es un coñazo. Aunque supongo que se podría sacar todo a un fichero aparte y simplemente hacer un include desde el index.php con lo que sólo habría que añadir esa línea.

Hacer un rewrite único, a saco, de todo a algo como el exget2get.php que propones... no lo tengo claro, porque tendrías que de alguna forma "emular" los rewrites en código. Es decir, servir un estático desde un PHP es fácil, pero ¿y cuando tengas que redirigir a otro php distinto, pasándole los parámetros GET que toque, etc? Internamente en PHP no tengo claro cómo se haría (supongo que se podría, pero no es trivial). Siempre podrías recurrir a devolverle un redirect-30X al cliente, pero entonces tendrías dos peticiones para cada una de esas URLs, y además saldría la URL real en lugar de la "clean" en el navegador. :-m

Si llegas a algo, avisa. :)</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->No sé si contestarte porque ya te vas montando la película tu solo&#8230; ;)</p>
<p>Con el error-handler-404 tengo mis dudas porque creo que es lighttpd quien se come los parámetros get al redirigir la petición al fichero, directamente no se los pasa. *Supongo* que si no se los comiera, el index.php ya los estaría interpretando bien. Aunque tal vez si de alguna forma pudiera capturar la URL (alguna variable del servidor) y parsearla&#8230; no se.</p>
<p>La solución más fácil que veo es aplicar los rewrite-once de éste post, de forma que esos casos si que cogerían bien los GET, y al final si la URL no encajara con ninguno, redirigirlo absolutamente todo con otro rewrite al index.php. Sustituir el 404 por otro rewrite. Ahí comprobar en código si el fichero existe y en ese caso devolverlo, y si no, seguir con el código &#8220;normal&#8221;. Pero tiene el problema que tu apuntas: estás tocando un fichero de la distribución original y luego para mantenerlo cuando quieras actualizar WPMU o lo que sea es un coñazo. Aunque supongo que se podría sacar todo a un fichero aparte y simplemente hacer un include desde el index.php con lo que sólo habría que añadir esa línea.</p>
<p>Hacer un rewrite único, a saco, de todo a algo como el exget2get.php que propones&#8230; no lo tengo claro, porque tendrías que de alguna forma &#8220;emular&#8221; los rewrites en código. Es decir, servir un estático desde un PHP es fácil, pero ¿y cuando tengas que redirigir a otro php distinto, pasándole los parámetros GET que toque, etc? Internamente en PHP no tengo claro cómo se haría (supongo que se podría, pero no es trivial). Siempre podrías recurrir a devolverle un redirect-30X al cliente, pero entonces tendrías dos peticiones para cada una de esas URLs, y además saldría la URL real en lugar de la &#8220;clean&#8221; en el navegador. :-m</p>
<p>Si llegas a algo, avisa. :)<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Guillermo</title>
		<link>http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-347</link>
		<dc:creator>Guillermo</dc:creator>
		<pubDate>Wed, 17 Oct 2007 17:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-347</guid>
		<description>Espera, un errorhandler llamado exget2get.php que me hiciese esa función y luego cargase el index.

Así me evito modificar un archivo original.

Esta noche investigo un rato.

Un Saludo.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Espera, un errorhandler llamado exget2get.php que me hiciese esa función y luego cargase el index.</p>
<p>Así me evito modificar un archivo original.</p>
<p>Esta noche investigo un rato.</p>
<p>Un Saludo.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Guillermo</title>
		<link>http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-346</link>
		<dc:creator>Guillermo</dc:creator>
		<pubDate>Wed, 17 Oct 2007 17:07:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-346</guid>
		<description>¿Y el convertir manualmente con dos lineas los parámetros ex-GET a GET, en el index.php manualmente?

Deberían ser un par de lineas nada más.

Un Saludo.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->¿Y el convertir manualmente con dos lineas los parámetros ex-GET a GET, en el index.php manualmente?</p>
<p>Deberían ser un par de lineas nada más.</p>
<p>Un Saludo.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: bisente</title>
		<link>http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-304</link>
		<dc:creator>bisente</dc:creator>
		<pubDate>Wed, 03 Oct 2007 13:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.bisente.com/blog/2007/09/28/lighttpd-and-wordpress-mu-revisited/#comment-304</guid>
		<description>Funny, I was going to reply to you just now but you've already fixed it yourself. :)

By the way, bear in mind that this method will give you problems if you need any plugin that uses query string variables. In fact, I'm not using it myself on this blog because I rely on jLanguage for the multi-language posts. If that's the case with you, you can use this other method here:

http://www.bisente.com/blog/2007/04/08/lighttpd-wordpressmu-english/</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Funny, I was going to reply to you just now but you&#8217;ve already fixed it yourself. :)</p>
<p>By the way, bear in mind that this method will give you problems if you need any plugin that uses query string variables. In fact, I&#8217;m not using it myself on this blog because I rely on jLanguage for the multi-language posts. If that&#8217;s the case with you, you can use this other method here:</p>
<p><a href="http://www.bisente.com/blog/2007/04/08/lighttpd-wordpressmu-english/" >http://www.bisente.com/blog/2007/04/08/lighttpd-wordpressmu-english/</a><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
</channel>
</rss>

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