On 01 Oct 11:43, James Bensley wrote:
Luggers',
I hope you are all well. I'm hoping someone out there will know what is wrong with an apache server I have. SSL is up an running, a .htaccess in the web root redirects all incoming http request over https.
When someone browses in chrome to http://apache_server the index document (in this case index.php) is parsed to the browser as a download? If I browse to http://index.php I am redirected to https://index.php and it works fine, if I browse to just https://apache_server its fine, but http://apache_server isn't working, chrome just downloads the index page?
What could this be, I'm no apache master, could it be a MIME miss-match between browser and server?
Sounds like php isn't enabled on the http side to me...
But, anyways, if you're really just redirecting all http to https, rather than a .htaccess it would be better to do on the site config for that site: Redirect / https://the.site.name/
Which would do a redirect for everything nicely.
Thanks,