These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for HTTP(S) redirect on new Vserver ?Why? on the new forum.
On any new Vserver i make on the shared ip, it is always forcing http(s)....
No htaccess No SSl selected when making the Vserver
So when I go to the new Vservers site it redirects to HTTPS and then it goes to the one host on the shared ip that does have SSL.
Go away SSL!
I'm guessing there must be an included httpd configuration file that has this redirect. So, grep for any Redirect rules in the httpd configuration directory.
--
Check out the forum guidelines!
I can grep but not sure where to find the httpd config directory.
looked in here:
/etc/httpd/conf/httpd.conf
found:
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.mydomain.com
RewriteRule ^(.*) https://mydomain.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.mydomain.com
RewriteRule ^(.*) https://mydomain.com:10000/ [R]
RemoveHandler .php
RemoveHandler .php5
I can grep but not sure where to find the httpd config directory.
looked in here:
/etc/httpd/conf/httpd.conf
found:
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.mydomain.com
RewriteRule ^(.*) https://mydomain.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.mydomain.com
RewriteRule ^(.*) https://mydomain.com:10000/ [R]
RemoveHandler .php
RemoveHandler .php5
There's also config files located in /etc/httpd/conf.d/, perhaps something in there is causing the redirect.
-Eric
My appoligies...looks like it is a joomla thing. I just made a new Vserver without joomla and no redirect...