From: Yann Ylavic If an absolute URL is specified,
$N in the substitution string!
mod_rewrite checks to see whether the
hostname matches the current host. If it does, the scheme and
hostname are stripped out and the resulting path is treated as
a URL-path. Otherwise, an external redirect is performed for
the given URL. To force an external redirect back to the
- current host, see the [R] flag below.[R] flag below.
Note that a redirect (implicit or not) using an absolute URI
+ will include the requested query-string, to prevent this see the
+ [QSD] flag below.
- (dash)$N in the substitution string!
| Description: | Ce module fournit un moteur de réécriture à base de règles permettant de réécrire les URLs des requêtes à la volée | ||
|---|---|---|---|
| MDCAChallenges name [ name ... ] | tls-alpn-01 http-01 + | s | X |
| Type of ACME challenge used to prove domain ownership. | |||
| MDCertificateAgreement accepted | s | X | |
| You confirm that you accepted the Terms of Service of the Certificate Authority. | |||
| MDCertificateAuthority url | https://acme-v02.ap + | s | X |
| The URL of the ACME Certificate Authority service. | |||
| MDCertificateAuthority url | letsencrypt | s | X |
| The URL(s) of the ACME Certificate Authority to use. | |||
| MDCertificateCheck name url | s | X | |
| - | |||
| MDCertificateFile path-to-pem-file | s | X | |
| Specify a static certificate file for the MD. | |||
| MDCertificateKeyFile path-to-file | s | X | |
| Specify a static private key for for the static cerrtificate. | |||
| MDRenewMode always|auto|manual | auto | s | X |
| Controls if certificates shall be renewed. | |||
| MDRenewWindow duration | 33% | s | X |
| Control when a certificate will be renewed. | |||
| MDRequireHttps off|temporary|permanent | off | s | X |
| Redirects http: traffic to https: for Managed Domains. | |||
| MDRetryDelay duration | 5s | s | X |
| - | |||
| MDRetryFailover number | 13 | s | X |
| - | |||
| MDServerStatus on|off | on | s | X |
| Control if Managed Domain information is added to server-status. | |||
| MDStapleOthers on|off | on | s | X |
| Enable stapling for certificates not managed by mod_md. | |||
| MDStapling on|off | off | s | X |
| Enable stapling for all or a particular MDomain. | |||
| MDCAChallenges name [ name ... ] | tls-alpn-01 http-01 + | s | X |
| Type of ACME challenge used to prove domain ownership. | |||
| MDCertificateAgreement accepted | s | X | |
| You confirm that you accepted the Terms of Service of the Certificate Authority. | |||
| MDCertificateAuthority url | https://acme-v02.ap + | s | X |
| The URL of the ACME Certificate Authority service. | |||
| MDCertificateAuthority url | letsencrypt | s | X |
| The URL(s) of the ACME Certificate Authority to use. | |||
| MDCertificateCheck name url | s | X | |
| - | |||
| MDCertificateFile path-to-pem-file | s | X | |
| Specify a static certificate file for the MD. | |||
| MDCertificateKeyFile path-to-file | s | X | |
| Specify a static private key for for the static cerrtificate. | |||
| MDRenewMode always|auto|manual | auto | s | X |
| Controls if certificates shall be renewed. | |||
| MDRenewWindow duration | 33% | s | X |
| Control when a certificate will be renewed. | |||
| MDRequireHttps off|temporary|permanent | off | s | X |
| Redirects http: traffic to https: for Managed Domains. | |||
| MDRetryDelay duration | 5s | s | X |
| - | |||
| MDRetryFailover number | 13 | s | X |
| - | |||
| MDServerStatus on|off | on | s | X |
| Control if Managed Domain information is added to server-status. | |||
| MDStapleOthers on|off | on | s | X |
| Enable stapling for certificates not managed by mod_md. | |||
| MDStapling on|off | off | s | X |
| Enable stapling for all or a particular MDomain. | |||
| MDCAChallenges name [ name ... ] | tls-alpn-01 http-01 + | s | X |
| Type of ACME challenge used to prove domain ownership. | |||
| MDCertificateAgreement accepted | s | X | |
| You confirm that you accepted the Terms of Service of the Certificate Authority. | |||
| MDCertificateAuthority url | https://acme-v02.ap + | s | X |
| The URL of the ACME Certificate Authority service. | |||
| MDCertificateAuthority url | letsencrypt | s | X |
| The URL(s) of the ACME Certificate Authority to use. | |||
| MDCertificateCheck name url | s | X | |
| - | |||
| MDCertificateFile path-to-pem-file | s | X | |
| Specify a static certificate file for the MD. | |||
| MDCertificateKeyFile path-to-file | s | X | |
| Specify a static private key for for the static cerrtificate. | |||
| MDRenewMode always|auto|manual | auto | s | X |
| Controls if certificates shall be renewed. | |||
| MDRenewWindow duration | 33% | s | X |
| Control when a certificate will be renewed. | |||
| MDRequireHttps off|temporary|permanent | off | s | X |
| Redirects http: traffic to https: for Managed Domains. | |||
| MDRetryDelay duration | 5s | s | X |
| - | |||
| MDRetryFailover number | 13 | s | X |
| - | |||
| MDServerStatus on|off | on | s | X |
| Control if Managed Domain information is added to server-status. | |||
| MDStapleOthers on|off | on | s | X |
| Enable stapling for certificates not managed by mod_md. | |||
| MDStapling on|off | off | s | X |
| Enable stapling for all or a particular MDomain. | |||
| MDCAChallenges name [ name ... ] | tls-alpn-01 http-01 + | s | X |
| Type of ACME challenge used to prove domain ownership. | |||
| MDCertificateAgreement accepted | s | X | |
| You confirm that you accepted the Terms of Service of the Certificate Authority. | |||
| MDCertificateAuthority url | https://acme-v02.ap + | s | X |
| The URL of the ACME Certificate Authority service. | |||
| MDCertificateAuthority url | letsencrypt | s | X |
| The URL(s) of the ACME Certificate Authority to use. | |||
| MDCertificateCheck name url | s | X | |
| - | |||
| MDCertificateFile path-to-pem-file | s | X | |
| Specify a static certificate file for the MD. | |||
| MDCertificateKeyFile path-to-file | s | X | |
| Specify a static private key for for the static cerrtificate. | |||
| MDRenewMode always|auto|manual | auto | s | X |
| Controls if certificates shall be renewed. | |||
| MDRenewWindow duration | 33% | s | X |
| Control when a certificate will be renewed. | |||
| MDRequireHttps off|temporary|permanent | off | s | X |
| Redirects http: traffic to https: for Managed Domains. | |||
| MDRetryDelay duration | 5s | s | X |
| - | |||
| MDRetryFailover number | 13 | s | X |
| - | |||
| MDServerStatus on|off | on | s | X |
| Control if Managed Domain information is added to server-status. | |||
| MDStapleOthers on|off | on | s | X |
| Enable stapling for certificates not managed by mod_md. | |||
| MDStapling on|off | off | s | X |
| Enable stapling for all or a particular MDomain. | |||
| MDCAChallenges name [ name ... ] | tls-alpn-01 http-01 + | s | X |
| Type of ACME challenge used to prove domain ownership. | |||
| MDCertificateAgreement accepted | s | X | |
| You confirm that you accepted the Terms of Service of the Certificate Authority. | |||
| MDCertificateAuthority url | https://acme-v02.ap + | s | X |
| The URL of the ACME Certificate Authority service. | |||
| MDCertificateAuthority url | letsencrypt | s | X |
| The URL(s) of the ACME Certificate Authority to use. | |||
| MDCertificateCheck name url | s | X | |
| - | |||
| MDCertificateFile path-to-pem-file | s | X | |
| Specify a static certificate file for the MD. | |||
| MDCertificateKeyFile path-to-file | s | X | |
| Specify a static private key for for the static cerrtificate. | |||
| MDRenewMode always|auto|manual | auto | s | X |
| Controls if certificates shall be renewed. | |||
| MDRenewWindow duration | 33% | s | X |
| Control when a certificate will be renewed. | |||
| MDRequireHttps off|temporary|permanent | off | s | X |
| Redirects http: traffic to https: for Managed Domains. | |||
| MDRetryDelay duration | 5s | s | X |
| - | |||
| MDRetryFailover number | 13 | s | X |
| - | |||
| MDServerStatus on|off | on | s | X |
| Control if Managed Domain information is added to server-status. | |||
| MDStapleOthers on|off | on | s | X |
| Enable stapling for certificates not managed by mod_md. | |||
| MDStapling on|off | off | s | X |
| Enable stapling for all or a particular MDomain. | |||
| MDCAChallenges name [ name ... ] | tls-alpn-01 http-01 + | s | D |
| Type of ACME challenge used to prove domain ownership. | |||
| MDCertificateAgreement accepted | s | D | |
| You confirm that you accepted the Terms of Service of the Certificate Authority. | |||
| MDCertificateAuthority url | https://acme-v02.ap + | s | D |
| The URL of the ACME Certificate Authority service. | |||
| MDCertificateAuthority url | letsencrypt | s | D |
| The URL(s) of the ACME Certificate Authority to use. | |||
| MDCertificateCheck name url | s | D | |
| - | |||
| MDCertificateFile path-to-pem-file | s | D | |
| Specify a static certificate file for the MD. | |||
| MDCertificateKeyFile path-to-file | s | D | |
| Specify a static private key for for the static cerrtificate. | |||
| MDRenewMode always|auto|manual | auto | s | D |
| Controls if certificates shall be renewed. | |||
| MDRenewWindow duration | 33% | s | D |
| Control when a certificate will be renewed. | |||
| MDRequireHttps off|temporary|permanent | off | s | D |
| Redirects http: traffic to https: for Managed Domains. | |||
| MDRetryDelay duration | 5s | s | D |
| - | |||
| MDRetryFailover number | 13 | s | D |
| - | |||
| MDServerStatus on|off | on | s | D |
| Control if Managed Domain information is added to server-status. | |||
| MDStapleOthers on|off | on | s | D |
| Enable stapling for certificates not managed by mod_md. | |||
| MDStapling on|off | off | s | D |
| Enable stapling for all or a particular MDomain. | |||
| MDCAChallenges name [ name ... ] | tls-alpn-01 http-01 + | s | X |
| Type of ACME challenge used to prove domain ownership. | |||
| MDCertificateAgreement accepted | s | X | |
| You confirm that you accepted the Terms of Service of the Certificate Authority. | |||
| MDCertificateAuthority url | https://acme-v02.ap + | s | X |
| The URL of the ACME Certificate Authority service. | |||
| MDCertificateAuthority url | letsencrypt | s | X |
| The URL(s) of the ACME Certificate Authority to use. | |||
| MDCertificateCheck name url | s | X | |
| - | |||
| MDCertificateFile path-to-pem-file | s | X | |
| Specify a static certificate file for the MD. | |||
| MDCertificateKeyFile path-to-file | s | X | |
| Specify a static private key for for the static cerrtificate. | |||
| MDRenewMode always|auto|manual | auto | s | X |
| Controls if certificates shall be renewed. | |||
| MDRenewWindow duration | 33% | s | X |
| Control when a certificate will be renewed. | |||
| MDRequireHttps off|temporary|permanent | off | s | X |
| Redirects http: traffic to https: for Managed Domains. | |||
| MDRetryDelay duration | 5s | s | X |
| - | |||
| MDRetryFailover number | 13 | s | X |
| - | |||
| MDServerStatus on|off | on | s | X |
| Control if Managed Domain information is added to server-status. | |||
| MDStapleOthers on|off | on | s | X |
| Enable stapling for certificates not managed by mod_md. | |||
| MDStapling on|off | off | s | X |
| Enable stapling for all or a particular MDomain. | |||