I'm not sure that symbolic links would solve the problem, since it's not
the physical location of the files that matter, but the URL they're
served at.

Any request to http://jakarta.apache.org/struts/dtds would be redirected
to http://struts.apache.org/dtds

What I *think* we need is to redirect everything except /struts/dtds.
I'm no httpd expert, but I think something like a RedirectMatch
directive might do the trick. Another option might be an Alias, but I
have to check how that would interact with a Redirect.

I can try out a few combinations if no one has an easy solution.

Steve


FYI. Below is the current jakarta .htaccess file. I was just going to
add another Redirect (Redirect Permanent /struts
http://struts.apache.org) to this file. But now I think it will be a bit
more complicated. I don't think any of the other Redirects involved
dtds, or resources that had to stay at the original URL.

(Sorry if the wrapping messes this up a bit...)

RedirectMatch ^/bugs(.*)
http://jakarta.apache.org/site/bugs.html
RedirectMatch ^/credits/acknowledgements.html
http://jakarta.apache.org/site/acknowledgements.html
RedirectMatch ^/credits/whoweare.html
http://jakarta.apache.org/site/whoweare.html
RedirectMatch ^/downloads/binindex.html
http://jakarta.apache.org/site/binindex.cgi
RedirectMatch ^/downloads/sourceindex.html
http://jakarta.apache.org/site/sourceindex.cgi
RedirectMatch ^/site/binindex.html
http://jakarta.apache.org/site/binindex.cgi
RedirectMatch ^/site/sourceindex.html
http://jakarta.apache.org/site/sourceindex.cgi
RedirectMatch ^/faq/faqindex.html
http://jakarta.apache.org/site/faq.html
RedirectMatch ^/getinvolved/cvsindex.html
http://jakarta.apache.org/site/cvsindex.html
RedirectMatch ^/getinvolved/cvsonunix.html
http://jakarta.apache.org/site/cvsonunix.html
RedirectMatch ^/getinvolved/cvsonwin32.html
http://jakarta.apache.org/site/cvsonwin32.html
RedirectMatch ^/getinvolved/getinvolvedindex.html
http://jakarta.apache.org/site/getinvolved.html
RedirectMatch ^/getinvolved/library.html
http://jakarta.apache.org/site/library.html
RedirectMatch ^/getinvolved/mail.html
http://jakarta.apache.org/site/mail.html
RedirectMatch ^/getinvolved/dos_cvs.gif
http://jakarta.apache.org/images/dos_cvs.gif
RedirectMatch ^/getinvolved/mindterm_tunnel.gif
http://jakarta.apache.org/images/mindterm_tunnel.gif
RedirectMatch ^/getinvolved/scrt_ssh_adv_options.gif
http://jakarta.apache.org/images/scrt_ssh_adv_options.gif
RedirectMatch ^/getinvolved/scrt_ssh_session_prefs.gif
http://jakarta.apache.org/images/scrt_ssh_session_prefs.gif
RedirectMatch ^/getinvolved/wincvs_config.gif
http://jakarta.apache.org/images/wincvs_config.gif
RedirectMatch ^/guidelines/communication.html
http://jakarta.apache.org/site/communication.html
RedirectMatch ^/guidelines/decisions.html
http://jakarta.apache.org/site/decisions.html
RedirectMatch ^/guidelines(.*)
http://jakarta.apache.org/site/guidelines.html
RedirectMatch ^/guidelines/management.html
http://jakarta.apache.org/site/management.html
RedirectMatch ^/guidelines/source.html
http://jakarta.apache.org/site/source.html
RedirectMatch ^/mission(.*)
http://jakarta.apache.org/site/mission.html
RedirectMatch ^/news(.*)
http://jakarta.apache.org/site/news.html
RedirectMatch ^/logos(.*)
http://jakarta.apache.org/images/logos$1
RedirectMatch ^/legal.html
http://jakarta.apache.org/site/legal.html
RedirectMatch ^/contact.html
http://jakarta.apache.org/site/contact.html
RedirectMatch ^/torque(.*)
http://jakarta.apache.org/turbine/torque$1
#RedirectMatch ^/maven(.*)
http://jakarta.apache.org/turbine/maven$1

Redirect Permanent /ant http://ant.apache.org
Redirect Permanent /avalon http://avalon.apache.org
RedirectMatch Permanent /turbine/maven(.*) http://maven.apache.org$1

Redirect Permanent /gump http://gump.apache.org
Redirect Permanent /james http://james.apache.org

Redirect Permanent /log4j http://logging.apache.org/log4j

Redirect Permanent /pluto http://portals.apache.org/pluto
RedirectMatch Permanent /builds/jakarta-james/latest
http://cvs.apache.org/builds/james-server/test-build/
RedirectMatch Permanent /builds/jakarta-james/nightly
http://cvs.apache.org/builds/james-server/
RedirectMatch Permanent /builds/jakarta-james
http://www.apache.org/dist/jakarta/james

RedirectMatch Permanent ^/jetspeed(.*)
http://portals.apache.org/jetspeed-1


> -----Original Message-----
> From: Martin Cooper [mailto:[EMAIL PROTECTED]
> Sent: June 22, 2004 10:45 PM
> To: Struts Developers List
> Subject: RE: How To Refresh Strust Web Site
>
>
> I have my doubts that the redirect will work, but I really
> don't know for
> sure. However, there's another solution that will work. We can move
> everything to struts.a.o URLs, and then simply create
> symbolic links (ln
> -s) from the Jakarta URLs to the files in their new
> locations. I doubt the
> Jakarta folks would grudge us a few symbolic links. ;-)
>
> --
> Martin Cooper
>
>
> On Tue, 22 Jun 2004, Steve Raeburn wrote:
>
> > I haven't moved the site over yet to struts.apache.org,
> because I was
> > concerned about the URL of the DTDs being changed. Is
> anyone aware of
> > any problems with parsers in regard to this, or will the
> redirect work
> > just fine?
> >
> > I *hope* it won't be a problem because the problem with the
> DTD being
> > looked up online was fixed some time ago, but I though I'd
> better flag
> > it as a potential issue before making changes.
> >
> > If there's no noise to the contrary, I'll continue with the
> changeover
> > this week and try to test a couple of things before making
> any permanent
> > change.
> >
> > Steve
> >
> >
> >> -----Original Message-----
> >> From: Steve Raeburn [mailto:[EMAIL PROTECTED]
> >> Sent: June 13, 2004 11:08 PM
> >> To: Struts Developers List
> >> Subject: RE: How To Refresh Strust Web Site
> >>
> >>
> >>> The reason we haven't moved the site yet is because Ted had
> >> wanted to
> >>> do some reorganising first. However, it's been a while, so at this
> >>> point we might want to go ahead and do the move, and do any
> >>> restructuring afterwards.
> >>
> >> In think it's worth moving over now and worrying about the
> >> reorganization later.
> >> If there are no objections I can look at doing something this week.
> >>
> >>> The main issue with leaving the site where it is now is
> >> that the mbox
> >>> archives for the mailing lists are not accessible, because of the
> >>> redirect. Obviously, it would be better, too, to have the
> site under
> >>> our new domain. ;-)
> >>>
> >>> As I understsand it, the move involves cloning the site into the
> >>> struts.a.o location, removing the redirect from s.a.o to
> >> j.a.o/s, and
> >>> adding a redirect from j.a.o/s to s.a.o. I'm not sure if there's
> >>> anything else, but I don't think so.
> >>
> >> That's what I thought. Just wanted to check there was nothing
> >> that I was
> >> unaware of.
> >>
> >> Steve
> >>
> >>>
> >>> --
> >>> Martin Cooper
> >>
> >>
> >>
> >>
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to