Wrong redirection in contextgarden.net
For a while now, when I connect to contextgarden.net, I get redirected to wiki.contextgarden.net// (note the double slash). Is it just me, or something to be fixed in the web site? Nicola
Same here, maybe a misconfiguration. Le 29/04/17 à 09:47, Nicola a écrit:
For a while now, when I connect to contextgarden.net, I get redirected to wiki.contextgarden.net// (note the double slash). Is it just me, or something to be fixed in the web site?
Nicola
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
yeah, I've had this problem awhile too.
On Sat, Apr 29, 2017 at 3:47 AM, Nicola
For a while now, when I connect to contextgarden.net, I get redirected to wiki.contextgarden.net// (note the double slash). Is it just me, or something to be fixed in the web site?
Nicola
____________________________________________________________ _______________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list info/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________ _______________________
On 29 April 2017 at 09:47, Nicola wrote:
For a while now, when I connect to contextgarden.net, I get redirected to wiki.contextgarden.net// (note the double slash). Is it just me, or something to be fixed in the web site?
The server uses RedirectMatch permanent ^(.*)$ http://wiki.contextgarden.net/$1 I'm looking for a better suggestion. Mojca
On 29/04/2017 18:05, Mojca Miklavec wrote:
On 29 April 2017 at 09:47, Nicola wrote:
For a while now, when I connect to contextgarden.net, I get redirected to wiki.contextgarden.net// (note the double slash). Is it just me, or something to be fixed in the web site?
The server uses RedirectMatch permanent ^(.*)$ http://wiki.contextgarden.net/$1
I'm looking for a better suggestion.
Wouldn't just Redirect permanent / http://wiki.contextgarden.net/ do? (It may be recursive if the virtual host is the same.) If not, how about: RedirectMatch permanent ^/(.*)$ http://wiki.contextgarden.net/$1 As a last resource, mod_rewrite should work: RewriteEngine on RewriteCond %{HTTP_HOST} ^contextgarden\.net$ [NC] RewriteRule ^(.*)$ http://wiki.contextgarden.net/$1 [R=301,L] Nicola
On 29 April 2017 at 20:25, Nicola
On 29/04/2017 18:05, Mojca Miklavec wrote:
On 29 April 2017 at 09:47, Nicola wrote:
For a while now, when I connect to contextgarden.net, I get redirected to wiki.contextgarden.net// (note the double slash). Is it just me, or something to be fixed in the web site?
The server uses RedirectMatch permanent ^(.*)$ http://wiki.contextgarden.net/$1
I'm looking for a better suggestion.
Wouldn't just
Redirect permanent / http://wiki.contextgarden.net/
do? (It may be recursive if the virtual host is the same.)
If not, how about:
RedirectMatch permanent ^/(.*)$ http://wiki.contextgarden.net/$1
As a last resource, mod_rewrite should work:
RewriteEngine on RewriteCond %{HTTP_HOST} ^contextgarden\.net$ [NC] RewriteRule ^(.*)$ http://wiki.contextgarden.net/$1 [R=301,L]
Thank you for suggestions, I'll do some testing. In case I forget, please remind me about this after the 4th May. We currently have as good as no internet connectivity and I would hate to break the server while experimenting and then being unable to do anything afterwards. Mojca
participants (4)
-
EEva
-
Mohammad Hossein Bateni
-
Mojca Miklavec
-
Nicola