Hi, I have site running on Flask + Apache mod_wsgi. I need to redirect users from demo.abc.com to www.demo.abc.com I have written the following .htaccess code.
With the above code user is redirected from demo.abc.com to www.demo.abc.com/index.py I hope index.py is suffixed automatically because of the WSGIScriptAlias in the following httpd.conf file. httpd.conf file (Partial)
Can help me out fixing this issue ? asked 17 Jun '16, 07:09 arulkumar |
Hello, You can redirect the domain name as described in our documentation. Basically, you will need to create another site for the naked domain, attach a Static/CGI/PHP application and put your rewrite rules there. answered 17 Jun '16, 11:48 dimitari |