Author
Message
nuken RavenNuke(tm) Development Team Joined: Mar 11, 2007 Posts: 1536 Location: North Carolina
Posted:
Mon Mar 08, 2010 6:59 pm
After getting fed up with having to constantly refresh FF 3.6, I went in search of a fix. Thanks to google and a little patience, I found it.
In your FF browser type:
about:config
Then in the FILTER type:
browser.cache.check_doc_frequency
IF THE VALUE IS ANYTHING OTHER THAN 1 CHANGE IT!
MAKE SURE THE VALUE IS SET TO 1, ONLY!
Raven Site Admin/Owner Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
Posted:
Tue Mar 09, 2010 2:14 am
spasticdonkey RavenNuke(tm) Development Team Joined: Dec 02, 2006 Posts: 1364 Location: Texas, USA
Posted:
Tue Mar 09, 2010 8:46 am
excellent, I have my browser back
spasticdonkey RavenNuke(tm) Development Team Joined: Dec 02, 2006 Posts: 1364 Location: Texas, USA
Posted:
Thu Jun 10, 2010 9:23 am
well after being frustrated with this for quite awhile, I did some tinkering and found a snippet of code for mod_expires
Code: # Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|html)$">
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
which I added to my htaccess:
Code: <IfModule mod_expires.c>
ExpiresActive On
# ExpiresDefault A86400
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType text/css "access plus 5 minutes"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType text/plain "access plus 15 minutes"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType video/x-flv "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
# ExpiresByType text/html "access plus 5 minutes"
ExpiresByType text/javascript "access plus 5 minutes"
ExpiresByType application/x-javascript "access plus 5 minutes"
# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|html)$">
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
</IfModule>
and it seems to be working,... i think
anyone else want to try? obviously a client-side fix isn't the best solution, would be nice to clear this up on the server-side...
this is the only thing I have found to work after several different attempts.. for some reason FF3 doesn't properly send 304 requests for cached documents...
Palbin Site Admin Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
Posted:
Thu Jun 10, 2010 10:17 am
I don't know much about Apache or htaccess directives, but at first glance won't what you propose eliminate all caching?
spasticdonkey RavenNuke(tm) Development Team Joined: Dec 02, 2006 Posts: 1364 Location: Texas, USA
Posted:
Thu Jun 10, 2010 11:43 am
uggg.. no wonder it works
any ideas for a less aggressive method?
I still would like img's and JS files to cache...
ExpiresByType text/html "now"
does not work
gregexp The Mouse Is Extension Of Arm Joined: Feb 21, 2006 Posts: 1497 Location: In front of a screen....HELP! lol
Posted:
Thu Jun 10, 2010 1:41 pm
I think you might be misinterpretting it:
Code:
<IfModule mod_expires.c>
ExpiresActive On
# ExpiresDefault A86400
ExpiresByType image/x-icon "access plus 1 month" #1 month cache
ExpiresByType text/css "access plus 5 minutes" #5 minute cache
ExpiresByType image/gif "access plus 1 month" #1 Month cache
ExpiresByType image/png "access plus 1 month" #1 Month cache
ExpiresByType image/jpeg "access plus 1 month" #1 Month cache
ExpiresByType text/plain "access plus 15 minutes" #15 Minutes cache
ExpiresByType application/x-shockwave-flash "access plus 1 month" #1 Month cache
ExpiresByType video/x-flv "access plus 1 month" #1 Month cache
ExpiresByType application/pdf "access plus 1 month" #1 Month cache
# ExpiresByType text/html "access plus 5 minutes" #5 minutes cache
ExpiresByType text/javascript "access plus 5 minutes" #5 minutes
ExpiresByType application/x-javascript "access plus 5 minutes" #5 minutes cache
# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|html)$">
#no cache for php files, cgi files, pl files, html files.
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
</IfModule><IfModule mod_expires.c>
ExpiresActive On
# ExpiresDefault A86400
ExpiresByType image/x-icon "access plus 1 month" #1 month cache
ExpiresByType text/css "access plus 5 minutes" #5 minute cache
ExpiresByType image/gif "access plus 1 month" #1 Month cache
ExpiresByType image/png "access plus 1 month" #1 Month cache
ExpiresByType image/jpeg "access plus 1 month" #1 Month cache
ExpiresByType text/plain "access plus 15 minutes" #15 Minutes cache
ExpiresByType application/x-shockwave-flash "access plus 1 month" #1 Month cache
ExpiresByType video/x-flv "access plus 1 month" #1 Month cache
ExpiresByType application/pdf "access plus 1 month" #1 Month cache
# ExpiresByType text/html "access plus 5 minutes" #5 minutes cache
ExpiresByType text/javascript "access plus 5 minutes" #5 minutes
ExpiresByType application/x-javascript "access plus 5 minutes" #5 minutes cache
# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|html)$">
#no cache for php files, cgi files, pl files, html files.
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
</IfModule>
It's got a good listing of files that are cached, it's only at the bottom where php, cgi, perl, html files are not cached.
javascript files are cached, as well as images, flash and css.
Palbin Site Admin Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
Posted:
Thu Jun 10, 2010 2:58 pm
I missed the ""\.(php|cgi|pl|html)$"" so I guess that would work.
spasticdonkey RavenNuke(tm) Development Team Joined: Dec 02, 2006 Posts: 1364 Location: Texas, USA
Posted:
Sat Jun 26, 2010 12:14 pm
just a heads up for people, I have been trying this on one of my sites for a couple weeks now, with no noticeable spike in bandwidth usage... and FF3.6+ actually gives me a fresh page every time
sixonetonoffun Spouse Contemplates Divorce Joined: Jan 02, 2003 Posts: 2499
Posted:
Sat Jun 26, 2010 5:08 pm
Is this the code you went with in the end?
Code: <IfModule mod_expires.c>
ExpiresActive On
# ExpiresDefault A86400
ExpiresByType image/x-icon "access plus 1 month" #1 month cache
ExpiresByType text/css "access plus 5 minutes" #5 minute cache
ExpiresByType image/gif "access plus 1 month" #1 Month cache
ExpiresByType image/png "access plus 1 month" #1 Month cache
ExpiresByType image/jpeg "access plus 1 month" #1 Month cache
ExpiresByType text/plain "access plus 15 minutes" #15 Minutes cache
ExpiresByType application/x-shockwave-flash "access plus 1 month" #1 Month cache
ExpiresByType video/x-flv "access plus 1 month" #1 Month cache
ExpiresByType application/pdf "access plus 1 month" #1 Month cache
# ExpiresByType text/html "access plus 5 minutes" #5 minutes cache
ExpiresByType text/javascript "access plus 5 minutes" #5 minutes
ExpiresByType application/x-javascript "access plus 5 minutes" #5 minutes cache
# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|html)$">
#no cache for php files, cgi files, pl files, html files.
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
spasticdonkey RavenNuke(tm) Development Team Joined: Dec 02, 2006 Posts: 1364 Location: Texas, USA
Posted:
Sun Jun 27, 2010 6:54 am
yes that is it, except you are missing the closing </IfModule> tag, probably just missed it while copy/pasting...
btw, this requires both mod_expires + mod_headers enabled on your server. I found this here:
unicornio Involved Joined: Aug 13, 2009 Posts: 432
Posted:
Sat Jan 08, 2011 4:49 am
These snippet of codes didn't work for me. I get Internal Server Error
Raven Site Admin/Owner Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
Posted:
Sat Jan 08, 2011 7:32 am
That usually indicates a directive in your .htaccess is incorrect or not allowed. Try restoring your .htaccess and see if the issue is still there.
unicornio Involved Joined: Aug 13, 2009 Posts: 432
Posted:
Sat Jan 08, 2011 1:37 pm
I restored it as it was before doing these code and it is working properly but I still get an ISError when I add this particular cache code.
unicornio Involved Joined: Aug 13, 2009 Posts: 432
Posted:
Sat Jan 08, 2011 1:42 pm
This is my .htaccess
Code: #####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
# THESE INSTRUCTIONS APPLY TO ALL Options DIRECTIVES
#
# The lines below this section that begin with Options may cause problems
# with some server configurations. They are required for certain functions
# of Apache and RavenNuke(tm), but may already be set by your server administrator in a way
# that dissallows changing them in your .htaccess file. If using any of them causes your server
# to error out, comment them out (add # to beginning of line), reload your site in your browser
# and test the functionality that is affected. If it works, then it has been set by your server
# administrator and you do not need it set here.
#####################################################
# 'Options +FollowSymLinks' is required for use of mod_rewrite.
# Can be commented out if causes errors, see notes above.
#Options +FollowSymLinks
# 'Options +Includes' is required for use of Server Side Includes (SSI), such as custom error pages (like 403.shtml).
# Can be commented out if causes errors, see notes above.
#Options +Includes
# 'Options -Indexes' is used for controlling directory listings if there is not an index file in a directory (and said directory is readable by the web server).
# A directory index will be automatically generated and this can prove to be a dangerous security issue.
# To disable this feature, use: 'Options -Indexes'
# To enable this feature (not advised), use: 'Options +Indexes'
# Can be commented out if causes errors, see notes above.
#Options -Indexes
# -------------------------------------------
# Set search order for index files
# -------------------------------------------
#DirectoryIndex index.php index.htm index.html
# -------------------------------------------
# For better performance set FileETag to NONE base on recommendations from
# http://developer.yahoo.net/blog/archives/2007/07/high_performanc_11.html
# -------------------------------------------
#FileETag none
# -------------------------------------------
# Only process if mod_expires is installed
# For faster load times cache certain types of files for specific amount of time
# You should adjust these settings based upon your caching requirements
# -------------------------------------------
<IfModule mod_expires.c>
ExpiresActive On
# ExpiresDefault A86400
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType text/css "access plus 5 minutes"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType text/plain "access plus 15 minutes"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType video/x-flv "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
# ExpiresByType text/html "access plus 5 minutes"
ExpiresByType text/javascript "access plus 5 minutes"
ExpiresByType application/x-javascript "access plus 5 minutes"
# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|html)$">
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
</IfModule>
# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .ftaccess>
deny from all
</Files>
<Files .staccess>
deny from all
</Files>
# -----------------------------------------------------------------------------------------------------
# Leave this block commented out unless HTTPAuth is NOT available in your NukeSentinel(tm) Admin Panel.
# This code is mainly for use with CGI Authentication when PHP is compiled as CGI and NOT an Apache module.
# -----------------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------------
# -------------------------------------------
# If you use TegoNuke(tm) ShortLinks with RavenNuke(tm) then copy your ShortLinks.htaccess file/rules below inbetween
# the <IfModule> and </IfModule> tags.
# Only process if mod_rewrite is installed
# -------------------------------------------
<IfModule mod_rewrite.c>
# TegoNuke(tm) ShortLinks - ShortLinks.htaccess file/rules should go after this line
#
# TegoNuke(tm) ShortLinks version 1.2.1
#
# This file contains the rewrite rules necessary to force Apache to recognize your
# shortened links and to rewrite them back to what PHP-Nuke is expecting.
# Copy and paste these rules into your .htaccess file in the root of your PHP-Nuke
# Installation. Whatever you do, make sure these are ABOVE NukeSentinel's area
# where it is to write its blocked IPs.
#
# For better performance, remove sections of rules for modules that you do not have
# active on your site.
#
RewriteEngine on
RewriteRule ^index.html index.php
RewriteRule ^index.htm index.php
#Advertising
RewriteRule ^advertising-(client_report|view_banner)-([0-9]*)-([0-9]*).html modules.php?name=Advertising&op=$1&cid=$2&bid=$3 [L]
RewriteRule ^advertising-(sitestats|terms|plans|client_home|client_logout|client|logout).html modules.php?name=Advertising&op=$1 [L]
RewriteRule ^advertising.html modules.php?name=Advertising [L]
#Articles (News)
RewriteRule ^article-([0-9]*)-([a-z]*)-([0-9]*)-([0-9]*).html article.html$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^article-comments-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&sid=$1&pid=$2 [L]
RewriteRule ^article-reply-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&op=Reply&pid=$1&sid=$2 [L]
RewriteRule ^article-showreply-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&op=showreply&tid=$1&sid=$2&pid=$3 [L]
RewriteRule ^article-([0-9-]*)-([a-z]*)-([0-9]*)-([0-9]*).html([0-9#]*) modules.php?name=News&file=article&thold=$1&mode=$2&order=$3&sid=$4$5 [L]
RewriteRule ^article-topic([0-9]*)-page([0-9]*).html article-topic-.html$1&pagenum=$2 [L]
RewriteRule ^article-category([0-9]*)-page([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1&pagenum=$2 [L]
RewriteRule ^article-category-([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1 [L]
RewriteRule ^article-print-([0-9]*).html modules.php?name=News&file=print&sid=$1 [L]
RewriteRule ^article-friend-([0-9]*).html modules.php?name=News&file=friend&op=FriendSend&sid=$1 [L]
RewriteRule ^article-friend.html modules.php?name=News&file=friend [L]
RewriteRule ^article-printpdf-([0-9]*).html modules.php?name=News&file=printpdf&id=$1 [L]
RewriteRule ^article-page-([0-9]*).html .html$1 [L]
RewriteRule ^article([1-9][0-9]*).* article.html$1 [L]
RewriteRule ^articlebox([1-9][0-9]*).* modules.php?name=News&file=articlebox&sid=$1 [L]
RewriteRule ^article-topic-([0-9]*).html article-topic-.html$1 [L]
RewriteRule ^article-comments.html modules.php?name=News&file=comments [L]
RewriteRule ^allnews.html modules.php?name=News&file=allindex [L]
RewriteRule ^news.html modules.php?name=News [L]
#AvantGo
RewriteRule ^avantgo-print-([0-9]*).html modules.php?name=AvantGo&file=print&sid=$1 [L]
RewriteRule ^avantgo.html modules.php?name=AvantGo [L]
#Comments
RewriteRule ^article-comment-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&sid=$1&tid=$2 [L]
RewriteRule ^survey-comment-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&pollID=$1&tid=$2 [L]
RewriteRule ^comments.html modules.php?name=Comments [L]
#Content Plus
RewriteRule ^content-([0-9]*)-page([0-9]*).html contentid-.html$1&page=$2 [L]
RewriteRule ^content-cat-([0-9]*)-order-([0-9]*).html content-cat-.html$1&order=$2 [L]
RewriteRule ^content-cat-([0-9]*).html content-cat-.html$1 [L]
RewriteRule ^content-([0-9]*).html contentid-.html$1 [L]
RewriteRule ^content-send-page.html modules.php?name=Content&pa=send_page [L]
RewriteRule ^content-preview-page.html modules.php?name=Content&pa=preview_page [L]
RewriteRule ^content-add-page.html modules.php?name=Content&pa=add_page [L]
RewriteRule ^content-browse-tag-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-order-([0-9]*).html modules.php?name=Content&pa=browse_tag&tag=$1&order=$2 [L]
RewriteRule ^content-browse-tag-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*).html modules.php?name=Content&pa=browse_tag&tag=$1 [L]
RewriteRule ^content-browse-tags.html modules.php?name=Content&pa=browse_tags [L]
RewriteRule ^content-print-page-([0-9]*).html modules.php?name=Content&pa=print_page&pid=$1 [L]
RewriteRule ^content-print-pdf-([0-9]*).html modules.php?name=Content&pa=print_pdf&pid=$1 [L]
RewriteRule ^content-share-page-([0-9]*).html modules.php?name=Content&pa=share_page&op=FriendSend&pid=$1 [L]
RewriteRule ^content-send-page-([0-9]*).html modules.php?name=Content&pa=share_page&op=SendPage&pid=$1 [L]
RewriteRule ^content.html modules.php?name=Content [L]
#NSN GR Downloads
RewriteRule ^download-mod-([0-9]*).html modules.php?name=Downloads&op=modifydownloadrequest&lid=$1 [L]
RewriteRule ^download-file-([0-9]*).html modules.php?name=Downloads&op=getit&lid=$1 [L]
RewriteRule ^downloads-(NewDownloads|newdownloads).html modules.php?name=Downloads&op=NewDownloads [L]
RewriteRule ^download-shownew-([0-9]*).html modules.php?name=Downloads&op=NewDownloads&newdownloadshowdays=$1 [L]
RewriteRule ^download-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&op=NewDownloadsDate&selectdate=$1 [L]
RewriteRule ^downloads-(MostPopular|mostpopular).html modules.php?name=Downloads&op=MostPopular [L]
RewriteRule ^download-(MostPopular|mostpopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&op=MostPopular&ratenum=$2&ratetype=$3 [L]
RewriteRule ^download-sort-([0-9]*)-orderby-title([aA]).html modules.php?name=Downloads&cid=$1&orderby=titleA [L]
RewriteRule ^download-sort-([0-9]*)-orderby-title([dD]).html modules.php?name=Downloads&cid=$1&orderby=titleD [L]
RewriteRule ^download-sort-([0-9]*)-orderby-date([aA]).html modules.php?name=Downloads&cid=$1&orderby=dateA [L]
RewriteRule ^download-sort-([0-9]*)-orderby-date([dD]).html modules.php?name=Downloads&cid=$1&orderby=dateD [L]
RewriteRule ^download-sort-([0-9]*)-orderby-hits([aA]).html modules.php?name=Downloads&cid=$1&orderby=hitsA [L]
RewriteRule ^download-sort-([0-9]*)-orderby-hits([dD]).html modules.php?name=Downloads&cid=$1&orderby=hitsD [L]
RewriteRule ^download-paging-([0-9]*)-([0-9]*).html modules.php?name=Downloads&min=$1&cid=$2 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&orderby=$2 [L]
RewriteRule ^download-searchp-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&min=$1&d_op=search&query=$2 [L]
RewriteRule ^download-search.html modules.php?name=Downloads&op=search [L]
RewriteRule ^download-gfx-([0-9]*).html modules.php?name=Downloads&op=gfx&random_num=$1 [L]
RewriteRule ^downloads-cat([0-9]*).html modules.php?name=Downloads&cid=$1 [L]
RewriteRule ^downloads.html&min=([0-9]*)&cid=([0-9]*)$ modules.php?name=Downloads&min=$1&cid=$2 [L]
RewriteRule ^downloads.html downloads.html [L]
#Submit_Downloads
RewriteRule ^submit-download-terms.html modules.php?name=Submit_Downloads&op=TermsUse [L]
RewriteRule ^submit-download.html modules.php?name=Submit_Downloads [L]
#Encyclopedia
RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2&query=$3 [L]
RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2 [L]
RewriteRule ^encyclopedia-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Encyclopedia&op=content&tid=$1&query=$2 [L]
RewriteRule ^encyclopedia-([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1 [L]
RewriteRule ^encyclopedia-list-([0-9]*).html modules.php?name=Encyclopedia&op=list_content&eid=$1 [L]
RewriteRule ^encyclopedia-terms([0-9]*)-([A-Z]*).html modules.php?name=Encyclopedia&op=terms&eid=$1<r=$2 [L]
RewriteRule ^encyclopedia-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Encyclopedia&file=search&query=$1 [L]
RewriteRule ^encyclopedia-search.html modules.php?name=Encyclopedia&file=search [L]
RewriteRule ^encyclopedia.html modules.php?name=Encyclopedia [L]
#Feedback
RewriteRule ^feedback.html contact.html [L]
#Feeds - nukeFEED
RewriteRule ^feeds-([0-9]*).html modules.php?name=Feeds&fid=$1&type=HTML [L]
RewriteRule ^feeds-([0-9]*)-rss([0-9]*).xml modules.php?name=Feeds&fid=$1&type=RSS$2 [L]
RewriteRule ^feeds-([0-9]*)-atom([0-9]*).xml modules.php?name=Feeds&fid=$1&type=ATOM$2 [L]
RewriteRule ^feeds-map-opml.xml modules.php?name=Feeds&op=map&type=OPML [L]
RewriteRule ^feeds.html modules.php?name=Feeds [L]
#FAQ
RewriteRule ^faq.html faq.html [L]
RewriteRule ^faq-([0-9]*)-([a-zA-Z0-9\+\&\-\/%[:punct:]\.\;\ ]*).html faq.html&myfaq=yes&id_cat=$1&categories=$2 [L]
#Forums
RewriteRule ^ftopic-([0-9]*)-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9+_-]*).html forums.html&file=viewtopic&t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L]
RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9+_-]*)-([0-9]*).html forums.html&file=viewtopic&t=$1&postdays=$2&postorder=$3&highlight=$4&start=$5 [L]
RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([0-9]*).html forums.html&file=viewtopic&t=$1&postdays=$2&postorder=$3&start=$4 [L]
RewriteRule ^ftopic-voteresults-([0-9]*)-days([0-9]*)-order(desc|asc).html forums.html&file=viewtopic&t=$1&postdays=$2&postorder=$3&vote=viewresult [L]
RewriteRule ^ftopic-([0-9]*)-([0-9]*).html forums.html&file=viewtopic&t=$1&start=$2 [L]
RewriteRule ^ftopic-([0-9]*)-(previous|next|newest).html forums.html&file=viewtopic&t=$1&view=$2 [L]
RewriteRule ^ftopic(t|p)-([0-9]*)-([A-Za-z0-9+_-]*).html forums.html&file=viewtopic&$1=$2&highlight=$3 [L]
RewriteRule ^ftopic-([0-9]*)-(watch|unwatch)-([0-9]*).html forums.html&file=viewtopic&t=$1&$2=topic&start=$3 [L]
RewriteRule ^ftopic(t|p)-([0-9]*).html forums.html&file=viewtopic&$1=$2 [L]
RewriteRule ^ftopic(t|p)-([0-9]*).html#([0-9]*) forums.html&file=viewtopic&$1=$2#$3 [L]
RewriteRule ^forum-editprofile.html forums.html&file=profile&mode=editprofile [L]
RewriteRule ^forum-userprofile-([0-9]*).html profile-.html$1 [L]
RewriteRule ^forum-register-new.html forums.html&file=profile&mode=register&agreed=true [L]
RewriteRule ^forum-register-coppa.html forums.html&file=profile&mode=register&agreed=true&coppa=true [L]
RewriteRule ^forum-register.html forums.html&file=profile&mode=register [L]
RewriteRule ^forums-posting.html forums.html&file=modules&name=Forums&file=posting [L]
RewriteRule ^forum-faq-bbcode.html forums.html&file=faq&mode=bbcode [L]
RewriteRule ^ftopic-post-([0-9]*).html forums.html&file=posting&t=$1 [L]
RewriteRule ^ftopic-quote-([0-9]*).html forums.html&file=posting&mode=quote&p=$1 [L]
RewriteRule ^ftopic-vote-([0-9]*).html forums.html&file=posting&mode=vote&t=$1 [L]
RewriteRule ^ftopic-new-([0-9]*).html forums.html&file=posting&mode=newtopic&f=$1 [L]
RewriteRule ^ftopic-edit-([0-9]*).html forums.html&file=posting&mode=editpost&p=$1 [L]
RewriteRule ^ftopic-reply-([0-9]*).html forums.html&file=posting&mode=reply&t=$1 [L]
RewriteRule ^ftopic-delete-([0-9]*).html forums.html&file=posting&mode=delete&p=$1 [L]
RewriteRule ^ftopic-smilies.html forums.html&file=posting&mode=smilies&popup=1 [L]
RewriteRule ^ftopic-topicreview-([0-9]*).html forums.html&file=posting&mode=topicreview&t=$1&popup=1 [L]
RewriteRule ^forum-posting.html forums.html&file=posting [L]
RewriteRule ^forums-group([0-9]*)-([0-9]*).html forums.html&file=groupcp&g=$1&start=$2 [L]
RewriteRule ^forums-group([0-9]*).html forums.html&file=groupcp&g=$1 [L]
RewriteRule ^fsearch-author-([a-zA-Z0-9_-]*).html search-.html$1 [L]
RewriteRule ^fsearch-([0-9]*)-([0-9]*).html forums.html&file=search&search_id=$1&start=$2 [L]
RewriteRule ^fsearch-(unanswered|egosearch|newposts).html forums.html&file=search&search_id=$1 [L]
RewriteRule ^fsearch-results.html forums.html&file=search&mode=results [L]
RewriteRule ^forums-([^index][a-zA-Z0-9_-]*).html forums.html&file=$1 [L]
RewriteRule ^forum-c([0-9]*).html forums.html&file=index&c=$1 [L]
RewriteRule ^forum-mark.html forums.html&file=index&mark=forums [L]
RewriteRule ^forums.html forums.html&file=index [L]
RewriteRule ^forum-viewonline.html forums.html&file=viewonline [L]
RewriteRule ^forum-([0-9]*)-days([0-9]*)-([0-9]*).html forums.html&file=viewforum&f=$1&topicdays=$2&start=$3 [L]
RewriteRule ^forum-([0-9]*)-([0-9]*).html forums.html&file=viewforum&f=$1&start=$2 [L]
RewriteRule ^forum-([0-9]*)-mark.html forums.html&file=viewforum&f=$1&mark=topics [L]
RewriteRule ^forum-([0-9]*).html forums.html&file=viewforum&f=$1 [L]
RewriteRule ^forums.html forums.html [L]
#GCalendar
RewriteRule ^eventscalendar-(viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*)-print.html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&e=$5&printable=1 [L]
RewriteRule ^eventscalendar-(submit|viewday|viewweek|friend)-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*).html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&e=$5 [L]
RewriteRule ^eventscalendar-(viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*)-print.html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&printable=1 [L]
RewriteRule ^eventscalendar-(submit|viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4 [L]
RewriteRule ^eventscalendar-edit-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*).html modules.php?name=GCalendar&file=edit&y=$1&m=$2&d=$3&eventId=$4 [L]
RewriteRule ^eventscalendar-edit-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=edit&y=$1&m=$2&d=$3 [L]
RewriteRule ^eventscalendar-submit-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=submit&y=$1&m=$2 [L]
RewriteRule ^eventscalendar-([0-9]*)-([0-9]*)-print.html modules.php?name=GCalendar&y=$1&m=$2&printable=1 [L]
RewriteRule ^eventscalendar-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&y=$1&m=$2 [L]
RewriteRule ^eventscalendar-submit.html modules.php?name=GCalendar&file=submit&op=submit [L]
RewriteRule ^eventscalendar-(viewweek|rsvp|friend).html modules.php?name=GCalendar&file=$1 [L]
RewriteRule ^eventscalendar.html modules.php?name=GCalendar [L]
#NSN Groups
RewriteRule ^groups-([0-9]*).html modules.php?name=Groups&op=GRInfo&gid=$1 [L]
RewriteRule ^groups.html modules.php?name=Groups [L]
#HTML Newsletter
RewriteRule ^html_newsletter-([0-9]*).html modules.php?name=HTML_Newsletter&file=index&op=msnl_nls_view&msnl_nid=$1 [L]
RewriteRule ^html_newsletter-copyright.html modules.php?name=HTML_Newsletter&op=msnl_copyright_credits [L]
RewriteRule ^html_newsletter.html modules.php?name=HTML_Newsletter [L]
#Journal
RewriteRule ^journal(search|delete|commentkill)-(bywhat|jid|onwhat)([a-zA-Z0-9]*)-(forwhat|ref)([a-zA-Z0-9_-]*).html journal.html&file=$1&$2=$3&$4=$5 [L]
RewriteRule ^journal-search-([0-9]*)-([a-zA-Z0-9_-]*).html journal.html&file=search&bywhat=$1&forwhat=$2 [L]
RewriteRule ^journal-([a-zA-Z0-9+]*)-(jid|onwhat|disp|op)-([a-zA-Z0-9+]*).html journal.html&file=$1&$2=$3 [L]
RewriteRule ^journal-search-([a-zA-Z0-9_-]*).html journal.html&file=search&bywhat=aid&exact=1&forwhat=$1 [L]
RewriteRule ^journal-edit.html journal.html&file=edit [L]
RewriteRule ^journal(file|op)-([a-zA-Z0-9]*).html journal.html&$1=$2 [L]
RewriteRule ^journal.html journal.html [L]
#Legal
RewriteRule ^legal-([a-zA-Z0-9_-]*).html modules.php?name=Legal&op=$1 [L]
RewriteRule ^legal.html modules.php?name=Legal [L]
#Members List
RewriteRule ^members-([a-z]*)-sortasc-([0-9]*).html modules.php?name=Members_List&file=index&mode=$1&order=ASC&start=$2 [L]
RewriteRule ^members-([a-z]*)-sortdesc-([0-9]*).html modules.php?name=Members_List&file=index&mode=$1&order=DESC&start=$2 [L]
RewriteRule ^members.html modules.php?name=Members_List [L]
#MetAuthors - only additional rewrite rules not already present will go here
RewriteRule ^metauthors.html modules.php?name=rwsMetAuthors [L]
#Project Tracking
RewriteRule ^project-([0-9]*).html modules.php?name=Project_Tracking&op=PJProject&project_id=$1 [L]
RewriteRule ^project-task-([0-9]*).html modules.php?name=Project_Tracking&op=PJTask&task_id=$1 [L]
RewriteRule ^project-([0-9]*)-submit-report.html modules.php?name=Project_Tracking&op=PJReportSubmit&project_id=$1 [L]
RewriteRule ^project-([0-9]*)-submit-request.html modules.php?name=Project_Tracking&op=PJRequestSubmit&project_id=$1 [L]
RewriteRule ^project-report-([0-9]*).html modules.php?name=Project_Tracking&op=PJReport&report_id=$1 [L]
RewriteRule ^project-request-([0-9]*).html modules.php?name=Project_Tracking&op=PJRequest&request_id=$1 [L]
RewriteRule ^project-report-comment-([0-9]*).html modules.php?name=Project_Tracking&op=PJReportCommentSubmit&report_id=$1 [L]
RewriteRule ^project-request-comment-([0-9]*).html modules.php?name=Project_Tracking&op=PJRequestCommentSubmit&request_id=$1 [L]
RewriteRule ^project-task-map.html modules.php?name=Project_Tracking&op=PJTaskMap [L]
RewriteRule ^project-report-map.html modules.php?name=Project_Tracking&op=PJReportMap [L]
RewriteRule ^project-request-map.html modules.php?name=Project_Tracking&op=PJRequestMap [L]
RewriteRule ^project.html modules.php?name=Project_Tracking [L]
#NukeSentinel
RewriteRule ^nukesentinel.html modules.php?name=NukeSentinel [L]
#Private Messages
RewriteRule ^messages-read-(savebox|inbox|outbox|sentbox)-([0-9]*).html modules.php?name=Private_Messages&file=index&folder=$1&mode=read&p=$2 [L]
RewriteRule ^messages-start-(savebox|inbox|outbox|sentbox)-([0-9]*).html modules.php?name=Private_Messages&file=index&folder=$1&start=$2 [L]
RewriteRule ^messages-(reply|quote|edit)-([0-9]*).html modules.php?name=Private_Messages&file=index&mode=$1&p=$2 [L]
RewriteRule ^messages-post-([0-9]*).html messages-.html$1 [L]
RewriteRule ^messages-new.html modules.php?name=Private_Messages&file=index&mode=post [L]
RewriteRule ^messages-(sentbox|inbox|savebox|outbox).html modules.php?name=Private_Messages&file=index&folder=$1 [L]
RewriteRule ^messages-popup.html modules.php?name=Private_Messages&file=index&mode=newpm&popup=1 [L]
RewriteRule ^messages.html modules.php?name=Private_Messages [L]
#Recommend Us
RewriteRule ^recommend.html recommend.html [L]
#Reviews
RewriteRule ^reviews-new.html reviews.html&rop=write_review [L]
RewriteRule ^reviews-preview.html reviews.html&rop=preview_review [L]
RewriteRule ^reviews-([0-9]*)-page([0-9]*).html reviews.html&rop=showcontent&id=$1&page=$2 [L]
RewriteRule ^reviews-([0-9]*).html reviews.html&rop=showcontent&id=$1 [L]
RewriteRule ^reviews-comment-([0-9]*)-([[:punct:]?/:\-\'{}()._&a-zA-Z0-9+=\%\ ]*).html reviews.html&rop=postcomment&id=$1&title=$2 [L]
RewriteRule ^reviews-comment-([0-9]*).html reviews.html&rop=postcomment&id=$1 [L]
RewriteRule ^reviews-([0-9]*)-delete.html reviews.html&rop=del_review&id_del=$1 [L]
RewriteRule ^reviews-([0-9]*)-edit.html reviews.html&rop=mod_review&id=$1 [L]
RewriteRule ^reviews-([0-9]*)-delcomment-([0-9]*).html reviews.html&rop=del_comment&cid=$1&id=$2 [L]
RewriteRule ^reviews-([a-zA-Z0-9]*)-orderby-([a-z]*)-([a-zA-Z]*).html reviews.html&rop=$1&field=$2&order=$3 [L]
RewriteRule ^reviews-sortby-([a-zA-Z0-9]*).html reviews.html&rop=$1 [L]
RewriteRule ^reviews.html reviews.html [L]
#Search
RewriteRule ^search-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-([a-zA-Z]*)-([0-9]*).html modules.php?name=Search&author=$1&topic=$2&min=$3&query=$4&type=$5&category=$6 [L]
RewriteRule ^search-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-([a-zA-Z]*).html modules.php?name=Search&author=$1&topic=$2&min=$3&query=$4&type=$5 [L]
RewriteRule ^search-author-([a-zA-Z0-9]*).html modules.php?name=Search&author=$1 [L]
RewriteRule ^search-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-([a-zA-Z0-9_-]*).html modules.php?name=Search&query=$1&author=$2 [L]
RewriteRule ^search-([0-9]*).html modules.php?name=Search&query=&topic=$1 [L]
RewriteRule ^search-comments-([0-9]*).html modules.php?name=Search&type=comments&sid=$1 [L]
RewriteRule ^search-users.html modules.php?name=Search&type=users [L]
RewriteRule ^search.html* modules.php?name=Search [L]
#Statistics
RewriteRule ^stats-([0-9]*)-([0-9]*)-([0-9]*).html stats.html&op=DailyStats&year=$1&month=$2&date=$3 [L]
RewriteRule ^stats-([0-9]*)-([0-9]*).html stats.html&op=MonthlyStats&year=$1&month=$2 [L]
RewriteRule ^stats-([0-9]*).html stats-.html$1 [L]
RewriteRule ^advstats.html advstats.html [L]
RewriteRule ^stats.html stats.html [L]
#Stories Archive
RewriteRule ^archive-showall-([0-9]*).html archive.html&sa=show_all&min=$1 [L]
RewriteRule ^archive-showall.html archive.html&sa=show_all [L]
RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* archive.html&sa=show_month&year=$1&month=$2&month_l=$3 [L]
RewriteRule ^archive.html archive.html [L]
#Surveys
RewriteRule ^survey-results-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&op=results&pollID=$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^survey-results-([0-9]*).html modules.php?name=Surveys&op=results&pollID=$1 [L]
RewriteRule ^survey-([0-9]*).html modules.php?name=Surveys&pollID=$1 [L]
RewriteRule ^survey-comments-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&pollID=$1&pid=$2 [L]
RewriteRule ^survey-comment-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&pollID=$1&tid=$2 [L]
RewriteRule ^survey-comment-([0-9]*)-(tid|pid)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&pollID=$1&$2=$3&mode=$4&order=$5&thold=$6 [L]
RewriteRule ^survey-commreply-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=Reply&pid=$1&pollID=$2&mode=$3&order=$4&thold=$5 [L]
RewriteRule ^survey-commreply-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&op=Reply&pid=$1&pollID=$2 [L]
RewriteRule ^survey-showreply-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&pollID=$2&pid=$3 [L]
RewriteRule ^survey-showreply-([0-9]*)-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&pollID=$2&pid=$3&mode=$4&order=$5&thold=$6 [L]
RewriteRule ^survey-showreply-([0-9]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1 [L]
RewriteRule ^survey-showreply-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^survey-comments.html modules.php?name=Surveys&file=comments [L]
RewriteRule ^surveys.html modules.php?name=Surveys [L]
#DOnations
RewriteRule ^donations.html donations.html [L]
#Submit_News
RewriteRule ^submit.html submit.html [L]
#Tags
RewriteRule ^all-about-([a-zA-Z0-9_\-\+]*).html modules.php?name=Tags&op=list&tag=$1 [L]
RewriteRule ^tags.html modules.php?name=Tags [L]
#Topics
RewriteRule ^topics.html topics.html [L]
#Top10
RewriteRule ^top-([[:print:]]*).html top.html&zx=$1 [L]
RewriteRule ^top.html top.html [L]
#WebLinks
RewriteRule ^viewlinkcomments-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html links.html&l_op=viewlinkcomments&lid=$1&ttitle=$2 [L]
RewriteRule ^viewlinkcomments-([0-9]+).html links.html&l_op=viewlinkcomments&lid=$1 [L]
RewriteRule ^viewlinkdetails-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html links.html&l_op=viewlinkdetails&lid=$1&ttitle=$2 [L]
RewriteRule ^viewlinkdetails-([0-9]+).html links.html&l_op=viewlinkdetails&lid=$1 [L]
RewriteRule ^vieweditorial-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html links.html&l_op=viewlinkeditorial&lid=$1&ttitle=$2 [L]
RewriteRule ^vieweditorial-([0-9]+).html links.html&l_op=viewlinkeditorial&lid=$1 [L]
RewriteRule ^modifylink-([0-9]+).html links.html&l_op=modifylinkrequest&lid=$1 [L]
RewriteRule ^brokenlink-([0-9]+).html links.html&l_op=brokenlink&lid=$1 [L]
RewriteRule ^outsidelink-([0-9]+).html links.html&l_op=outsidelinksetup&lid=$1 [L]
RewriteRule ^linkop-(MostPopular|mostpopular)-([0-9]+)-(num|percent).html linkop-MostPopular.html&ratenum=$2&ratetype=$3 [L]
RewriteRule ^linkop-(TopRated|toprated)-([0-9]+)-(num|percent).html linkop-TopRated.html&ratenum=$2&ratetype=$3 [L]
RewriteRule ^newlinks-([0-9]+).html modules.php\?name=Web_Links&l_op=NewLinks&newlinkshowdays=$1 [L]
RewriteRule ^linksnew-([0-9]+).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinksDate&selectdate=$1 [L]
RewriteRule ^linkop-(AddLink|addlink).html modules.php?op=modload&name=Web_Links&file=index&l_op=AddLink [L]
RewriteRule ^linkop-(MostPopular|mostpopular).html modules.php?op=modload&name=Web_Links&file=index&l_op=MostPopular [L]
RewriteRule ^linkop-(NewLinks|newlinks).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinks [L]
RewriteRule ^linkop-(RandomLink|randomlink).html modules.php?op=modload&name=Web_Links&file=index&l_op=RandomLink [L]
RewriteRule ^linkop-(TopRated|toprated).html modules.php?op=modload&name=Web_Links&file=index&l_op=TopRated [L]
RewriteRule ^ratelink-([0-9]*)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1&ttitle=$2 [L]
RewriteRule ^ratelink-([0-9]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1 [L]
RewriteRule ^viewlink-([0-9]*).html viewlink-.html$1 [L]
RewriteRule ^links-([0-9]*)-([a-zA-Z0-9]*).html links.html&file=index&l_op=viewlink&cid=$1&orderby=$2 [L]
RewriteRule ^links-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html links.html&file=index&l_op=viewlink&cid=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^link-([0-9]*).html links.html&l_op=viewlink&cid=$1 [L]
RewriteRule ^links-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-([0-9]*)-orderby-([a-zA-Z]*)-([0-9]*) links.html&l_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^links-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-orderby-([a-zA-Z]*).html links.html&l_op=search&query=$1&orderby=$2 [L]
RewriteRule ^links-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html links.html&l_op=search&query=$1 [L]
RewriteRule ^links.html links.html [L]
#Your Account
RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html userinfo-.html$1 [L]
RewriteRule ^account-avatarsave-([a-zA-Z0-9_-]*)-([\.a-zA-Z0-9_-]*).html modules.php?name=Your_Account&op=avatarsave&category=$1&avatar=$2 [L]
RewriteRule ^account-showcookiesredirect.html modules.php?name=Your_Account&op=ShowCookiesRedirect [L]
RewriteRule ^account-deletecookies.html modules.php?name=Your_Account&op=DeleteCookies [L]
RewriteRule ^account-showcookies.html modules.php?name=Your_Account&op=ShowCookies [L]
RewriteRule ^account-bypass-([a-z_]*).html modules.php?name=Your_Account&op=userinfo&bypass=1&username=$1 [L]
RewriteRule ^account-([a-z_]*).html modules.php?name=Your_Account&op=$1 [L]
RewriteRule ^account-gfx-([0-9]*).html index.php?gfx=gfx&random_num=$1 [L]
RewriteRule ^account.html modules.php?name=Your_Account [L]
#Secure my site
RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR]
RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:craftbot@yahoo.com [OR]
RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR]
RewriteCond %{HTTP_USER_AGENT} ^Custo [OR]
RewriteCond %{HTTP_USER_AGENT} ^DISCo [OR]
RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR]
RewriteCond %{HTTP_USER_AGENT} ^eCatch [OR]
RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [OR]
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR]
RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR]
RewriteCond %{HTTP_USER_AGENT} ^FlashGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR]
RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR]
RewriteCond %{HTTP_USER_AGENT} ^Grafula [OR]
RewriteCond %{HTTP_USER_AGENT} ^HMView [OR]
RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^InterGET [OR]
RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [OR]
RewriteCond %{HTTP_USER_AGENT} ^JetCar [OR]
RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [OR]
RewriteCond %{HTTP_USER_AGENT} ^larbin [OR]
RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [OR]
RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [OR]
RewriteCond %{HTTP_USER_AGENT} ^Navroad [OR]
RewriteCond %{HTTP_USER_AGENT} ^NearSite [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetAnts [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Octopus [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [OR]
RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [OR]
RewriteCond %{HTTP_USER_AGENT} ^pavuk [OR]
RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [OR]
RewriteCond %{HTTP_USER_AGENT} ^RealDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^ReGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [OR]
RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Surfbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [OR]
RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [OR]
RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebAuto [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebCopier [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebFetch [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebReaper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebSauger [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebStripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
RewriteCond %{HTTP_USER_AGENT} ^Widow [OR]
RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*iframe.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ modules.php?name=ErrorDocuments&file=404 [F,L]
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
RewriteCond %{HTTP_USER_AGENT} ^libwww [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR]
RewriteCond % _CONF [OR]
RewriteCond % tool25 [OR]
RewriteCond % cmd.txt [OR]
RewriteCond % r57shell [OR]
RewriteCond % c99 [OR]
RewriteCond % THEME_DIR
RewriteRule ^.* - [F,L]
</IfModule>
# -------------------------------------------
# Error Document Redirects
# TegoNuke(tm) ShortLinks - ShortLinks.htaccess file MUST be before these directives (See above).
# If you add a new error redirect then you need to add the corresponding xxx.php file to modules/ErrorDocuments/
# Format:
# ErrorDocument xxx /PATH_TO_ERROR_DOCUMENT_RELATIVE_TO_WEB_SERVER_DOCUMENT_ROOT
# -------------------------------------------
# -------------------------------------------
# To prevent a looping redirect anomaly we use this 3 line routine for 404 Page Not Found errors
# -------------------------------------------
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*) /modules.php?name=ErrorDocuments&file=404&rs=$1 [NC,L,R]
ErrorDocument 400 /modules.php?name=ErrorDocuments
ErrorDocument 401 /modules.php?name=ErrorDocuments
ErrorDocument 403 /modules.php?name=ErrorDocuments
ErrorDocument 406 /modules.php?name=ErrorDocuments
ErrorDocument 500 /modules.php?name=ErrorDocuments
# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------
After adding the extra code I get Internal Server Error.
Palbin Site Admin Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
Posted:
Sat Jan 08, 2011 2:22 pm
What have your tried so far to fix the problem?
Raven Site Admin/Owner Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
Posted:
Sat Jan 08, 2011 2:56 pm
spasticdonkey wrote: yes that is it, except you are missing the closing </IfModule> tag, probably just missed it while copy/pasting...
btw, this requires both mod_expires + mod_headers enabled on your server. I found this here:
Do you have mod_headers installed?
unicornio Involved Joined: Aug 13, 2009 Posts: 432
Posted:
Sun Jan 09, 2011 1:37 pm
After removing this
Code: <IfModule mod_expires.c>
ExpiresActive On
# ExpiresDefault A86400
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType text/css "access plus 5 minutes"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType text/plain "access plus 15 minutes"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType video/x-flv "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
# ExpiresByType text/html "access plus 5 minutes"
ExpiresByType text/javascript "access plus 5 minutes"
ExpiresByType application/x-javascript "access plus 5 minutes"
# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|html)$">
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
</IfModule>
I replace with and then it works again. I will always get an Internal Error if I do the trick above.
Code: <IfModule mod_expires.c>
ExpiresActive On
# ExpiresDefault A86400
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType text/css "access plus 5 minutes"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType text/plain "access plus 15 minutes"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType video/x-flv "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
# ExpiresByType text/html "access plus 5 minutes"
ExpiresByType text/javascript "access plus 5 minutes"
ExpiresByType application/x-javascript "access plus 5 minutes"
</IfModule>
Raven Site Admin/Owner Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
Posted:
Sun Jan 09, 2011 5:27 pm
That means you do not have mod_headers installed; have your host install it. You need to use all of the code for it to work correctly.
unicornio Involved Joined: Aug 13, 2009 Posts: 432
Posted:
Sun Apr 03, 2011 5:48 am
I updated to FF 4.0
Smooth and Fast
fernades New Member Joined: Aug 18, 2010 Posts: 21
Posted:
Thu Apr 07, 2011 3:09 am
nuken wrote: After getting fed up with having to constantly refresh FF 3.6, I went in search of a fix. Thanks to google and a little patience, I found it.
In your FF browser type:
about:config
Then in the FILTER type:
browser.cache.check_doc_frequency
IF THE VALUE IS ANYTHING OTHER THAN 1 CHANGE IT!
MAKE SURE THE VALUE IS SET TO 1, ONLY!
Nice sharing. Thankz a lot
unicornio Involved Joined: Aug 13, 2009 Posts: 432
Posted:
Wed Jan 04, 2012 2:30 pm
After installing mod_headers on the server.
a2enmod headers
apache2 -k graceful
I can finally use the whole code.
Code: <IfModule mod_expires.c>
ExpiresActive On
# ExpiresDefault A86400
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType text/css "access plus 5 minutes"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType text/plain "access plus 15 minutes"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType video/x-flv "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
# ExpiresByType text/html "access plus 5 minutes"
ExpiresByType text/javascript "access plus 5 minutes"
ExpiresByType application/x-javascript "access plus 5 minutes"
# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|html)$">
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
</IfModule>
Now it is working properly
View next topic
View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum