vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - YSLOW 1.0.3 (Make Your Forum Faster) (https://vborg.vbsupport.ru/showthread.php?t=178286)

RTMdotORG 06-29-2010 07:33 PM

This made my Manage Attachment button disappear....

Juggernaut 07-13-2010 11:27 PM

Is this compatible with vBulletin 4.0.4?

onesexforum 10-28-2010 10:41 AM

is this compatible with the vBulletin 4.0.7 and 4.0.8??

evo10 12-05-2010 06:24 PM

Installed in VB 3.7.4, but the zip doesn't contain a .htaccess file, so my question is how does my forum know to run redir.php?

Thanks in advance.

final kaoss 01-20-2011 02:31 PM

the zip does indeed contain a .htaccess file. Also this mod works with vb 4.1.1


Here's the guts of the included .htaccess file

Code:

RewriteEngine On

####Charset
AddDefaultCharset Off

####Gzip
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)(js|css)$ redir.php?file=$1$2&type=$2 [L]
</IfModule>

####ETags
FileETag None

####Expires
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType text/css A2592000
ExpiresByType application/x-javascript A2592000
</IfModule>


TeknoSounds 01-21-2011 03:07 AM

how long before this takes effect?
Have added into htaccess of my main root and forum root, but nothing seems to be happening :( Restarted apache, flushed my xcache, reran optimizations from vb supercharged....

synseal 07-01-2011 10:04 AM

working with 4.1.4 :up:

https://vborg.vbsupport.ru/external/2011/07/55.png

TeknoSounds 07-01-2011 10:14 AM

Quote:

Originally Posted by TeknoSounds (Post 2152234)
how long before this takes effect?
Have added into htaccess of my main root and forum root, but nothing seems to be happening :( Restarted apache, flushed my xcache, reran optimizations from vb supercharged....

found out didn't have the setting turned on in apache to use the htaccess file. Turned on and it borked everything. Haven't gotten around to sifting out the errors yet though, been lazy :p

CrystaStarLight 07-10-2011 04:00 AM

Hi, this has sped up my forum greatly, however I'm getting tons of errors in my cpanel's error log, it's repeating every minute. I'll show the errors below. Is there anyway to fix these?

Code:

[Sat Jul 09 23:07:23 2011] [error] [client 24.2.245.152] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/****/public_html/forum/redir.php:14) in /home/****/public_html/forum/redir.php on line 37, referer: http://www.****.com/forum/forums/32-Caption-Me!/page8?order=desc

[Sat Jul 09 23:07:23 2011] [error] [client 24.2.245.152] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/****/public_html/forum/redir.php:14) in /home/****/public_html/forum/redir.php on line 37, referer: http://www.****.com/forum/forums/32-Caption-Me!/page8?order=desc

[Sat Jul 09 23:07:23 2011] [error] [client 24.2.245.152] PHP Warning:  implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed in /home/****/public_html/forum/redir.php on line 34, referer: http://www.****.com/forum/forums/32-Caption-Me!/page8?order=desc


Edit: I've noticed my htacess file is a bit modified. It has the same code from Yslow, but with extra for other programs, and extra optimizations. Would any of this be conflicting to create those errors?
......................................

Code:

RewriteEngine on

# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
# RewriteBase /forum/

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
ReWriteRule ^entries/.* entry.php [QSA]

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

# MVC
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]

####Charset
AddDefaultCharset Off

####Gzip
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?do=/$1
RewriteRule ^(.*)(js|css)$ redir.php?file=$1$2&type=$2 [L]
# Image Access Protection
# RewriteRule ^file/pic/photo/(.*)\.(.*)$ static/image.php?file=$1&ext=$2
</IfModule>

####ETags
FileETag None

<ifModule mod_expires.c>
  ExpiresActive On
  ExpiresDefault "access plus 1 seconds"
  ExpiresByType text/html "access plus 1 seconds"
  ExpiresByType text/javascript "access plus 216000 seconds"
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType text/css A2592000
ExpiresByType application/x-javascript A2592000
</ifModule>

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

<ifModule mod_headers.c>
  Header unset ETag
</ifModule>

<ifModule mod_headers.c>
  Header unset Last-Modified
</ifModule>

<IfModule mod_security.c>
  SecFilterEngine Off
  SecFilterScanPOST Off
</IfModule>

php_value memory_limit "64M"
php_value upload_max_filesize 3M

Thank you!

benstillman 07-26-2011 02:47 AM

Nevermind.


All times are GMT. The time now is 09:34 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.01268 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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