The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
Quote:
|
#22
|
|||
|
|||
Yep but I've been able to throw just about any mod I want onto it with no worries with it setup like that, including chats & arcades to test with.
|
#23
|
|||
|
|||
I tried the super charged mod about a year ago and had some issues with it. I am already using gzip
my htaccess is below if you would like to look at it. I noticed an improvement when I set up ngnix. Maybe it could be done better but it seems to be working in some capacity. Does anyone have a link to some independent benchmarks done with cloudflare? Code:
RewriteOptions inherit ####Charset AddDefaultCharset Off ## Expires <ifModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 seconds" ExpiresByType text/html "access plus 1 seconds" ExpiresByType image/gif "access plus 3456000 seconds" ExpiresByType image/jpeg "access plus 3456000 seconds" ExpiresByType image/png "access plus 3456000 seconds" ExpiresByType text/css "access plus 3456000 seconds" ExpiresByType text/javascript "access plus 3456000 seconds" ExpiresByType application/javascript "access plus 3456000 seconds" ExpiresByType application/x-javascript "access plus 3456000 seconds" </ifModule> ## Compression <ifmodule mod_headers.c> <ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html </ifmodule> </ifmodule> ## Rewrites <ifmodule mod_rewrite.c> RewriteEngine on DirectoryIndex index.php ReWriteRule ^media/m(\d+).*/tags$ media.php?do=tags_edit&mid=$1 [QSA] ReWriteRule ^media/m(\d+).*/edit$ media.php?do=details_edit&mid=$1 [QSA] ReWriteRule ^media/m(\d+).*/report$ media.php?do=report&mid=$1 [QSA] ReWriteRule ^media/m(\d+).*/c(\d+)$ media.php?do=comment_edit&cmt=$2 [QSA] ReWriteRule ^media/m(\d+).*/p(\d+).*$ media.php?do=details&mid=$1&pid=$2 [QSA] ReWriteRule ^media/m(\d+).* media.php?do=details&mid=$1 [QSA] ReWriteRule ^media/p(\d+).*/edit$ media.php?do=playlist_edit&pid=$1 [QSA] ReWriteRule ^media/p(\d+).* media.php?do=playlist&pid=$1 [QSA] ReWriteRule ^media/c(\d+).* media.php?do=category&cid=$1 [QSA] ReWriteRule ^media/u(\d+).* media.php?do=user&uid=$1 [QSA] ReWriteRule ^media/tag/(.*) media.php?do=tag&tid=$1 [QSA] ReWriteRule ^media/results/(.*) media.php?do=results&query=$1 [QSA] ReWriteRule ^media/advresults/(.*) media.php?do=advresults&query=$1 [QSA] ReWriteRule ^media/letter/(.*) media.php?do=letter&query=$1 [QSA] ReWriteRule ^media/browse.* media.php?do=browse [QSA] ReWriteRule ^media/search.* media.php?do=search [QSA] ReWriteRule ^media/random.* media.php?do=random [QSA] ReWriteRule ^media/submit.* media.php?do=submit [QSA] ReWriteRule ^media/tagcloud.* media.php?do=tagcloud [QSA] ReWriteRule ^media/playlists.* media.php?do=playlists [QSA] ReWriteRule ^media/pcreate.* media.php?do=playlists_create [QSA] ReWriteRule ^media/pmine.* media.php?do=playlists_mine [QSA] ReWriteRule ^media/favorites.* media.php?do=favorites [QSA] ReWriteRule ^media/subscriptions.* media.php?do=subscriptions [QSA] ReWriteRule ^media/admin/edit/s(\d+).* media.php?do=admin_host_edit&sid=$1 [QSA] ReWriteRule ^media/admin/delete/s(\d+).* media.php?do=admin_host_delete&sid=$1 [QSA] ReWriteRule ^media/admin/export/s(\d+).* media.php?do=admin_host_export&sid=$1 [QSA] ReWriteRule ^media/admin/(\w+).* media.php?do=admin_$1 [QSA] # Media Library from Video Directory RewriteCond %{QUERY_STRING} do=viewdetails&videoid=(\d+) RewriteRule ^video\.php$ media.php?do=details&mid=%1 RewriteCond %{QUERY_STRING} viewcategory&categoryid=(\d+) RewriteRule ^video\.php$ media.php?do=category&cid=%1 RewriteCond %{QUERY_STRING} viewuser&userid=(\d+) RewriteRule ^video\.php$ media.php?do=user&uid=%1 RewriteCond %{QUERY_STRING} viewtag&tag=(.*) RewriteRule ^video\.php$ media.php?do=tag&tid=%1 ReWriteRule ^video\.php$ media.php # Send hardcoded ipa scores to arcade instead RewriteCond %{QUERY_STRING} act=Arcade [OR] RewriteCond %{QUERY_STRING} autocom=arcade RewriteRule ^index.php arcade.php [L,QSA] </ifmodule> <Files 403.shtml> order allow,deny allow from all </Files> Options -Indexes deny from 71.76.197.71 deny from 193.200.150.125 deny from 173.63.38.218 deny from 67.159.60.83 deny from 89.145.95.2 RewriteCond %{HTTP_HOST} ^www.canesinsight.com$ [NC] RewriteRule ^(.*)$ http://canesinsight.com/$1 [R=301,L] deny from 72.228.132.15 RewriteCond %{HTTP_HOST} ^canesinsight\.co$ [OR] RewriteCond %{HTTP_HOST} ^www\.canesinsight\.co$ RewriteRule ^/?$ "http\:\/\/canesinsight\.com" [R=301,L] I installed it as a cpanel plugin. I believe it comes set for nginx to serve the static content and apache the dynamic. I didn't see a easy way to just turn apache off and use nginx and didn't want to screw things up in my two busiest weeks of the year. |
#24
|
|||
|
|||
Here is the modified htaccess that I recommend for you (includes all of your old rewrite rules yet improves upon the caching/gzip.)
Although if you use cloudflare you would want to load only www urls and no urls that do not have www. https://discussion.dreamhost.com/thr...html#pid158213 Quote:
PHP Code:
http://gtmetrix.com/reports/www.vide...t.com/lcSDSldq Also I know nothing about nginx rewrite rules atm so I can't help you with that, maybe I'll try to learn it within the coming month's. |
#25
|
|||
|
|||
what does ReWriteRule+^media/p(d+).*/edit$+media.php?do=playlist_edit&pid=$1+[QSA] exactly do?
|
#26
|
|||
|
|||
That I believe is for some kindof media addon that used to be popular but is now abandoned, brb.
This is the addon that requires all of the "media" rewrites.. https://vborg.vbsupport.ru/showthread.php?t=240677 |
#27
|
|||
|
|||
Quote:
|
#28
|
|||
|
|||
What it has done is improved your score in a few areas.
http://gtmetrix.com/compare/x3r3SsIp/6uFU7ZYI Your webpagetest score is also much better than it was previously as well now. http://www.webpagetest.org/result/130125_G1_3JM/ Although webpagetest archive results are a bit harder to find.. If you still have that custom htaccess, something is still not allowing you to properly cache images it looks like and it could be nginx is my guess. The only stuff that should be failing is external resources. http://www.webpagetest.org/pagespeed...run=1&cached=0 |
#29
|
|||
|
|||
give me a min and I will turn nginx off
--------------- Added [DATE]1359089623[/DATE] at [TIME]1359089623[/TIME] --------------- I ran root@can [/etc/init.d]# httpd stop Stopping nginx daemon: nginx. --------------- Added [DATE]1359089969[/DATE] at [TIME]1359089969[/TIME] --------------- Hm I am not sure I have a way to just stop nginx |
#30
|
|||
|
|||
Ok, I do know that cloudflare does support caching but I haven't had a chance to try it out without the modified htaccess. That could help you in the meantime. Remember to disable rocketloader.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|