Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

weird redirect #393

Closed
hackervera opened this issue Jun 27, 2013 · 3 comments
Closed

weird redirect #393

hackervera opened this issue Jun 27, 2013 · 3 comments

Comments

@hackervera
Copy link

when you go to a url like http://sfw.c2.com/view/welcome-visitors/view/re-factoring from outside broser (irc for example) you get redirected to http://sfw.c2.com/view/welcome-visitors and have to press "back" to get to the content

@WardCunningham
Copy link
Owner

Do you have a clear notion of what is happening with respect to specific requests and replies?

I could be wrong, but I believe the only redirecting we do is to convert server-site rendered requests to client-side rendered requests when the client has javascript enabled.

ward.fed.wiki.org/ward-cunningham.html ==> ward.fed.wiki.org/view/ward-cunningham

@hackervera
Copy link
Author

Visiting my link above is reproducible on multiple devices. All of them are chrome though. I haven't tested with Firefox yet. I'll do some investigation this weekend

@WardCunningham
Copy link
Owner

Well, this had me stumped for a while. The problem is that those pages aren't served by this server, neither the ruby or node versions. The links above are served by an experiment that used Apache rewrite rules to make it look like a perl script was a full-blown sfw server. You can find that server here:

https://github.com/WardCunningham/c2-sfw-script

I'll close this issue. An issue on that repo is welcome. But I'm operating at the limit of my Apache config expertise there.

A quirky work around would be to cite a full-blown sfw server and pass it sfw.c2.com page names like this:

http://fed.wiki.org/sfw.c2.com/welcome-visitors/sfw.c2.com/re-factoring

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants