RuleML / issues-ruleml

A repository solely for RuleML issues. No schemas or documents should be committed here.
3 stars 3 forks source link

redirects for trailing slash #7

Closed greenTara closed 9 years ago

greenTara commented 11 years ago

Redirects within the ruleml.org domain (in addition to the pointer to the /ruleml.org directory) that correspond to directories without the trailing slash must be handled manually. This is because the auto-detection and addition of a missing trailing slash depends on the directory being present, and the match won't happen until the extra "/ruleml.org" is added to the path.

Example "http://ruleml.org/fun" needs a special rewrite rule to become "http://ruleml.org/fun/" prior to the rewrite into "http://ruleml.org/fun/0.91".

It should be possible to handle all such cases with one or more wildcard redirects that look for the absence of a trailing slash, then check for the existence of the folder at the appropriate (modified) path.

greenTara commented 9 years ago

Done, but not committed to the repository. This redirect is done in the .htaccess file at a higher level.