Closed stwalkerster closed 10 years ago
Working on this at https://github.com/enwikipedia-acc/drunken-octo-nemesis
I haven't thought this completely through yet (or even know what HTTPD the TS runs/if this will work with it) since I just woke up, but wouldn't a .htaccess file using the Redirect Directive to give users a 301 work?
It should :)
Does that work with ZWS?
On 24 May 2013 11:55, Manish Goregaokar notifications@github.com wrote:
It should :)
— Reply to this email directly or view it on GitHubhttps://github.com/enwikipedia-acc/waca/issues/49#issuecomment-18396127 .
Just tested it (redirected sand to the non-existent https://tools.wmflabs.org/acc/sand/).
A .htaccess file with this line should work for live:
Redirect 301 /~acc/ https://tools.wmflabs.org/acc/
And for sand:
Redirect 301 /~acc/sand/ https://tools.wmflabs.org/acc/sand/
is that good for all the url parameters too?
On 24 May 2013 12:13, FunPika notifications@github.com wrote:
Just tested it (redirected sand to the non-existent http://tools.wmflabs.org/acc/sand/).
A .htaccess file with this line should work for live:
Redirect 301 /~acc/ https://tools.wmflabs.org/acc/
And for sand:
Redirect 301 /~acc/sand/ https://tools.wmflabs.org/acc/sand/
— Reply to this email directly or view it on GitHubhttps://github.com/enwikipedia-acc/waca/issues/49#issuecomment-18396853 .
Well, I guess my script isn't needed anymore :P
Write a simple but effective redirection script to redirect users from the toolserver to labs