You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Klaus Johannes Rusch <Kl...@atmedia.net> on 1998/10/05 14:26:23 UTC

mod_rewrite/3140: Substitution does not support some schemes

>Number:         3140
>Category:       mod_rewrite
>Synopsis:       Substitution does not support some schemes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Oct  5 05:30:00 PDT 1998
>Last-Modified:
>Originator:     KlausRusch@atmedia.net
>Organization:
apache
>Release:        1.3.2 WinNT
>Environment:
Win NT 4 SP3
>Description:
Substitution only supports a limited number of schemes, namely http:, https:, ftp: and gopher:.
RewriteEngine therefore cannot be used with other schemes like news: or mailto:.

>How-To-Repeat:
Add this to a config file:
RewriteEngine On
RewriteRule ^/mail mailto:webmaster@apache.org [R,L]
>Fix:
Check for schemename':' (and the special mod_rewrite schemes) rather than a fixed set of schemes.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]