You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Tim Funk <fu...@joedog.org> on 2007/12/05 02:42:42 UTC

FAQ chucking alternatives

To chuck the FAQ from the site we can do this in one of a few ways
1) Delete the files and watch lots of 404's appear (yuck)
2) Change each faq with a META refresh (ok short term, crappy longer term)
3) Other??

Personally I'd like to archive them and 301 redirect the appropriate 
pages to the wiki. But with the current config, is .htaccess turned on 
anywhere where I (or anyione with the right karma) can add rewrite rules 
or appropriate?

-Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: FAQ chucking alternatives

Posted by Yoav Shapira <yo...@apache.org>.
On Dec 5, 2007 3:28 PM, Tim Funk <fu...@joedog.org> wrote:
> Cool. Then if no one objects, I'll add this /faq/.htaccess (Should be
> coming as txt attachement)

No objection from me.  Thanks for taking care of this.

Yoav

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: FAQ chucking alternatives

Posted by Tim Funk <fu...@joedog.org>.
Cool. Then if no one objects, I'll add this /faq/.htaccess (Should be 
coming as txt attachement)

I noticed http://tomcat.apache.org/faq/development.html didn't get 
ported over. Thats in the attachment - but not done yet.

-Tim




Re: FAQ chucking alternatives

Posted by Yoav Shapira <yo...@apache.org>.
On Dec 5, 2007 8:40 AM,  <fu...@joedog.org> wrote:
> Cool. We'll need explicit mappings since the old names and new pages
> aren't the same. Like this:
>
> RewriteRule /faq/classnotfound.html
> http://wiki.apache.org/tomcat/FAQ/Class_Not_Found [R=301]
>
> Unless someone beats me - I'll try to do that this evening. (East Coast
> USA time)
>
> If mod_alias is available, this would work too:
> RedirectPermanent /faq/classnotfound.html
> http://wiki.apache.org/tomcat/FAQ/Class_Not_Found
>
> From an admin point of view - I'm not sure if there is a preference.

I believe mod_alias is preferred.  I say that just because the
redirects for moving project web sites, e.g. when Tomcat left Jakarta
to become tomcat.apache.org, are mod_alias RedirectPermanent rules.

Yoav

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: FAQ chucking alternatives

Posted by fu...@joedog.org.
Cool. We'll need explicit mappings since the old names and new pages
aren't the same. Like this:

RewriteRule /faq/classnotfound.html
http://wiki.apache.org/tomcat/FAQ/Class_Not_Found [R=301]

Unless someone beats me - I'll try to do that this evening. (East Coast
USA time)

If mod_alias is available, this would work too:
RedirectPermanent /faq/classnotfound.html
http://wiki.apache.org/tomcat/FAQ/Class_Not_Found

>From an admin point of view - I'm not sure if there is a preference.

-Tim

> Yoav Shapira wrote:
>> RewriteEngine On
>> RewriteRule /faq/(.*) http://wiki.apache.org/tomcat/FAQ/$1 [R=301]
>
> +1
>
> I am not 100% the mapping will be this simple. It is is, great. If not, we
> could either map each page or do:
> RewriteRule /faq/(.*) http://wiki.apache.org/tomcat/FAQ [R=301]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: FAQ chucking alternatives

Posted by Mark Thomas <ma...@apache.org>.
Yoav Shapira wrote:
> RewriteEngine On
> RewriteRule /faq/(.*) http://wiki.apache.org/tomcat/FAQ/$1 [R=301]

+1

I am not 100% the mapping will be this simple. It is is, great. If not, we
could either map each page or do:
RewriteRule /faq/(.*) http://wiki.apache.org/tomcat/FAQ [R=301]

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: FAQ chucking alternatives

Posted by Yoav Shapira <yo...@apache.org>.
Hey,

On Dec 4, 2007 8:42 PM, Tim Funk <fu...@joedog.org> wrote:
> To chuck the FAQ from the site we can do this in one of a few ways
> 1) Delete the files and watch lots of 404's appear (yuck)
> 2) Change each faq with a META refresh (ok short term, crappy longer term)
> 3) Other??
>
> Personally I'd like to archive them and 301 redirect the appropriate
> pages to the wiki. But with the current config, is .htaccess turned on
> anywhere where I (or anyione with the right karma) can add rewrite rules
> or appropriate?

I believe we have complete .htaccess with mod_rewrite at our disposal,
for URLs in the tomcat.apache.org namespace.  So we could, and I'd
like, to:

RewriteEngine On
RewriteRule /faq/(.*) http://wiki.apache.org/tomcat/FAQ/$1 [R=301]

Or whatever we decide is appropriate.

Yoav

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org