.htaccess - Redirect cronjob output to http instead of https joomla -


a little stuck coding isn't thing thought i'd ask, ive trolled through google , stackoverflow can't find answer works. need redirect https://www.doughillardsports.co.uk/index.php?option=com_akeeba&view=check&key=srtb8wwqmjqq4yaqaivqn4mcsfshfplp http in .htaccess file. here code.

## no directory listings indexignore *  ## can commented out if causes errors, see notes above. options +followsymlinks options -indexes  ## mod_rewrite in use.  rewriteengine on  ## begin - rewrite rules block out common exploits. # if experience problems on site block out operations listed   below  # attempts block common type of exploit `attempts` joomla! # # block out script trying base64_encode data within url. rewritecond %{query_string} base64_encode[^(]*\([^)]*\) [or] # block out script includes <script> tag in url. rewritecond %{query_string} (<|%3c)([^s]*s)+cript.*(>|%3e) [nc,or] # block out script trying set php globals variable via url. rewritecond %{query_string} globals(=|\[|\%[0-9a-z]{0,2}) [or] # block out script trying modify _request variable via url. rewritecond %{query_string} _request(=|\[|\%[0-9a-z]{0,2}) # return 403 forbidden header , show content of root homepage rewriterule .* index.php [f] # ## end - rewrite rules block out common exploits.  ## begin - custom redirects # # if need redirect pages, or set canonical non-www # www redirect (or vice versa), place code here. ensure # redirects use correct rewriterule syntax , [r=301,l] flags. # ## end - custom redirects  ## # uncomment following line if webserver's url # not directly related physical file paths. # update joomla! directory (just / root). ##  # rewritebase /  ## begin - joomla! core sef section. # rewriterule .* - [e=http_authorization:%{http:authorization}] # # if requested path , file not /index.php , request # has not been internally rewritten index.php script rewritecond %{request_uri} !^/index\.php # , requested path , file doesn't directly match physical file rewritecond %{request_filename} !-f # , requested path , file doesn't directly match physical folder rewritecond %{request_filename} !-d # internally rewrite request index.php script rewriterule .* index.php [l] # ## end - joomla! core sef section. rewriteengine on rewritecond %{https} on rewriterule ^ http://www.doughillardsports.co.uk/index.php?    option=com_akeeba&view=check&key=srtb8wwqmjqq4yaqaivqn4mcsfshfplp [r=301,l] 

any great if @ all.

you can achieve http using below, force http on if https on.

rewriteengine on  #check see if https, if so, make http rewritecond %{https} on rewriterule ^ http://%{http_host}%{request_uri} [l,r=301] 

Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -