HTTP(S) redirect on new Vserver ?Why?

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.

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…

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