[Lilug] .htaccess

Orrin Edwards lilug at orrin.fastmail.net
Thu Jan 4 09:19:13 PST 2018


Thanks for the info!

------------------------------------------

Orrin
http://orrin.org/


----- Original message -----
From: odinson <odinson at warcloud.net>
To: LILUG Mailing List <lilug at lists.lilug.org>
Subject: Re: [Lilug] .htaccess
Date: Wed, 3 Jan 2018 21:30:11 -0500 (EST)


Roughly

Error 301 is a permenant redirect.

If someone tries to pass an argument to a web page apache gives them a
permanent redirect.  Check your logs and you should see exactly where.

Matt


On Wed, 3 Jan 2018, Orrin Edwards wrote:

> Hello All,
> 
> In the process up updating my website .htaccess file for SSL, I found> some code for whichI do not remember its purpose. Maybe one of you can
> tell me what it> does.
> *RewriteEngine On**
> *
> *RewriteCond %{QUERY_STRING} !=""**
> *
> *RewriteRule ^(.*)$ /$1? [R=301,L]*
> 
> 
> 
> ------------------------------------------
> 
> Orrin
> http://orrin.org/
> 
> 


---------------------------------------------------------------------
----------Matthew Newhall, M.A.Newhall at warcloud.net
A.S. in Computer Science, SUNY Farmingdale
President and founder of LILUG;  president at lilug.org,
http://www.lilug.orgMy theory; Psychopaths precede the conscience,
http://civgene.matthewnewhall.comMy maker blog; "The modness", http://themodness.wordpress.com
Scifi book; "Thicker Than Blood"  http://www.thickerthanbloodthebook.comGiselle's husband, Sebastian and Maxximus's father.
http://www.warcloud.net/~odinson/us/
Conservatives:No need to question, analyze, or improve, God overcomes allanyway.

Liberals:No need to doubt, examine, or achieve results, man will evolvebeyond it anyway.

What's the difference?
---------------------------------------------------------------------
----------_________________________________________________
Lilug mailing list
Lilug at lists.lilug.org
http://lists.lilug.org/listinfo.cgi/lilug-lilug.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lilug.org/pipermail/lilug-lilug.org/attachments/20180104/08f3f706/attachment.html>


More information about the Lilug mailing list