Page MenuHomePhabricator

Article "cgi" redirects to the Main Page
Closed, ResolvedPublic

Description


Version: unspecified
Severity: normal
URL: http://en.wikipedia.org/wiki/cgi

Details

Reference
bz4131

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:57 PM
bzimport set Reference to bz4131.

Oops. Accidentally pressed <enter> :)

Anyway, when I type http://en.wikipedia.org/wiki/cgi, instead of capitalizing
"c" to "C" and redirecting "Cgi" to "CGI", the english wikipedia forwards me to
Main Page without a reason.

http://en.wikipedia.org/w/index.php?title=cgi works

Looks like a trouble with a rewrite rule:

RewriteRule ^/wiki.cgi$

The dot isnt escaped and match '/' so /wiki/cgi redirect to main page.

I changed them in /h/w/conf/httpd to

RewriteRule ^/wiki.cgi$

Synced apaches using sync-apache

ERR: changed to:
RewriteRule ^/wiki\.cgi$

Not fixed yet :( Same bug happen when trying to access [[phtml]]

Ashar, what's the status here? You seem to
be editing config files on the cluster but
aren't online so we can't find out what
you're doing... Please confirm.

Ashar, get on IRC right now please.

Graceful restart of apaches solved the issue.