The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Need some help on htaccess and admincp
Well I added this to increase load speed, which it did for my site. However, while trying to get into my admincp it accepts the pw but brings me right back to the login box... big loop, never lets me in. Did I do something wrong on the htaccess? Thanks.
<IfModule mod_expires.c> ExpiresActive On ExpiresByType application/javascript A604800 ExpiresByType application/x-javascript A604800 ExpiresByType text/javascript A604800 ExpiresByType text/css A604800 ExpiresByType image/gif A604800 ExpiresByType image/x-icon A604800 ExpiresByType image/icon A604800 ExpiresByType image/jpg A604800 ExpiresByType image/jpeg A604800 ExpiresByType image/png A604800 ExpiresByType text/html A604800 </IfModule> # 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 |
#2
|
||||
|
||||
So if you remove that from the htaccess you are able to get into the ACP with no issues?
Where did you get this code to add there? |
#3
|
||||
|
||||
Quote:
Didn't seem to make a difference... hells bells... maybe it takes a while for htaccess to update on the server? |
#4
|
||||
|
||||
No, if you removed the code from the htaccess, and still can not access the ACP, you got something else going on.
Open your includes/config.php file and below<?php add this line: PHP Code:
PHP Code:
Then see if you can access the ACP |
#5
|
||||
|
||||
Absolutely you can increase your page speed via htaccess.
|
#6
|
||||
|
||||
I'm no expert in .htaccess, but I don't think that is the problem as you are re-validating for php files. I would do as Ozzy47 suggested and disable your plugins.
|
#7
|
||||
|
||||
Odd, works fine in IE but not FF... will try the hooks thing...
I see you can DEFLATE via htaccess, what exactly does that do? Thanks. |
#8
|
||||
|
||||
One thing at a time, lets get you into the ACP first.
|
#9
|
||||
|
||||
Nope, the hooks thing did not work...
I can get in fine in IE, just not FF and I cleared all cookies, cache in FF.. |
#10
|
||||
|
||||
It works in firefox? How about logging out of the site, clearing your cookies AND browser history and then trying to login.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|