[omd-users] Question with regards to HTTPS

Jimmy Cross James.Cross at uea.ac.uk
Mon Jun 24 13:00:09 CEST 2013


Hi Marcel,

Many thanks for your prompt reply, sorry I should have said I am running 
Ubuntu 12.04.
Do you know which file I should be looking at adding those directives to 
on that distro?

Best wishes
Jimmy


On 24/06/13 11:45, Marcel Schulte wrote:
> Hi Jimmy,
>
> We added this to the end of /etc/httpd/conf.d/ssl.conf (RH6, OMD
> running own (Sub-)Apache):
>
> RewriteEngine on
> RewriteCond %{HTTPS} off
> RewriteCond %{HTTPS_HOST} !^hostname\.domain\.tld [NC]
> RewriteRule ^.*$ https://hostname.domain.tld%{REQUEST_URI} [L,R]
>
> ...this ensures redirected hostname is always hostname.domain.tld and
> http gets https.
>
> HTH,
> Marcel
>
>
>
>
> 2013/6/24 Jimmy Cross <James.Cross at uea.ac.uk>:
>> Hi All,
>>
>> I am attempting to setup https on my OMD server, re-direction works when I
>> got straight to server root:
>>
>> http:\\myserver.co.uk\
>>
>> will re-direct to https ok
>>
>> I achieved this by changing the main apache config file.
>>
>> However when I attempt to go
>>
>> http:\myserver.co.uk\site\thruk
>>
>> It will not re-direct to https.
>>
>> Could someone please let me know which files I should be looking at in order
>> to ensure that everything will be re-directed through https.
>>
>> Many thanks in advance
>>
>> Best wishes
>> Jimmy
>>
>> --
>> -----------------------------
>> Mr  James Cross
>> Linux Systems Developer
>> University of East Anglia
>> Norwich Research Park
>> ITCS
>> Norwich, Norfolk
>> NR4 7TJ
>>
>> Information Services
>>
>> _______________________________________________
>> omd-users mailing list
>> omd-users at lists.mathias-kettner.de
>> http://lists.mathias-kettner.de/mailman/listinfo/omd-users


-- 
-----------------------------
Mr  James Cross
Linux Systems Developer
University of East Anglia
Norwich Research Park
ITCS
Norwich, Norfolk
NR4 7TJ

Information Services



More information about the omd-users mailing list