Anonymous,

Please Login or Register
Download Nuke Evolution Xtreme today for a CMS you can enjoy using and sharing with your friends!
[ Download Now ]
Forum Index  ·  Search  ·  Usergroups  ·  Edit your profile  ·  Members  ·  Login, Check Messages
Arcade  ·  Ranks  ·  Staff  ·  Statistics  ·  Board Rules  ·  Forum FAQ  ·  Log in

Search for at
Evolution-Xtreme Advanced Search


+  
Latest Site News   Next 5 >>  
 Forum   Author   Replies   Last Post 
File Repository 1.0.0 Released Announcements! Lonestar 0 Tue Apr 26, 2016 6:44 am
Lonestar View latest post
Image Repository Released Announcements! Lonestar 1 Mon Oct 27, 2014 7:39 pm
Lonestar View latest post
So what happened to us? Announcements! SgtLegend 0 Tue May 06, 2014 12:32 am
SgtLegend View latest post
[PROGRESS] Nuke Evolution Xtreme 2.0.9e Announcements! SgtLegend 2 Sun May 27, 2012 6:25 pm
SgtLegend View latest post
European Cookie Law Announcements! SgtLegend 0 Sat May 26, 2012 7:33 am
SgtLegend View latest post
   
Recent Topics   Next 15 >>  
 Forum   Author   Replies   Last Post 
Evo staff looking for some volunteers. Community Announcements coRpSE 20 Thu Jul 02, 2015 9:19 am
Depresjon2 View latest post
Evo Xtreme 2.0.9D Updated for PHP 5.6 General Support coRpSE 121 Thu Mar 23, 2017 3:57 pm
casterdon View latest post
[ MOD ] - Honeypot V2.2 AntiBot Module Security coRpSE 106 Tue Nov 22, 2016 11:30 am
coRpSE View latest post
Possible new Admin area layout Comments and Suggestions Lonestar 18 Wed Sep 14, 2016 11:37 am
Blackou View latest post
jQuery update General Support Lonestar 2 Wed May 11, 2016 4:49 pm
Charles64 View latest post
Deutsche Sprachdatei - german language files German DT50R 7 Thu Jan 28, 2016 7:04 am
DT50R View latest post
[FIX] Correct Cookie Settings (Invalid Session Error) Quick fixes killigan 110 Fri Mar 20, 2015 1:06 pm
Macdaddy View latest post
youtube videos in posts wont go full screen Modules PatPgtips 7 Mon Jul 24, 2017 9:42 am
coRpSE View latest post
Realm Designz General Support Thumpit 4 Thu Jul 20, 2017 6:13 pm
Thumpit View latest post
Billing/Invoicing Module Modules Thumpit 5 Wed Jul 19, 2017 2:29 pm
Thumpit View latest post
Sentinel IP2Country Update General Support bobdude 3 Sat Jul 15, 2017 9:26 am
coRpSE View latest post
a new local project www.wnyboards.com Link up skurge 0 Thu Jul 13, 2017 2:45 pm
skurge View latest post
Adding SSL certificate Security allrocknmetal 4 Sat Jul 08, 2017 4:48 am
allrocknmetal View latest post
Anyone know how to get hold of Noto? General Support Richmc 0 Fri Jul 07, 2017 5:18 pm
Richmc View latest post
General Info changes are not Saving once changed General Support Thumpit 2 Fri Jul 07, 2017 12:42 pm
Thumpit View latest post

Cookie settings.

 
Post new topic    Reply to topic    printer-friendly view   Thank Post    Evolution-Xtreme Forum Index -> Quick fixes
View previous topic :: View next topic  
Author Message
Padrino




Joined: May 27, 2010
Posts: 11

Reputation: 1.4


Status: Offline
PostPosted: Sat May 09, 2015 1:06 pm Post subject: No icon Cookie settings. Reply with quote

 Hello,  I  have  some  problem  with  cookies  due  to  parked  domain,  my  site  is  on  the  root,  and  I  know  to  configure  cookies  for  main  domain:
 Cookie  domain:  .mysite.com
 Cookie  name:  mysite
 Cookie  path:  /  
 
 That  works  perfectly,  but  I  also  have  another  domain  "parked",  the  main  domain  is  .com,  and  parked  .net(the  same  name  of  domains),  and  when  I'm  connect  from  parked  domain,  there  are  problem  with  "invalid  session  please  resubmit  the  form",  is  there  a  way  to  configure  cookies  for  two  domains?
 
 I'm  using  the  latest  version  of  Nuke  Evolution  Xtreme  (v2.0.9D  PHP  5.4).  
 
 Thank  you  in  advance  and  greetings!
Back to top
View user's profile Send private message
coRpSE
Xtreme Developer
Xtreme Developer
Site Admin
Site Admin
Support Team
Support Team



Gender: Gender:Male
Joined: Dec 24, 2008
Age: 36
Posts: 1373
Location: Back of your mind!!!
Reputation: 188.7
votes: 10
usa.png


Status: Offline
Web Control Panel: 11.42.0 (build 23)
PostPosted: Sat May 09, 2015 2:10 pm Post subject: No icon Re: Cookie settings. Reply with quote

 Your  .net  points  to  the  .com?
 
 Like  my  site  I  have  www.headshotdomain.net  and  I  also  have  www.headshotdomain.com  and  they  both  go  to  the  same  site,  is  that  what  your  asking?
 
 If  so,  then  what  I  did  was  a  little  .htaccess  trick.
 
 
                                                 
Code:                
RewriteCond  %{HTTP_HOST}  ^headshotdomain.com$  [OR]
 RewriteCond  %{HTTP_HOST}  ^www.headshotdomain.com$  [OR]
 RewriteCond  %{HTTP_HOST}  ^headshotdomain.net$
 RewriteRule  ^(.*)$  http://www.headshotdomain.net/$1  [R=301,L]                

 
 Basically,  I  say  to  the  site,  if  someone  comes  to  my  site  using  headshotdomain.com  OR  www.headshotdomain.com  OR  headshotdomain.net,  it  will  force  them  to  the  www.headshotdomain.net.  If  you  look  at  it,  it  will  change  them  the  www.headshotdomain.net  even  if  you  used  the  .com  or  without  the  www..
 
 That  bit  of  coding  is  in  my  .htaccess  at  the  top  of  my  security  Rewrites.
 
 If  this  is  not  what  your  talking  about  then  ignore  what  I  just  typed,  but  I  believe  your  running  into  the  same  issue  I  did  and  this  is  how  I  solved  it.
Back to top
View user's profile Send private message Visit poster's website
Padrino




Joined: May 27, 2010
Posts: 11

Reputation: 1.4


Status: Offline
PostPosted: Sat May 09, 2015 2:50 pm Post subject: No icon Re: Cookie settings. Reply with quote

 Thank  you,  I  will  trye  that.  But  I  think  that  is  not  pointed,  when  I  bought  web  host,  I  also  bought  domain  .com,  so  that  is  default  domain  of  my  web  site,  and  from  that  domain  everything  works  fine.  Another  domain  .net  is  may  old  domain,  and  it's  registared  in  another  host,  when  I  enter  in  the  control  panel  of  my  web  hosting,  there  are  option  "create  parked  domain/create  a  new  alias",  there  I  have  puted  .net  domain,  than  in  the  control  panel  of  that  domain  I  have  added  name  servers  of  web  hosting,  and  this  mean  that  .net  domain  is  now  parked  im  my  web  hosting  which  uses  .com  domain,  so  when  I  connect  to  my  web  site  from  .com,  in  the  browser  shows  "mysite.com",  when  I  connect  from  .net,  it  shows  "mysite.net",  and  that's  why  I  think  that  .net  is  not  pointed  to  .com,  example  if  .net  is  pointed  to  .com,  and  when  I  connect  from  .net,  in  the  browser  will  show  "mysite.com".  Maybe  I'm  wrong,  I  just  have  added  name  servers  (DNS)  to  .net  domain.
 
 
 Edit:  I  have  tried  your  code,  but  is  not  working,  definitely  .net  is  not  pointed  to  .com.  I  saw  when  I  connect  to  your  site  from  .com,  in  the  browser  shows  .net,  in  my  site  is  not  like  that,  when  I  connect  from  .com,  it  shows  .com,  when  I  connect  from  .net,  it  shows  .net.
Back to top
View user's profile Send private message
Sponsor
webstorm.jpg
coRpSE
Xtreme Developer
Xtreme Developer
Site Admin
Site Admin
Support Team
Support Team



Gender: Gender:Male
Joined: Dec 24, 2008
Age: 36
Posts: 1373
Location: Back of your mind!!!
Reputation: 188.7
votes: 10
usa.png


Status: Offline
Web Control Panel: 11.42.0 (build 23)
PostPosted: Sat May 09, 2015 5:02 pm Post subject: No icon Re: Cookie settings. Reply with quote

                                                   
Quote:                
Thank  you,  I  will  trye  that.  But  I  think  that  is  not  pointed,  when  I  bought  web  host,  I  also  bought  domain  .com,  so  that  is  default  domain  of  my  web  site,  and  from  that  domain  everything  works  fine.  Another  domain  .net  is  may  old  domain,  and  it's  registared  in  another  host,  when  I  enter  in  the  control  panel  of  my  web  hosting,  there  are  option  "create  parked  domain/create  a  new  alias",  there  I  have  puted  .net  domain,  than  in  the  control  panel  of  that  domain  I  have  added  name  servers  of  web  hosting,  and  this  mean  that  .net  domain  is  now  parked  im  my  web  hosting  which  uses  .com  domain,  so  when  I  connect  to  my  web  site  from  .com,  in  the  browser  shows  "mysite.com",  when  I  connect  from  .net,  it  shows  "mysite.net",  and  that's  why  I  think  that  .net  is  not  pointed  to  .com,  example  if  .net  is  pointed  to  .com,  and  when  I  connect  from  .net,  in  the  browser  will  show  "mysite.com".  Maybe  I'm  wrong,  I  just  have  added  name  servers  (DNS)  to  .net  domain.
 
 
 Edit:  I  have  tried  your  code,  but  is  not  working,  definitely  .net  is  not  pointed  to  .com.  I  saw  when  I  connect  to  your  site  from  .com,  in  the  browser  shows  .net,  in  my  site  is  not  like  that,  when  I  connect  from  .com,  it  shows  .com,  when  I  connect  from  .net,  it  shows  .net.                

 
 My  headshotdomain.com  address  is  a  "Parked  Domain".  My  .net  address  is  the  one  I  got  from  my  host.  My  code  does  work,  did  you  clear  your  sites/browsers  cache.  I  essentially  have  exactly  what  you're  doing.  Basically  what  you  need  to  do  is  make  sure  your  site  allows  "RewriteEngine"  to  work,  and  if  it  does,  then  the  code  should  work.
 
 for  example:
 
 here  is  my  whole  Rewrite  section  from  my  site.
 
                                                 
Code:                
<IfModule  mod_rewrite.c>  
 RewriteEngine  On
 #  -------------------------------------------
 #  Security  Rewrites
 #  -------------------------------------------
 
 RewriteCond  %{HTTP_HOST}  ^headshotdomain.com$  [OR]
 RewriteCond  %{HTTP_HOST}  ^www.headshotdomain.com$  [OR]
 RewriteCond  %{HTTP_HOST}  ^headshotdomain.net$
 RewriteRule  ^(.*)$  http://www.headshotdomain.net/$1  [R=301,L]
 RewriteRule  ^name/([a-zA-Z0-9]+)  modules.php?name=$1  [L,NC]
 #  RewriteCond  %{THE_REQUEST}  (\?act\=)  [NC,OR]
 RewriteCond  %{THE_REQUEST}  (sql_login)  [NC,OR]
 RewriteCond  %{THE_REQUEST}  (basepath)  [OR]
 RewriteCond  %{THE_REQUEST}  (libpath)  [OR]
 RewriteCond  %{THE_REQUEST}  (absolute_path)  [OR]
 RewriteCond  %{THE_REQUEST}  (vwar_root)  [OR]
 RewriteCond  %{THE_REQUEST}  (includedir)  [OR]
 RewriteCond  %{THE_REQUEST}  (file=http:\/\/)  [OR]
 RewriteCond  %{THE_REQUEST}  (name=http:\/\/)  [OR]
 RewriteCond  %{THE_REQUEST}  (phpbb_root_path)
 RewriteRule  ^.*$  http://127.0.0.1/  [R=301,L]
 RewriteCond  %{HTTP_USER_AGENT}  EmailSiphon
 RewriteRule  .*  -  [F,L]
 RewriteCond  %{HTTP_USER_AGENT}  Exabot
 RewriteRule  .*  -  [F,L]
 RewriteCond  %{HTTP_USER_AGENT}  Twiceler
 RewriteRule  .*  -  [F,L]
 RewriteCond  %{HTTP_USER_AGENT}  ^[Tt]wiceler
 RewriteRule  ^.*  YourRudeRobotIsTresspassingMyCompter.txt  [R=301,L]                

 
 I  have  some  additional  stuff  I  put  on  for  security  and  keep  pesky  bots  off  my  site.  Try  coping  my  code  there  and  put  it  in  your  .htaccess  replacing  yours  and  put  on  your  site  and  clear  both  your  sites  cache  and  your  browsers  cache.  Also,  make  sure  to  replace  the  "headshotdomain"  with  your  site.  Also,  be  sure  to  make  a  backup  of  your  .htaccess  just  in  case.
 
 Who  is  your  host?  Just  wondering.
 I  ask  because  if  your  site  is  not  running  Apache,  then  this  will  not  work.  Contacting  your  host  they  may  be  able  to  help  if  that's  the  case.
Back to top
View user's profile Send private message Visit poster's website
Padrino




Joined: May 27, 2010
Posts: 11

Reputation: 1.4


Status: Offline
PostPosted: Sat May 09, 2015 5:45 pm Post subject: No icon Re: Cookie settings. Reply with quote

 It  works  now,  thank  you  very  much!  The  problem  was  certainly  because  I  forgot  to  clear  cache  the  first  time  when  I  tried  your  code.  My  host  is  GoDaddy,  and  thank  you  once  again,  I  appreciate  your  help.
 
 Best  regards!
Back to top
View user's profile Send private message
coRpSE
Xtreme Developer
Xtreme Developer
Site Admin
Site Admin
Support Team
Support Team



Gender: Gender:Male
Joined: Dec 24, 2008
Age: 36
Posts: 1373
Location: Back of your mind!!!
Reputation: 188.7
votes: 10
usa.png


Status: Offline
Web Control Panel: 11.42.0 (build 23)
PostPosted: Sat May 09, 2015 8:38 pm Post subject: No icon Re: Cookie settings. Reply with quote

 Glad  to  hear.
Back to top
View user's profile Send private message Visit poster's website
Sponsor
webstorm.jpg
Display posts from previous:
Post new topic  Reply to topic   printer-friendly view   Thank Post Evolution-Xtreme Forum Index ->  Quick fixes All times are UTC - 5 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
This topic is locked: you cannot edit posts or make replies. Announcement: [BETA][RELEASED] Nuke Evolution 2.0.8 0 SgtLegend 3897 Fri May 28, 2010 4:54 am
SgtLegend View latest post
No new posts Dutch Language for Xtreme V2.0 4 DFC-NightMare[NL] 4084 Wed May 01, 2013 1:18 pm
coRpSE View latest post
No new posts [Solved] Birhday mod 3.0 missing: 18 Huntergreen 12204 Mon Mar 04, 2013 7:54 pm
Teo View latest post
No new posts help upgrading to evo xtream 2.0.7 1 kirky12 3904 Thu Sep 02, 2010 10:06 am
SgtLegend View latest post
This topic is locked: you cannot edit posts or make replies. [ Poll ] Xtreme v2.0 52 Lonestar 21346 Wed Oct 14, 2009 2:51 am
SgtLegend View latest post
 




Powered by phpBB © 2001, 2006 phpBB Group
EvoXtreme Theme by SgtLegend ©
Forums ©