max
March 17, 2009, 9:14pm
1
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!
Joe
March 17, 2009, 9:21pm
2
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.
Eric
March 17, 2009, 10:05pm
3
There’s also config files located in /etc/httpd/conf.d/, perhaps something in there is causing the redirect.
-Eric
max
March 18, 2009, 6:18pm
4
My appoligies…looks like it is a joomla thing. I just made a new Vserver without joomla and no redirect…
max
June 7, 2009, 12:47pm
5
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
max
June 7, 2009, 12:47pm
6
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