Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.computer > #11572 > unrolled thread

Problems with .htaccess file

Started byRobert Baer <robertbaer@localnet.com>
First post2020-02-11 23:00 -0800
Last post2020-02-12 15:23 -0700
Articles 17 — 6 participants

Back to article view | Back to alt.computer


Contents

  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

#11572 — Problems with .htaccess file

FromRobert Baer <robertbaer@localnet.com>
Date2020-02-11 23:00 -0800
SubjectProblems with .htaccess file
Message-ID<soN0G.16198$2Y3.12284@fx29.iad>
   My site works well now, with the .htaccess file disabled.
   I edited it and commented out all of the lines that redirect HTTP to 
HTTPS, and oil4lessllc.com to www.oil4lessllc.com and all variants i 
collected.

   Re-enabling it makes my site unaccesable, and i get repetitive 
"calls", like
https://www.oil4lessllc.com/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/
  Until something gets filled or otherwise runs out of steam.

   And i have no clue as to what is messing up.

   AFAIK there are no debuggers or tracers or other helpful 
programs/adders/overlays etc.

   Ideas?
   Thanks.

[toc] | [next] | [standalone]


#11573

FromJeroen Belleman <jeroen@nospam.please>
Date2020-02-12 08:57 +0100
Message-ID<r20b5p$mg1$1@gioia.aioe.org>
In reply to#11572
On 2020-02-12 08:00, Robert Baer wrote:
>    My site works well now, with the .htaccess file disabled.
>    I edited it and commented out all of the lines that redirect HTTP to 
> HTTPS, and oil4lessllc.com to www.oil4lessllc.com and all variants i 
> collected.
> 
>    Re-enabling it makes my site unaccesable, and i get repetitive 
> "calls", like
> https://www.oil4lessllc.com/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/ 
> 
>   Until something gets filled or otherwise runs out of steam.
> 
>    And i have no clue as to what is messing up.
> 
>    AFAIK there are no debuggers or tracers or other helpful 
> programs/adders/overlays etc.
> 
>    Ideas?
>    Thanks.

I had some similar trouble for a while, and no clue what was
wrong either. I finally realized that a mixture of http and
https with absolute URLs doesn't work anymore. Use relative
URLs wherever you can.

Jeroen Belleman

[toc] | [prev] | [next] | [standalone]


#11576

FromRobert Baer <robertbaer@localnet.com>
Date2020-02-12 13:10 -0800
Message-ID<TQZ0G.33984$MB7.23805@fx13.iad>
In reply to#11573
Jeroen Belleman wrote:
> On 2020-02-12 08:00, Robert Baer wrote:
>>    My site works well now, with the .htaccess file disabled.
>>    I edited it and commented out all of the lines that redirect HTTP 
>> to HTTPS, and oil4lessllc.com to www.oil4lessllc.com and all variants 
>> i collected.
>>
>>    Re-enabling it makes my site unaccesable, and i get repetitive 
>> "calls", like
>> https://www.oil4lessllc.com/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/ 
>>
>>   Until something gets filled or otherwise runs out of steam.
>>
>>    And i have no clue as to what is messing up.
>>
>>    AFAIK there are no debuggers or tracers or other helpful 
>> programs/adders/overlays etc.
>>
>>    Ideas?
>>    Thanks.
> 
> I had some similar trouble for a while, and no clue what was
> wrong either. I finally realized that a mixture of http and
> https with absolute URLs doesn't work anymore. Use relative
> URLs wherever you can.
> 
> Jeroen Belleman
   Yes; that is what i do.
   But what i need is either a reasonable way to find out what is wrong 
with my .htaccess file (and fix it),or some expert to fix it.

	Thanks.

[toc] | [prev] | [next] | [standalone]


#11574

FromJasen Betts <jasen@xnet.co.nz>
Date2020-02-12 08:20 +0000
Message-ID<r20cgk$8ge$1@gonzo.revmaps.no-ip.org>
In reply to#11572
On 2020-02-12, Robert Baer <robertbaer@localnet.com> wrote:
>    My site works well now, with the .htaccess file disabled.
>    I edited it and commented out all of the lines that redirect HTTP to 
> HTTPS, and oil4lessllc.com to www.oil4lessllc.com and all variants i 
> collected.
>
>    Re-enabling it makes my site unaccesable, and i get repetitive 
> "calls", like
> https://www.oil4lessllc.com/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/
>   Until something gets filled or otherwise runs out of steam.
>
>    And i have no clue as to what is messing up.
>
>    AFAIK there are no debuggers or tracers or other helpful 
> programs/adders/overlays etc.
>
>    Ideas?
>    Thanks.

set a different document root for http and https 

leave index.html out of the redirect


-- 
  Jasen.

[toc] | [prev] | [next] | [standalone]


#11577

FromRobert Baer <robertbaer@localnet.com>
Date2020-02-12 13:11 -0800
Message-ID<zSZ0G.33985$MB7.1881@fx13.iad>
In reply to#11574
Jasen Betts wrote:
> On 2020-02-12, Robert Baer <robertbaer@localnet.com> wrote:
>>     My site works well now, with the .htaccess file disabled.
>>     I edited it and commented out all of the lines that redirect HTTP to
>> HTTPS, and oil4lessllc.com to www.oil4lessllc.com and all variants i
>> collected.
>>
>>     Re-enabling it makes my site unaccesable, and i get repetitive
>> "calls", like
>> https://www.oil4lessllc.com/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/
>>    Until something gets filled or otherwise runs out of steam.
>>
>>     And i have no clue as to what is messing up.
>>
>>     AFAIK there are no debuggers or tracers or other helpful
>> programs/adders/overlays etc.
>>
>>     Ideas?
>>     Thanks.
> 
> 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.

[toc] | [prev] | [next] | [standalone]


#11581

FromJasen Betts <jasen@xnet.co.nz>
Date2020-02-13 05:20 +0000
Message-ID<r22mau$8is$1@gonzo.revmaps.no-ip.org>
In reply to#11577
On 2020-02-12, Robert Baer <robertbaer@localnet.com> wrote:
> Jasen Betts wrote:
>> On 2020-02-12, Robert Baer <robertbaer@localnet.com> wrote:
>>>     My site works well now, with the .htaccess file disabled.
>>>     I edited it and commented out all of the lines that redirect HTTP to
>>> HTTPS, and oil4lessllc.com to www.oil4lessllc.com and all variants i
>>> collected.
>>>
>>>     Re-enabling it makes my site unaccesable, and i get repetitive
>>> "calls", like
>>> https://www.oil4lessllc.com/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/
>>>    Until something gets filled or otherwise runs out of steam.
>>>
>>>     And i have no clue as to what is messing up.
>>>
>>>     AFAIK there are no debuggers or tracers or other helpful
>>> programs/adders/overlays etc.
>>>
>>>     Ideas?
>>>     Thanks.
>> 
>> 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.

-- 
  Jasen.

[toc] | [prev] | [next] | [standalone]


#11582

FromRobert Baer <robertbaer@localnet.com>
Date2020-02-13 22:43 -0800
Message-ID<Rkr1G.70662$Bz7.38415@fx24.iad>
In reply to#11581
Jasen Betts wrote:
> On 2020-02-12, Robert Baer <robertbaer@localnet.com> wrote:
>> Jasen Betts wrote:
>>> On 2020-02-12, Robert Baer <robertbaer@localnet.com> wrote:
>>>>      My site works well now, with the .htaccess file disabled.
>>>>      I edited it and commented out all of the lines that redirect HTTP to
>>>> HTTPS, and oil4lessllc.com to www.oil4lessllc.com and all variants i
>>>> collected.
>>>>
>>>>      Re-enabling it makes my site unaccesable, and i get repetitive
>>>> "calls", like
>>>> https://www.oil4lessllc.com/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/
>>>>     Until something gets filled or otherwise runs out of steam.
>>>>
>>>>      And i have no clue as to what is messing up.
>>>>
>>>>      AFAIK there are no debuggers or tracers or other helpful
>>>> programs/adders/overlays etc.
>>>>
>>>>      Ideas?
>>>>      Thanks.
>>>
>>> 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.
> 
   Typo; HTTP re-directed to HTTPS elsewhere.

[toc] | [prev] | [next] | [standalone]


#11584

FromRobert Baer <robertbaer@localnet.com>
Date2020-02-13 23:49 -0800
Message-ID<His1G.185255$db6.8054@fx33.iad>
In reply to#11582
Robert Baer wrote:
> Jasen Betts wrote:
>> On 2020-02-12, Robert Baer <robertbaer@localnet.com> wrote:
>>> Jasen Betts wrote:
>>>> On 2020-02-12, Robert Baer <robertbaer@localnet.com> wrote:
>>>>>      My site works well now, with the .htaccess file disabled.
>>>>>      I edited it and commented out all of the lines that redirect 
>>>>> HTTP to
>>>>> HTTPS, and oil4lessllc.com to www.oil4lessllc.com and all variants i
>>>>> collected.
>>>>>
>>>>>      Re-enabling it makes my site unaccesable, and i get repetitive
>>>>> "calls", like
>>>>> https://www.oil4lessllc.com/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/ 
>>>>>
>>>>>     Until something gets filled or otherwise runs out of steam.
>>>>>
>>>>>      And i have no clue as to what is messing up.
>>>>>
>>>>>      AFAIK there are no debuggers or tracers or other helpful
>>>>> programs/adders/overlays etc.
>>>>>
>>>>>      Ideas?
>>>>>      Thanks.
>>>>
>>>> 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.
>>
>    Typo; HTTP re-directed to HTTPS elsewhere.
> 
   I have chopped the .htaccess file so only the first 267 lines exist, 
and that works.

[toc] | [prev] | [next] | [standalone]


#11585

FromNeon John <no@never.com>
Date2020-02-14 10:14 -0500
Message-ID<o0cd4flha7lmu31aoshsh1j61m9b1vds0s@4ax.com>
In reply to#11584
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

[toc] | [prev] | [next] | [standalone]


#11586

From"Don Kuenz" <g@crcomp.net>
Date2020-02-14 16:03 +0000
Message-ID<20200214a@crcomp.net>
In reply to#11585
Neon John wrote:
>  Robert Baer wrote:

<snip>

>>   I have chopped the .htaccess file so only the first 267 lines
>>   exist, and that works.

> 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.

Robert, your thread captivated me from the start. Regretfully, my 
impulse to suggest that you simply whittle your .htaccess file down 
wasn't shared because it wasn't nearly as "sexy" as the silver bullets 
offered by others. My own .htaccess file for https://crcomp.net contains
a grand total of 9 lines. So, whatever's going on in your .htaccess file
is a little out of my league.

John, Let's Encrypt [1] also caught my eye a while ago. QTH [2] is 
listed as one of the fully automatic Let's Encrypt providers. [3] QTH is
also a ham radio prosign. It's a shame that it took me so long to hook 
up with a provider that's head and shoulders above the rest. QTH 
provides all of the unix (BSD) goodies that don't even begin to register
with the typical Microsoft centric hosting vendor.
 
Note.

[1] https://letsencrypt.org/
[2] https://hosting.qth.com/
[3] https://community.letsencrypt.org/t/web-hosting-who-support-lets-encrypt/6920#full

Thank you,

-- 
Don Kuenz KB7RPU
There was a young lady named Bright Whose speed was far faster than light;
She set out one day In a relative way And returned on the previous night.

[toc] | [prev] | [next] | [standalone]


#11589

FromRobert Baer <robertbaer@localnet.com>
Date2020-02-14 13:20 -0800
Message-ID<XaE1G.188556$_R3.136640@fx36.iad>
In reply to#11586
Don Kuenz wrote:
> Neon John wrote:
>>   Robert Baer wrote:
> 
> <snip>
> 
>>>    I have chopped the .htaccess file so only the first 267 lines
>>>    exist, and that works.
> 
>> 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.
> 
> Robert, your thread captivated me from the start. Regretfully, my
> impulse to suggest that you simply whittle your .htaccess file down
> wasn't shared because it wasn't nearly as "sexy" as the silver bullets
> offered by others. My own .htaccess file for https://crcomp.net contains
> a grand total of 9 lines. So, whatever's going on in your .htaccess file
> is a little out of my league.
> 
> John, Let's Encrypt [1] also caught my eye a while ago. QTH [2] is
> listed as one of the fully automatic Let's Encrypt providers. [3] QTH is
> also a ham radio prosign. It's a shame that it took me so long to hook
> up with a provider that's head and shoulders above the rest. QTH
> provides all of the unix (BSD) goodies that don't even begin to register
> with the typical Microsoft centric hosting vendor.
>   
> Note.
> 
> [1] https://letsencrypt.org/
> [2] https://hosting.qth.com/
> [3] https://community.letsencrypt.org/t/web-hosting-who-support-lets-encrypt/6920#full
> 
> Thank you,
> 
   Thanks.

[toc] | [prev] | [next] | [standalone]


#11604

FromRobert Baer <robertbaer@localnet.com>
Date2020-02-16 19:27 -0800
Message-ID<7Ln2G.121192$8Y7.100980@fx05.iad>
In reply to#11589
Robert Baer wrote:
> Don Kuenz wrote:
>> Neon John wrote:
>>>   Robert Baer wrote:
>>
>> <snip>
>>
>>>>    I have chopped the .htaccess file so only the first 267 lines
>>>>    exist, and that works.
>>
>>> 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.
>>
>> Robert, your thread captivated me from the start. Regretfully, my
>> impulse to suggest that you simply whittle your .htaccess file down
>> wasn't shared because it wasn't nearly as "sexy" as the silver bullets
>> offered by others. My own .htaccess file for https://crcomp.net contains
>> a grand total of 9 lines. So, whatever's going on in your .htaccess file
>> is a little out of my league.
>>
>> John, Let's Encrypt [1] also caught my eye a while ago. QTH [2] is
>> listed as one of the fully automatic Let's Encrypt providers. [3] QTH is
>> also a ham radio prosign. It's a shame that it took me so long to hook
>> up with a provider that's head and shoulders above the rest. QTH
>> provides all of the unix (BSD) goodies that don't even begin to register
>> with the typical Microsoft centric hosting vendor.
>> Note.
>>
>> [1] https://letsencrypt.org/
>> [2] https://hosting.qth.com/
>> [3] 
>> https://community.letsencrypt.org/t/web-hosting-who-support-lets-encrypt/6920#full 
>>
>>
>> Thank you,
>>
>    Thanks.
> 
   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.

[toc] | [prev] | [next] | [standalone]


#11588

FromRobert Baer <robertbaer@localnet.com>
Date2020-02-14 13:18 -0800
Message-ID<59E1G.188555$_R3.142098@fx36.iad>
In reply to#11585
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.

[toc] | [prev] | [next] | [standalone]


#11605

FromRobert Baer <robertbaer@localnet.com>
Date2020-02-16 19:36 -0800
Message-ID<VSn2G.143056$eK6.110591@fx16.iad>
In reply to#11588
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.

[toc] | [prev] | [next] | [standalone]


#11575

FromGrant Taylor <gtaylor@tnetconsulting.net>
Date2020-02-12 10:04 -0700
Message-ID<r21b6r$fvn$1@tncsrv09.home.tnetconsulting.net>
In reply to#11572
On 2/12/20 12:00 AM, Robert Baer wrote:
>    And i have no clue as to what is messing up.

Do you have a backup of a working version that you can compare to?

>    AFAIK there are no debuggers or tracers or other helpful 
> programs/adders/overlays etc.

Are you running Apache (I've not looked at headers) or something else 
that uses the .htaccess file?

>    Ideas?

Presuming that you're running Apche HTTPD.  —  My guess, is that you're 
missing some RewriteCond statements to only apply the RewriteRule(s) to 
the proper requests.

It looks like you've likely got a recursive loop.

Email me directly if you'd like to discuss this further.  (I don't feel 
like this is sci.electronics.design related.)

>    Thanks.

Good luck.



-- 
Grant. . . .
unix || die

[toc] | [prev] | [next] | [standalone]


#11578

FromRobert Baer <robertbaer@localnet.com>
Date2020-02-12 13:20 -0800
Message-ID<G_Z0G.204122$Mc.7007@fx35.iad>
In reply to#11575
Grant Taylor wrote:
> On 2/12/20 12:00 AM, Robert Baer wrote:
>>    And i have no clue as to what is messing up.
> 
> Do you have a backup of a working version that you can compare to?
* I have learned the hard way to have backup versions.
   But i also know i never had a working version.

> 
>>    AFAIK there are no debuggers or tracers or other helpful 
>> programs/adders/overlays etc.
> 
> Are you running Apache (I've not looked at headers) or something else 
> that uses the .htaccess file?
* Yes; Apache.

> 
>>    Ideas?
> 
> Presuming that you're running Apche HTTPD.  —  My guess, is that you're 
> missing some RewriteCond statements to only apply the RewriteRule(s) to 
> the proper requests.
* That may be if and when i can get to the point where the .htaccess 
file works at all.
   Right now,i have all of that stuff commented out and the file does 
not work.
   Seems to prevent CSS to do anything; cannot say about JavaScript.


> 
> It looks like you've likely got a recursive loop.
> 
> Email me directly if you'd like to discuss this further.  (I don't feel 
> like this is sci.electronics.design related.)
* Correct, but there are so many people here that know so many other 
things, and i am in a pickle; that is the why of the posting.

> 
>>    Thanks.
> 
> Good luck.
> 
> 
> 
	Thanks.

[toc] | [prev] | [next] | [standalone]


#11579

FromGrant Taylor <gtaylor@tnetconsulting.net>
Date2020-02-12 15:23 -0700
Message-ID<r21tt4$cvp$1@tncsrv09.home.tnetconsulting.net>
In reply to#11578
On 2/12/20 2:20 PM, Robert Baer wrote:
> * I have learned the hard way to have backup versions.  But i also 
> know i never had a working version.

;-)

> * That may be if and when i can get to the point where the .htaccess 
> file works at all.  Right now,i have all of that stuff commented out 
> and the file does not work.  Seems to prevent CSS to do anything; 
> cannot say about JavaScript.

Does your recent (alt.computer) "Redirect: www.name.com <--> name.com" 
thread encompass what you are wanting to do?  If not, do you have a 
description that I can read?

I've got a number of conditional redirects on my site.  I'm happy to 
share things as a template and / or debug your config.

Note:  You can put the redirect in .htaccess files (presuming the server 
is configured to use them) or in the main server configuration file(s). 
I personally prefer the main configuration file(s) and disable .htaccess 
support for security reasons.

> * Correct, but there are so many people here that know so many other 
> things, and i am in a pickle; that is the why of the posting.

I get posting and asking question.  I'm replying in alt.computer and 
have removed sci.electronics.design.  I've posted similar calls for help 
to multiple newsgroups, particularly active newsgroups, and set the 
Followup-To: so that replies go to the on topic group.



-- 
Grant. . . .
unix || die

[toc] | [prev] | [standalone]


Back to top | Article view | alt.computer


csiph-web