vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Need some help on htaccess and admincp (https://vborg.vbsupport.ru/showthread.php?t=308806)

Lynne 02-24-2014 12:00 AM

It works in firefox? How about logging out of the site, clearing your cookies AND browser history and then trying to login.

pityocamptes 02-24-2014 12:05 AM

Very strange... closed browser, cleared cache and cookies, opened back up and still can't get in...

ozzy47 02-24-2014 12:05 AM

OK Pm me a admin account and I will see if I can replicate the issue. Make sure you removed all the code from the .htaccess.

pityocamptes 02-24-2014 12:10 AM

Quote:

Originally Posted by ozzy47 (Post 2483323)
OK Pm me a admin account and I will see if I can replicate the issue. Make sure you removed all the code from the .htaccess.

Sent

ozzy47 02-24-2014 12:25 AM

When did you notice this start happening? What browser do you use by default?

I was able to replicate the issue, both logging into the ACP and the site it's self, but then I cleared my cookies for your site, and was able to log in successfully.

pityocamptes 02-24-2014 12:29 AM

Quote:

Originally Posted by ozzy47 (Post 2483325)
When did you notice this start happening? What browser do you use by default?

I was able to replicate the issue, both logging into the ACP and the site it's self, but then I cleared my cookies for your site, and was able to log in successfully.

After I did the second part of the htaccess, I use FF by default :

# BEGIN Caching
<ifModule mod_headers.c>
<filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=2592000, public"
</filesMatch>
<filesMatch "\\.(css)$">
Header set Cache-Control "max-age=604800, public"
</filesMatch>
<filesMatch "\\.(js)$">
Header set Cache-Control "max-age=216000, private"
</filesMatch>
<filesMatch "\\.(xml|txt)$">
Header set Cache-Control "max-age=216000, public, must-revalidate"
</filesMatch>
<filesMatch "\\.(html|htm|php)$">
Header set Cache-Control "max-age=1, private, must-revalidate"
</filesMatch>
</ifModule>
# END Caching

ozzy47 02-24-2014 12:32 AM

OK, so your htacess is completely empty now?

Is there a specific reason you have installed a SSL, and are using https instead of http for the site?

Your MGC chatbox is not working, I would disable that.

Max Taxable 02-24-2014 01:17 AM

If you're trying to use htaccess to cache static content, it's not working.

WebPageTest

I see you're also ineptly trying to use cloudflare as a CDN, this overrides any caching you try to do via htaccess.

pityocamptes 02-24-2014 02:10 AM

Quote:

Originally Posted by Max Taxable (Post 2483333)
If you're trying to use htaccess to cache static content, it's not working.

WebPageTest

I see you're also ineptly trying to use cloudflare as a CDN, this overrides any caching you try to do via htaccess.

Not sure I understand what you mean by cloudflare? Can you use htaccess to cache static content? Am I doing it wrong? Thanks.

ozzy47 02-24-2014 02:24 AM

Quote:

Originally Posted by ozzy47 (Post 2483329)
OK, so your htacess is completely empty now?

Is there a specific reason you have installed a SSL, and are using https instead of http for the site?

Your MGC chatbox is not working, I would disable that.

What about this.


All times are GMT. The time now is 11:29 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.01172 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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