Hi There I'am Faced Some Problem With Apache Virtual Host and CloudFire

Viewed 12

** This is My Apache Config In /etc/httpd/config.d/ **


<VirtualHost app.wasel-sd.com:80>

       ServerAdmin app.wasel-sd.com
       #referring the user to the recipes application
       DocumentRoot /var/www/html/public

       <Directory /var/www/html/public>
               Options Indexes FollowSymLinks MultiViews
               AllowOverride All
               Order allow,deny
               allow from all
               # Uncomment this directive is you want to see apache2's
               # default start page (in /apache2-default) when you go to /
               #RedirectMatch ^/$ /apache2-default/
       </Directory>




RewriteEngine on
RewriteCond %{SERVER_NAME} =app.wasel-sd.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

That Code Was Working As Excepted Even I integrate With CloudFire the Reslut is : enter image description here

How I Can Solve This Problem plz

0 Answers
Related