skip to Main Content

Apache vhost conflicts with CI .htaccess

I am rewriting sub-folders of my website to sub-domain via bellow code in Apache vhost file: RewriteEngine On RewriteCond %{HTTP_HOST} !^www. example.com RewriteCond %{HTTP_HOST} ^(www.)?(([^.]+).){1}example.com$ RewriteCond /var/www/example.com/web/crm/build/%3 -d RewriteRule ^/(.*) /crm/build/%3/$1 so https://example.com/web/crm/folder = https://folder.example.com Also i am using .htaccess…

VIEW QUESTION
Back To Top
Search