You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Per Jessen <pe...@computer.org> on 2004/11/08 10:38:34 UTC

[users@httpd] Re: looping "subrequested from r->uri = ...."

Joshua Slive wrote:

> Likely an edge case in footer.var.  It looks like footer.var sometimes
> returns footer as the best match, which of course triggers a call to
> footer.var, hence creating a loop.
> 
> Look carefully at footer.var and make sure it handles edge cases like
> no Accept-Language header, etc.

Thanks Joshua.

My vhost definition has:

LanguagePriority en de fr da
ForceLanguagePriority Prefer Fallback

My footer.var:

URI: footer

URI: footer.phtml.en
Content-Language: en
Content-type: text/html; charset=UTF-8
URI: footer.phtml.da
Content-Language: da
Content-type: text/html; charset=UTF-8
URI: footer.phtml.de
Content-Language: de
Content-type: text/html; charset=UTF-8
URI: footer.phtml.fr
Content-Language: fr
Content-type: text/html; charset=UTF-8

Currently I only have footer.phtml.en and footer.phtml.de - might lack of
the .da and .fr versions produce the situation I described?



-- 
Per Jessen, Zurich
Let your spam stop here -- http://www.spamchek.com



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: looping "subrequested from r->uri = ...."

Posted by Joshua Slive <js...@gmail.com>.
On Mon, 08 Nov 2004 10:38:34 +0100, Per Jessen <pe...@computer.org> wrote:
> Currently I only have footer.phtml.en and footer.phtml.de - might lack of
> the .da and .fr versions produce the situation I described?

That's certainly a possibility, especially if you have an
ErrorDocument using this footer.  And it certainly isn't a good idea
to have non-existing variants listed.

But why don't you test it yourself?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org