vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to Direct register.php / login.php to https ? (https://vborg.vbsupport.ru/showthread.php?t=271055)

prandah 09-28-2011 02:48 PM

How to Direct register.php / login.php to https ?
 
Hello,
i have question
how to direct link register.php and login.php ( just register and user login ) to
https://www.someweb.com/register.php or https://www.someweb.com/login.php?do=login

robwoelich 11-21-2011 07:10 PM

I've done this for login, though not for registration - I may do that shortly. I've written a brief tutorial on it (the tutorial was based on vB3 but shouldn't differ much for vB4):

http://www.406computers.com/forum/sh...?p=108#post108

furnival 06-13-2014 01:47 PM

Does anyone know how to do this please? (The link below is dead).

Quote:

Originally Posted by robwoelich (Post 2270470)
I've done this for login, though not for registration - I may do that shortly. I've written a brief tutorial on it (the tutorial was based on vB3 but shouldn't differ much for vB4):

http://www.406computers.com/forum/sh...?p=108#post108


Dave 06-13-2014 02:32 PM

Quote:

Originally Posted by furnival (Post 2501774)
Does anyone know how to do this please? (The link below is dead).

It's not really clear to me what OP and you want, could you explain it to me?

RichieBoy67 06-13-2014 03:37 PM

I believe they want just the login and registration pages to use the https:// ssl cert url but not the entire forum.

This is done with htaccess.

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

Look here:

http://stackoverflow.com/questions/5...-with-htaccess

Dave 06-13-2014 04:40 PM

The issue with a HTTPS redirection is that the login page will only show up when credentials are being sent to the page. This means that you have to modify the login form in the (headinclude?) template as well so that it will sent the credentials over HTTPS right away, else it kills the purpose of your HTTPS connection.

A redirection on the register/login page shouldn't be too hard, you can do that with a plugin bound to the global_start hook.

thetechgenius 06-14-2014 01:44 AM

I have setup my forum to use SSL/HTTPS throughout the entire forum. I never tried to just redirect login/register to https though. When you use the regular "HTTP" on my site, my server redirects you to "HTTPS" on its own.

I did this with a "web.config" file (Windows Server 2008R2) with the Rewite_Module Rules. On linux its done with a ".htaccess" file. However, I forget the exact Rewrite Rules for ".htaccess" (Linux), so I can't help you there. But if you are on a Windows Based server, I could help you out with the "web.config" file if you like.

I don't think you are on windows though, since most people use Linux as their server OS. I was going to use Linux, but I didnt want to pay all that money for cPanel, since I own my own dedicated server. lol


All times are GMT. The time now is 09:30 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.06498 seconds
  • Memory Usage 1,723KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete