Unable to enable certain modules
-
Re-reading the question... P is the proxy flag which requires mod_proxy. This is already enabled. mod_ssl is something else - https://httpd.apache.org/docs/current/mod/mod_ssl.html . Can you check or tell us why you need this?
-
@girish said in Unable to enable certain modules:
mod_ssl is something else - https://httpd.apache.org/docs/current/mod/mod_ssl.html . Can you check or tell us why you need this?
Hi @girish
I need the
mod_ssl
because i found that the above mentionedRewriteRule
to anhttps
url doesn't work, unlessmod_ssl
is enabled. -
This post is deleted!
-
shreyreplied to shrey on Sep 16, 2024, 3:50 PM last edited by shrey Sep 16, 2024, 4:09 PM
@girish
LAMP error log:No protocol handler was valid for the URL /about (scheme 'https'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
-
@shrey said in Unable to enable certain modules:
RewriteRule ^(.*)$ https://service.prerender.io/%{REQUEST_SCHEME}://%{HTTP_HOST}/$1 [P,L]
Is this even correct? there are two ":" . not an expert but something seems off here
-
shreyreplied to joseph on Sep 16, 2024, 4:01 PM last edited by shrey Sep 16, 2024, 4:29 PM
@joseph
Checked again. The second ":
" is used correctly.But, regardless of that, the exact URL that i'm currently using in the live RewriteRule is unambiguous (syntax: https://example.com/path1?param1=$1)
-
12/12