2008/2/4, Nick Kew <nick@xxxxxxxxxxxx>: > On Mon, 4 Feb 2008 18:23:35 +0100 > "Zbigniew Szalbot" <zszalbot@xxxxxxxxx> wrote: > > > Only this? Or should the header contain this: > > > > Status: 301 Now where did I leave that URL > > Location: http://xyz.abc.com/foo/bar.html > > Content-type: text/html > > Yep. Get that up-and-running with mod_asis, then plug it in to > what you've got. > > You can return an HTML stub (like Apache's default 301 ErrorDocument) > just in case anyone ever looks at it. I did try to test it. So I have a test directory /test/ with Multiviews on in which there are the following files: index.html.var index.html.po.iso8859-2 index.html.var has this: URI: index.html.po.iso8859-2 Content-language: pl Content-type: text/html;charset=ISO-8859-2 and it opens index.html.po.iso8859-2 file correctly. So far, so good. Now I am putting in the index.html.po.iso8859-2 file the following code: <META http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> <meta http-equiv="Location" content="http://domain.tld/test/pl/index.php"> <meta http-equiv="Status" content="301 Now where did I leave that URL"> But this has no effect (i.e. no redirection). The browser still displays http://domain.tld/test instead of http://domain.tld/test/pl/ $ cat /usr/local/etc/apache2/httpd.conf |grep "asis" LoadModule asis_module libexec/apache2/mod_asis.so AddHandler send-as-is asis Error log says nothing. Access log has this: 192.168.16.1 - - [07/Feb/2008:10:31:54 +0100] "GET /test/ HTTP/1.1" 304 - 192.168.16.1 - - [07/Feb/2008:10:31:54 +0100] "GET /test/ HTTP/1.1" 304 - 192.168.16.1 - - [07/Feb/2008:10:32:02 +0100] "GET /test/ HTTP/1.1" 200 1535 192.168.16.1 - - [07/Feb/2008:10:32:16 +0100] "GET /test/ HTTP/1.1" 200 1535 Many thanks for pointers how to make it work! -- Zbigniew Szalbot --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx