Re: URL aliases for WPD without /wiki

On 03/22/2013 08:11 AM, PhistucK wrote:
> Note - apparently, favicon.ico <http://docs.webplatform.org/favicon.ico>
> now redirects to wiki/favicon.ico
> <http://docs.webplatform.org/wiki/favicon.ico>. Not so good.
> (My Chrome still shows the favicon, but I think it might just be cached
> or something)

Good catch. I fixed the redirect.
Thanks for noticing that.

Denis

> 
> ☆*PhistucK*
> 
> 
> On Fri, Mar 22, 2013 at 12:45 AM, Lea Verou <lea@w3.org
> <mailto:lea@w3.org>> wrote:
> 
>     Excellent point Julee. You are absolutely right.
> 
>     Lea Verou
>     W3C developer relations
>     http://w3.org/people/all#leahttp://lea.verou.me ✿ @leaverou
> 
> 
> 
> 
> 
> 
>     On Mar 22, 2013 <tel:2013>, at 00:36, Julee wrote:
> 
>     > So right now, Denis has it set so that if you type in the commonly
>     used
>     > docs.* namespaces, but use www.*, you will be directed to the best
>     > alternative.
>     >
>     > But if we do, across the board, for all 404'd pages on the www.*
>     space,
>     > all pages you might type erroneously will be redirected to docs.*.
>     This
>     > won't result in a 404 on docs.*. It'll result in that noarticletext,
>     > "pre-create" page. No?
>     >
>     > Maybe it's better to restrict it as Denis has.
>     >
>     >
>     > J
>     > ----------------------------
>     > julee@adobe.com <mailto:julee@adobe.com>
>     > @adobejulee
>     >
>     >
>     >
>     >
>     >
>     > -----Original Message-----
>     > From: Lea Verou <lea@w3.org <mailto:lea@w3.org>>
>     > Date: Thursday, March 21, 2013 <tel:2013> 2:49 PM
>     > To: Denis Ah-Kang <denis@w3.org <mailto:denis@w3.org>>
>     > Cc: Ryan Lane <rlane32@gmail.com <mailto:rlane32@gmail.com>>, Doug
>     Schepers <schepers@w3.org <mailto:schepers@w3.org>>,
>     > "public-webplatform@w3.org <mailto:public-webplatform@w3.org>"
>     <public-webplatform@w3.org <mailto:public-webplatform@w3.org>>
>     > Subject: Re: URL aliases for WPD without /wiki
>     >
>     >> Hi Denis,
>     >>
>     >> I believe that if you add a condition for "not found" [1]  you
>     don’t need
>     >> to explicitly list all sections, right?
>     >>
>     >> Cheers,
>     >> Lea
>     >>
>     >> [1]: RewriteCond %{REQUEST_FILENAME} !-f
>     >>
>     >> Lea Verou
>     >> W3C developer relations
>     >> http://w3.org/people/all#lea ? http://lea.verou.me ? @leaverou
>     >>
>     >>
>     >>
>     >>
>     >>
>     >>
>     >> On Mar 21, 2013 <tel:2013>, at 23:39, Denis Ah-Kang wrote:
>     >>
>     >>> On 03/21/2013 05:15 PM, Ryan Lane wrote:
>     >>>> Let's avoid using .htaccess. It's better if these things are done
>     >>>> through the server configuration. It's easier to troubleshoot
>     things
>     >>>> when server configuration is done in a single place, and it's
>     easier to
>     >>>> configuration manage it.
>     >>>
>     >>> Yes, it's better to have all these things in one place. The
>     redirects
>     >>> have been added in the Apache configuration directly.
>     >>>
>     >>> Lea, I limited the redirect to request uris starting by
>     >>>
>     "/(beginners|css|dom|concepts|accessibility|svg|html|javascript|apis)"
>     >>> so if we add new pages under www in the future, it won't be
>     caught by
>     >>> the rewrite rule.
>     >>> Let me know if there's any issue.
>     >>>
>     >>> Concerning the 404s, I'll be happy to configure Apache to serve
>     a better
>     >>> page if you have one.
>     >>>
>     >>> Denis
>     >>>
>     >>>
>     >>
>     >>
>     >
>     >
>     >
> 
> 
> 

Received on Friday, 22 March 2013 13:04:51 UTC