Internal Server Errors - Joomla! Forum - community, help and support
hi,
need on www.worldboxingnews.net keep getting '500 internal server errors' , site loading slow.
it's been since november 6 , need fixing asap.
here .htaccess if can spot anything:
# enable expirations
expiresactive on
# default directive
expiresdefault "access plus 1 month"
# favicon
expiresbytype image/x-icon "access plus 1 year”
# images
expiresbytype image/gif "access plus 1 month"
expiresbytype image/png "access plus 1 month"
expiresbytype image/jpg "access plus 1 month"
expiresbytype image/jpeg "access plus 1 month"
# css
expiresbytype text/css "access 1 month”
# javascript
expiresbytype application/javascript "access plus 1 year"
##
# @package joomla
# @copyright copyright (c) 2005 - 2012 open source matters. rights reserved.
# @license gnu general public license version 2 or later; see license.txt
##
##
# read if choose use file!
#
# line below section: 'options +followsymlinks' may cause problems
# server configurations. required use of mod_rewrite, may already
# set server administrator in way dissallows changing in
# .htaccess file. if using causes server error out, comment out (add # to
# beginning of line), reload site in browser , test sef url's. if work,
# has been set server administrator , not need set here.
##
## can commented out if causes errors, see notes above.
options +followsymlinks
## mod_rewrite in use.
rewriteengine on
rewritebase /
## begin - rewrite rules block out common exploits.
# if experience problems on site block out operations listed below
# attempts block common type of exploit `attempts` joomla!
#
# block out script trying base64_encode data within url.
rewritecond %{query_string} base64_encode[^(]*\([^)]*\) [or]
# block out script includes <script> tag in url.
rewritecond %{query_string} (<|%3c)([^s]*s)+cript.*(>|%3e) [nc,or]
# block out script trying set php globals variable via url.
rewritecond %{query_string} globals(=|\[|\%[0-9a-z]{0,2}) [or]
# block out script trying modify _request variable via url.
rewritecond %{query_string} _request(=|\[|\%[0-9a-z]{0,2})
# return 403 forbidden header , show content of root homepage
rewriterule .* index.php [f]
#
## end - rewrite rules block out common exploits.
## begin - custom redirects
#
# if need redirect pages, or set canonical non-www to
# www redirect (or vice versa), place code here. ensure those
# redirects use correct rewriterule syntax , [r=301,l] flags.
#
## end - custom redirects
##
# uncomment following line if webserver's url
# not directly related physical file paths.
# update joomla! directory (just / root).
##
rewritebase /
## begin - joomla! core sef section.
#
rewriterule .* - [e=http_authorization:%{http:authorization}]
#
# if requested path , file not /index.php , request
# has not been internally rewritten index.php script
rewritecond %{request_uri} !^/index\.php
# , request within component folder,
# or site root, or extensionless url, or the
# requested url ends 1 of listed extensions
rewritecond %{request_uri} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [nc]
# , requested path , file doesn't directly match physical file
rewritecond %{request_filename} !-f
# , requested path , file doesn't directly match physical folder
rewritecond %{request_filename} !-d
# internally rewrite request index.php script
rewriterule .* index.php [l]
#
## end - joomla! core sef section.
#php_value post_max_size "10m"
#php_value upload_max_filesize "10m"
#php_value mysql.default_socket "/kunden/tmp/mysql5.sock"
setenv tz europe/london
redirect permanent /2010/12/world-boxing-news-latest.html /news.html
redirect permanent /2010/07/fight-diary.html /schedule.html
redirect permanent /2010/07/results.html /results.html
redirect permanent /2010/06/world-boxing-rankings.html /wbc-rankings-and-world-champions.html
redirect permanent /2012/07/wbn-pound-for-pound-top-50.html /wbn-pound-for-pound-top-50.html
redirect permanent /2010/07/world-p4p-boxers.html /top-10-profiles.html
redirect permanent /2010/08/wbn-boxer-of-month.html /awards.html
redirect permanent /2010/11/wbn-hall-of-fame-vote-for-your.html /hall-of-fame.html
redirect permanent /2010/08/about-us.html /about-wbn.html
redirect permanent /2010/07/contact-us.html /contact-wbn.html
thanks in advance.
need on www.worldboxingnews.net keep getting '500 internal server errors' , site loading slow.
it's been since november 6 , need fixing asap.
here .htaccess if can spot anything:
# enable expirations
expiresactive on
# default directive
expiresdefault "access plus 1 month"
# favicon
expiresbytype image/x-icon "access plus 1 year”
# images
expiresbytype image/gif "access plus 1 month"
expiresbytype image/png "access plus 1 month"
expiresbytype image/jpg "access plus 1 month"
expiresbytype image/jpeg "access plus 1 month"
# css
expiresbytype text/css "access 1 month”
# javascript
expiresbytype application/javascript "access plus 1 year"
##
# @package joomla
# @copyright copyright (c) 2005 - 2012 open source matters. rights reserved.
# @license gnu general public license version 2 or later; see license.txt
##
##
# read if choose use file!
#
# line below section: 'options +followsymlinks' may cause problems
# server configurations. required use of mod_rewrite, may already
# set server administrator in way dissallows changing in
# .htaccess file. if using causes server error out, comment out (add # to
# beginning of line), reload site in browser , test sef url's. if work,
# has been set server administrator , not need set here.
##
## can commented out if causes errors, see notes above.
options +followsymlinks
## mod_rewrite in use.
rewriteengine on
rewritebase /
## begin - rewrite rules block out common exploits.
# if experience problems on site block out operations listed below
# attempts block common type of exploit `attempts` joomla!
#
# block out script trying base64_encode data within url.
rewritecond %{query_string} base64_encode[^(]*\([^)]*\) [or]
# block out script includes <script> tag in url.
rewritecond %{query_string} (<|%3c)([^s]*s)+cript.*(>|%3e) [nc,or]
# block out script trying set php globals variable via url.
rewritecond %{query_string} globals(=|\[|\%[0-9a-z]{0,2}) [or]
# block out script trying modify _request variable via url.
rewritecond %{query_string} _request(=|\[|\%[0-9a-z]{0,2})
# return 403 forbidden header , show content of root homepage
rewriterule .* index.php [f]
#
## end - rewrite rules block out common exploits.
## begin - custom redirects
#
# if need redirect pages, or set canonical non-www to
# www redirect (or vice versa), place code here. ensure those
# redirects use correct rewriterule syntax , [r=301,l] flags.
#
## end - custom redirects
##
# uncomment following line if webserver's url
# not directly related physical file paths.
# update joomla! directory (just / root).
##
rewritebase /
## begin - joomla! core sef section.
#
rewriterule .* - [e=http_authorization:%{http:authorization}]
#
# if requested path , file not /index.php , request
# has not been internally rewritten index.php script
rewritecond %{request_uri} !^/index\.php
# , request within component folder,
# or site root, or extensionless url, or the
# requested url ends 1 of listed extensions
rewritecond %{request_uri} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [nc]
# , requested path , file doesn't directly match physical file
rewritecond %{request_filename} !-f
# , requested path , file doesn't directly match physical folder
rewritecond %{request_filename} !-d
# internally rewrite request index.php script
rewriterule .* index.php [l]
#
## end - joomla! core sef section.
#php_value post_max_size "10m"
#php_value upload_max_filesize "10m"
#php_value mysql.default_socket "/kunden/tmp/mysql5.sock"
setenv tz europe/london
redirect permanent /2010/12/world-boxing-news-latest.html /news.html
redirect permanent /2010/07/fight-diary.html /schedule.html
redirect permanent /2010/07/results.html /results.html
redirect permanent /2010/06/world-boxing-rankings.html /wbc-rankings-and-world-champions.html
redirect permanent /2012/07/wbn-pound-for-pound-top-50.html /wbn-pound-for-pound-top-50.html
redirect permanent /2010/07/world-p4p-boxers.html /top-10-profiles.html
redirect permanent /2010/08/wbn-boxer-of-month.html /awards.html
redirect permanent /2010/11/wbn-hall-of-fame-vote-for-your.html /hall-of-fame.html
redirect permanent /2010/08/about-us.html /about-wbn.html
redirect permanent /2010/07/contact-us.html /contact-wbn.html
thanks in advance.
suggest run audit in developer tools chrome. have number of issues - many itemize here.
certainly enabling gzip , minifying js , css help. adding cdn cloudflare quite bit.
combine external css (29)
combine external javascript (21)
enable gzip compression (7)
leverage browser caching (213)
leverage proxy caching (66)
minimize cookie size (19)
parallelize downloads across hostnames (85)
serve static content cookieless domain (130)
specify image dimensions (11)
optimize order of styles , scripts (27)
put css in document head (1)
remove unused css rules (2707)
use normal css property names instead of vendor-prefixed ones (72)
certainly enabling gzip , minifying js , css help. adding cdn cloudflare quite bit.
Comments
Post a Comment