vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   .htaccess command to stop cache on forum folder? (https://vborg.vbsupport.ru/showthread.php?t=316324)

THG 12-30-2014 10:55 PM

.htaccess command to stop cache on forum folder?
 
I have WordPress installed on my hosting account along with VBulletin and my folders are being cached. This is causing login problems where I have to keep hitting refresh on the browser to show I'm logged in.

Is there a .htaccess Rewrite command I could enter to STOP caching my forum folder?

Any help would be appreciated!

Thanks

ozzy47 12-30-2014 11:47 PM

If you stop caching, then your server load is going to go up, as well as page load times, as your are not serving cached content.

Is the login issue only happening to the vBulletin side, or WordPress side?

THG 12-30-2014 11:54 PM

Only on VBulletin side.

I opened a ticket with VBulletin support and they told me it's my caching in my .htaccess file that's causing the issue and to somehow block the forum folder to prevent my login issue.

I disabled it to see what would happen (I'm using the WordPress plugin WP Super Cache) and it got a little bit better. I can login to VBulletin, click around and I stay logged in. However, as soon as I go back to the homepage it appears that I'm logged out. I have to hit Refresh in order to show that I'm logged in.

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

Completely, removed WP Super Cache until I get this resolved. The issue still happens. So it's definitely not the caching plugin.

ozzy47 12-31-2014 12:05 AM

Not sure, but perhaps this.

Code:

<IfModule mod_expires.c>
# disable caching forthis directory mod_expires for this directory
ExpiresActive off
</IfModule>


THG 12-31-2014 12:15 AM

Thanks. Same results though ;-( stays logged in everywhere else. As soon as return to homepage of the forum, user is logged out. I have to hit refresh to appear logged in.

ozzy47 12-31-2014 12:18 AM

I am not sure then, as I have not experienced this issue before. What's the link to the thread on vB.com?

THG 12-31-2014 12:21 AM

I noticed that support threads go over there after posting this.

I created an account over there, but can't post yet. Although in my Member's Area I have the box checked for both .com and .org. Since I just created the account on VBulletin.com, I think I have to wait for it to hit the system before I can post.

ozzy47 12-31-2014 12:25 AM

Sorry, I misread, you said a ticket, not a post.


All times are GMT. The time now is 12:03 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.00997 seconds
  • Memory Usage 1,718KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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