Avatar of beer9
Flag for India

asked on 

How RewriteEngine works in Apache web server?

I have following in my httpd.conf file in a web server

<VirtualHost *:80>
#stand-alone instances
include conf/my_application.conf
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L,NE]

Open in new window

I would like to understand what it does?
Apache Web Server

Avatar of undefined
Last Comment

8/22/2022 - Mon