vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   i have a problem with www (https://vborg.vbsupport.ru/showthread.php?t=212845)

Alexey? 05-04-2009 04:43 PM

i have a problem with www
 
this is a login problem,
when user connecting in xxx.co.il it doesnt save in www.xxx.co.il
and i want that if i will connect in xxx.co.il the user name and password will be saved to www.xxx.co.il

how to do that?

Lynne 05-04-2009 05:00 PM

Do a search in this forum for htaccess. This issue has been covered several times recently.

Alexey? 05-04-2009 05:18 PM

i searched already but i dont think that this is what i'm looking for.
once i saw that somebody help to some one form vB options and this is what i need

Lynne 05-04-2009 06:27 PM

You can set the cookie domain to .xxx.co.li . Perhaps that is what you are thinking of.

Alexey? 05-06-2009 05:37 AM

this is what i want but how?

nomoreturn 05-06-2009 08:06 AM

Originally Posted by Lynne
There are quite a few threads here about that, like this one here - Forwarding http:// to http://www.
https://vborg.vbsupport.ru/showthrea...light=htaccess


#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

i replace these codes in my .htaccess file with

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

and now my site working properly and there's no problem in user login http://mysite.com changed automatically in http://www.mysite.com

Alexey? 05-06-2009 03:03 PM

Cool tnx, it worked


All times are GMT. The time now is 10:39 PM.

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.03380 seconds
  • Memory Usage 1,726KB
  • 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
  • (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