Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.computer > #11605
| Subject | Re: Problems with .htaccess file |
|---|---|
| Newsgroups | alt.computer, sci.electronics.design |
| References | (3 earlier) <r22mau$8is$1@gonzo.revmaps.no-ip.org> <Rkr1G.70662$Bz7.38415@fx24.iad> <His1G.185255$db6.8054@fx33.iad> <o0cd4flha7lmu31aoshsh1j61m9b1vds0s@4ax.com> <59E1G.188555$_R3.142098@fx36.iad> |
| From | Robert Baer <robertbaer@localnet.com> |
| Message-ID | <VSn2G.143056$eK6.110591@fx16.iad> (permalink) |
| Date | 2020-02-16 19:36 -0800 |
Cross-posted to 2 groups.
Robert Baer wrote:
> Neon John wrote:
>> On Thu, 13 Feb 2020 23:49:53 -0800, Robert Baer
>> <robertbaer@localnet.com> wrote:
>>
>>>>>>> set a different document root for http and https
>>>>>>>
>>>>>>> leave index.html out of the redirect
>>>>>>>
>>>>>>>
>>>>>> Cannot work as-is; HTTP is re-directed to HTPPS elsewhere.
>>>>>
>>>>> That cannot be correct.
>>
>> Disclaimer: I know just about as little about HTML(S) as is possible.
>>
>> My site, neon-john.com, was composed (not programmed) in plain old
>> HTML. My ISP, dreamhost.com, has joined the "let's encrypt| "
>> movement. That involves registering an HTTPS domain name,
>> generating a new key each month and automatically installing it on the
>> host. The idea of "Let's Encrypt|" is to make it more difficult for
>> TLAs and corporate snooper to spy on a connection to a user.
>>
>> I have no idea what kind of PFM goes on at the host but I do know that
>> I can edit my site and both HTML and HTMLS show up at almost the same
>> time in seconds.
>>
>> This a job that I'd not give a second thought to farming out. Oh, did
>> I mention that Dreamhost's services for this task are free.
>>
>> John
>> John DeArmond
>> http://www.neon-john.com
>> http://www.tnduction.com
>> Tellico Plains, Occupied TN
>> See website for email address
>>
> Thanks!
> If i get nowhere, i will ask them for help.
>
Called Godaddy; they said my SEO redirects were conflicting with
others and that i did not need all of that other stuff.
They gave me a 4-liner that they use in the Cpanel:
## REDIRECT HTTP TO HTTPS AND NON-WWW VERSION TO WWW VERSION
# Copied from Godaddy : redirect to HTTPS
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?oil4lessllc\.com
RewriteRule ^(.*)$ https://www.oil4lessllc.com/$1 [R,L]
# These 4 lines are all they have in Cpanel
Problems solved.
Thanks.
Back to alt.computer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Problems with .htaccess file Robert Baer <robertbaer@localnet.com> - 2020-02-11 23:00 -0800
Re: Problems with .htaccess file Jeroen Belleman <jeroen@nospam.please> - 2020-02-12 08:57 +0100
Re: Problems with .htaccess file Robert Baer <robertbaer@localnet.com> - 2020-02-12 13:10 -0800
Re: Problems with .htaccess file Jasen Betts <jasen@xnet.co.nz> - 2020-02-12 08:20 +0000
Re: Problems with .htaccess file Robert Baer <robertbaer@localnet.com> - 2020-02-12 13:11 -0800
Re: Problems with .htaccess file Jasen Betts <jasen@xnet.co.nz> - 2020-02-13 05:20 +0000
Re: Problems with .htaccess file Robert Baer <robertbaer@localnet.com> - 2020-02-13 22:43 -0800
Re: Problems with .htaccess file Robert Baer <robertbaer@localnet.com> - 2020-02-13 23:49 -0800
Re: Problems with .htaccess file Neon John <no@never.com> - 2020-02-14 10:14 -0500
Re: Problems with .htaccess file "Don Kuenz" <g@crcomp.net> - 2020-02-14 16:03 +0000
Re: Problems with .htaccess file Robert Baer <robertbaer@localnet.com> - 2020-02-14 13:20 -0800
Re: Problems with .htaccess file Robert Baer <robertbaer@localnet.com> - 2020-02-16 19:27 -0800
Re: Problems with .htaccess file Robert Baer <robertbaer@localnet.com> - 2020-02-14 13:18 -0800
Re: Problems with .htaccess file Robert Baer <robertbaer@localnet.com> - 2020-02-16 19:36 -0800
Re: Problems with .htaccess file Grant Taylor <gtaylor@tnetconsulting.net> - 2020-02-12 10:04 -0700
Re: Problems with .htaccess file Robert Baer <robertbaer@localnet.com> - 2020-02-12 13:20 -0800
Re: Problems with .htaccess file Grant Taylor <gtaylor@tnetconsulting.net> - 2020-02-12 15:23 -0700
csiph-web