P (and other) standards have not followed this evolution.
I doubt, however, that the HTTP---one for the web's core protocol---will be
revised just to make room for internationalisation. More needs need to be
addressed at the same time to make something happen in t
Hi,
Taken from the example were the Accept-Language (and it qualifiers) HTTP
header is overridden by a cookie set in the user’s browser; from
http://httpd.apache.org/docs/2.2/content-negotiation.html#better :
SetEnvIf Cookie "lang=(.+)" prefer-language=$1 Header append Vary cookie
But can this
On 2008-03-03, Joshua Slive wrote:
> On Mon, Mar 3, 2008 at 1:05 AM, Daniel Aleksandersen
>
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Taken from the example were the Accept-Language (and it qualifiers)
> > HTTP header is overridden by a cookie s
On 2008-03-04, Ben Spencer wrote:
> This is a simple task, except that the value of the cookie actually has
> a ":" in it which confuses mod_rewrite and the parameters since the
> parameter separator is a ":".
You just need to escape the colon as “%3A” (percentage-three-uppercase A).
--
Daniel’s
Hi,
Apache’s default 406 Not Acceptable error page is somewhat…unfriendly to
the users. Especially in my case because I am creating a page for elderly
people in Norway, and an error showing “advanced computer‐English” is not
something I want to serve them.
What I want is to get the list of ‘av
been able to figure out from reading—meaning skimming
trough—the RFCs.
--
Daniel Aleksandersen – http://www.opensource-notebook.com/
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http
;/fishingrods.html.en and fishingrods.html.nb.
--
Daniel Aleksandersen – http://www.opensource-notebook.com/
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for
On 2008-03-11, Dragon wrote:
> Daniel Aleksandersen wrote:
> >Hi,
> >
> >I need some help to think clearer.
> >
> >To copy the example used on âMaking readable URIsâ at W3C:
> >âA Norwegian without knowledge of basic English would like to be
> >
On 2008-03-11, William A. Rowe, Jr. wrote:
> Daniel Aleksandersen wrote:
> > On 2008-03-11, Dragon wrote:
> >> Daniel Aleksandersen wrote:
> >>> Hi,
> >>>
> >>> I need some help to think clearer.
> >>>
> >>> To co
Hi list, (UTF‐8 encoded)
Currently I use the following to trigger a 301 redirect when users request
my domain without the www. prefix.
RewriteCond %{HTTP_HOST} !^www.example.tld$ [NC]
RewriteRule ^(.*)$ http://www.example.tld/$1 [R=301,L]
After reading up on the HTTP/1.1 specification lately
Hi,
I am wondering if there is any reason why turing on the delate output
filter would make the “Accept-Endcoding” come out as uppercase?
I have used mod_negotiate, and mod_deflate. I see no reason why using the
latter would make mod_negotiate return one value with uppercase letters.
Vary: nego
On 2008-03-12, Daniel Aleksandersen wrote:
> Hi list, (UTF‐8 encoded)
>
> Currently I use the following to trigger a 301 redirect when users
> request my domain without the www. prefix.
> RewriteCond %{HTTP_HOST} !^www.example.tld$ [NC]
> RewriteRule ^(.*)$ http://www.examp
setting it—commented out below—does work as it should too.
Header set Test "Working"
# Header unset Test
I do all my header modifcations at the bottom of the .htaccess file. So
order should not have anything to say.
--
On 2008-03-13, Joshua Slive wrote:
> On Thu, Mar 13, 2008 at 11:43 AM, Daniel Aleksandersen wrote:
> > The below option spesified in the document_root/.htaccess have no
> > effect. Should it work? It may be my shared hosting enviroment that
> > is messing up this one. I see t
On 2008-03-13, Joshua Slive wrote:
> On Wed, Mar 12, 2008 at 3:47 PM, Daniel Aleksandersen wrote:
> > I am wondering if there is any reason why turing on the delate
> > output filter would make the "Accept-Endcoding" come out as
> > uppercase?
> >
> >
On 2008-03-13, Joshua Slive wrote:
> On Thu, Mar 13, 2008 at 12:30 PM, Daniel Aleksandersen wrote:
> > I want only to mofify one thing with the "Content-Location" header.
> > I want it to include the absolut URI instead of only the relative
> > URI. Can this be do
On 2008-03-13, Joshua Slive wrote:
> On Thu, Mar 13, 2008 at 3:02 PM, Daniel Aleksandersen wrote:
> > No, I was only wondering if there was a reason for the
> > inconsistency.
>
> I'm pretty-sure there is no reason other than that the person coding
> mod_deflate did
, “TypePriority application/xhtml+xml text/html text/plain”. I
know I can achieve this on a per URI basis using type maps. But I want a
faster way to do it on all files.
For example, I want to prioritise serving document.utf-8.xhtml.gz over
document.iso-8859-15.txt.zip.
--
Daniel Aleksandersen
On 2008-03-27, Joshua Slive wrote:
> On Thu, Mar 27, 2008 at 11:14 AM, Daniel Aleksandersen wrote:
> > Hi,
> >
> > I know I can set the source quality (qs) for language negotiation
> > using the "LanguagePriority" option. For example, "LanguagePriority
&g
On 2008-03-27, Joshua Slive wrote:
> On Thu, Mar 27, 2008 at 12:11 PM, Daniel Aleksandersen
>
> <[EMAIL PROTECTED]> wrote:
> > On 2008-03-27, Joshua Slive wrote:
> > > As far as I know, there is no way to set source quality in apache
> > > other than throug
trives the plain text version. I have been told Safari does
the same.
I have a variant type map for the URI with source quality identifiers (as
above). So really it should use XHTML or HTML before falling back to plain
text. The "DefaultType text/html" is specified on the serv
details on a permanent fix for this:
https://issues.apache.org/bugzilla/show_bug.cgi?id=44779
Anyhow, I want to use this today. So how can I start using comma separated
options in URIs today when mod_negotiate only supports dot separated
options/extensions? Some clever rewrite?
--
Daniel
Tue, 8 Apr 2008 14:18:45 -0400, Joshua Slive:
> On Tue, Apr 8, 2008 at 10:05 AM, Daniel Aleksandersen
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Inspired by
> > http://h3h.net/2007/01/designing-urls-for-multilingual-web-sites/#method-07
> > and
>
Fri, 04 Apr 2008 10:48:49 +0200 (CEST), Daniel Aleksandersen:
> Hi list,
>
> IE 7 and 8b, and newer versions of Safari sends HTTP "Accept: */*" headers.
> How to deal with these browsers when working with content negotiation? I have
> three different types available:
&g
Hi list,
Is it possible to spesify a default fallback when content negotiation fail?
Regarding language, file format, charset, and compression.
--
Daniel Aleksandersen
-
The official User-To-User support forum of the Apache
work.
I have found a "sort of work-around" were I use "Option +MultiViews" with
"MultiViewsMatch Handlers" only. This is the only thing that allows me to use
type-maps that are not overridden by multiv
On Sun,13 Apr 2008 23:00:19 -0400, Joshua Slive wrote:
> On Wed, Apr 9, 2008 at 10:36 PM, Daniel Aleksandersen
> <[EMAIL PROTECTED]> wrote:
> > Hi list,
> >
> > Why does type-maps rely on multiviews to be enabled? I can sort of
> > understand why it is
On Mon, 14 Apr 2008 07:50:47, Joshua Slive wrote:
> On Mon, Apr 14, 2008 at 5:05 AM, Daniel Aleksandersen wrote:
> > Another question, can I partaly negotiate between various type-maps? Say I
> > have one type-map called [../resource] saying:
> > URI: resource,en
>
heive something similar on Apache? I am thinking about
easy URI localization.
--
Daniel Aleksandersen
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html>
) thus creating a absolute URI from a
relative URI
SetEnvIf wwwhost yes Header always unset Content-Location
# Unsets Content-Location header if variable wwwhost is yes (set above)
--
Daniel Aleksandersen
-
The official User-To-Us
2008-04-27 18:58 skreiv Joshua Slive:
> On Sat, Apr 26, 2008 at 5:33 PM, Daniel Aleksandersen wrote:
> > SetEnvIfNoCase Host !^www.domain.tld$ wwwhost=no
> > # Sets enviromental variable wwwhost to no if host is not www.domain.tld
> > SetEnvIfNoCase Host ^www.aleksande
Hi list,
Really a question about the HTTP standard, but I had nowhere else to ask it.
May I include the HTTP “Location” header when not redirecting using a 3##
redirect status? I am considering including the Location header with the
preferred absolute URI on a 200 OK status.
http://www.w3.org/
2008-04-28 01:12 skreiv du:
> On Sun, Apr 27, 2008 at 6:45 PM, Daniel Aleksandersen wrote:
> > Could you help me with the regex editing too, please? Were
> > "magical-regex" takes the current header and inserts
> > "http://www.domain.tld/"; as a pr
2008-04-28 17:48 skreiv Joshua Slive:
> On Sun, Apr 27, 2008 at 9:22 PM, Daniel Aleksandersen wrote:
> > Really a question about the HTTP standard, but I had nowhere else to ask
> > it.
> >
> > May I include the HTTP "Location" header when not redirecting
Hi list,
Header always set Content-Location http://www.domain.tld/{REQUEST_URI}
Looks great, right? Well, it does not work great. How do I get the request URI
into the above wild-guess-at-a-syntax?
--
Daniel Aleksandersen <[EMAIL PROTEC
Hi list,
Header always set Content-Location http://www.domain.tld/{REQUEST_URI}
Looks great, right? Well, it does not work great. How do I get the request URI
into the above wild-guess-at-a-syntax?
--
Daniel
-
The official Use
2008-05-03 02:16 skreiv Joshua Slive:
> On Fri, May 2, 2008 at 7:45 PM, Daniel Aleksandersen wrote:
> > Hi list,
> >
> > Header always set Content-Location http://www.domain.tld/{REQUEST_URI}
> >
> > Looks great, right? Well, it does not work great. How do I
2008-05-03 03:03 skreiv Eric Covener:
> On Fri, May 2, 2008 at 8:41 PM, Daniel Aleksandersen wrote:
> > 2008-05-03 02:16 skreiv Joshua Slive:
> > > On Fri, May 2, 2008 at 7:45 PM, Daniel Aleksandersen wrote:
> > > > Header always set Content-Location
> > &g
2008-05-03 04:01 skreiv Daniel Aleksandersen:
> 2008-05-03 03:03 skreiv Eric Covener:
> > On Fri, May 2, 2008 at 8:41 PM, Daniel Aleksandersen wrote:
> > > 2008-05-03 02:16 skreiv Joshua Slive:
> > > > On Fri, May 2, 2008 at 7:45 PM, Daniel Aleksandersen wrote:
39 matches
Mail list logo