vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   https redirect login problem (https://vborg.vbsupport.ru/showthread.php?t=303413)

findingpeace 10-15-2013 12:32 AM

Great! Check out http://gunsgrubandgold.com now

It goes to https://www.gunsgrubandgold.com for me :)

Last one that still isn't working:

http://www.gunsgrubandgold.com does not go to https.

At the very, very end of your .htaccess, could you uncomment this:

Code:

RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}


pityocamptes 10-15-2013 12:33 AM

ok changed it

--------------- Added [DATE]1381804476[/DATE] at [TIME]1381804476[/TIME] ---------------

Looks like it blew up...

findingpeace 10-15-2013 12:36 AM

Alright, got the error - let's uncomment again. Let me figure out what it's clashing with.

Will post back in a sec- Thanks!

pityocamptes 10-15-2013 12:37 AM

Ok, Thanks!!! Will be waiting... ;)

findingpeace 10-15-2013 12:43 AM

Could you try putting this at the bottom of .htaccess?

Code:

RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://www.gunsgrubandgold.com%{REQUEST_URI}

--------------- Added [DATE]1381805596[/DATE] at [TIME]1381805596[/TIME] ---------------

If that one doesn't work, try this one instead. Put it up top, right beneath our other top rule

Code:

RewriteCond %{HTTP_HOST} http://www.gunsgrubandgold.com$ [NC]
RewriteRule ^(.*)$ https://www.gunsgrubandgold.com/$1 [R=301,L]

Going to bed now - good luck, you're almost there! In the end, every one of the
following URLs should be going to https://www.gunsgrubandgold.com:

https://www.gunsgrubandgold.com
http://gunsgrubandgold.com
https://gunsgrubandgold.com
http://www.gunsgrubandgold.com

So far, we've got all but that last one :)

pityocamptes 10-15-2013 01:04 AM

Thanks. The last one still does not redirect to https... thx Here is the htaccess:

RewriteEngine on

RewriteCond %{HTTP_HOST} !^www.XXXXXXXXXXXXX.com$ [NC]
RewriteRule ^(.*)$ https://www.XXXXXXXXXXXXXX.com/$1 [R=301,L]

RewriteEngine on

RewriteCond %{HTTP_HOST} http://www.XXXXXXXXXX.com$ [NC]
RewriteRule ^(.*)$ https://www.XXXXXXXXXXXXXXXXX.com/$1 [R=301,L]

findingpeace 10-15-2013 01:09 AM

Redirects for me! Try in an incognito tab, so nothing is cached. I think you are good to go :) Click this one:

http://www.gunsgrubandgold.com

--------------- Added [DATE]1381806594[/DATE] at [TIME]1381806594[/TIME] ---------------

Oops, it was working a second ago - back to http now. Did you change anything recently?

pityocamptes 10-15-2013 01:12 AM

Yea, damn, what should I change back the first or the second?

findingpeace 10-15-2013 01:13 AM

Just try each of these (individually)

https://vborg.vbsupport.ru/showpost....4&postcount=25

Save .htaccess, then click this link:

http://www.gunsgrubandgold.com

One of them was properly redirecting that to https

pityocamptes 10-15-2013 01:14 AM

I got it! I added this under the first rule:

RewriteCond %{SERVER_PORT} !443
RewriteRule (.*) https://www.gunsgrubandgold.com [R=301,L]

Does it work for you now?

--------------- Added [DATE]1381806956[/DATE] at [TIME]1381806956[/TIME] ---------------

Thanks! I think that fixed the redirect error when logging in when I would put www.gunsgrubandgold.com in the browser

--------------- Added [DATE]1381806996[/DATE] at [TIME]1381806996[/TIME] ---------------

Please confirm that t works. The reason I was asking is should I go through this post and delete the htaccess info, is it a security risk? Thanks.


All times are GMT. The time now is 07:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01993 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete