Jump to content
Latest News: (loading..)

Recommended Posts

Using Edge.

Everything works fine except for the following issue.

Occasionally the site becomes unresponsive and the server hangs. This takes down other sites on the shared server.

It happens when copying a product to another category as a linked product. It also was happened when navigating backwards from a sub category to the parent IF the sub category headings/icons were turned on. Turning the category listing off prevented the issue, but as i said it now happens when copying a product to other categories. 

The server log says :

2018-03-04 12:45:26 Error 81.xx.xx.80   AH01797: client denied by server configuration: /var/www/vhosts/xxxxxxxx.co.uk/httpdocs/images/index.shtml, referer: http://xxxxxxxx.co.uk/index.php       Apache error


I suspect its to do with the .htaccess rewrites.

Ht access says '

# $Id$
# This is used with Apache WebServers
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
# Example:
# <Directory "/usr/local/apache/htdocs">
#   AllowOverride Options
# </Directory>
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)

# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

#<IfModule mod_setenvif.c>
#  <IfDefine SSL>
#    SetEnvIf User-Agent ".*MSIE.*" \
#             nokeepalive ssl-unclean-shutdown \
#             downgrade-1.0 force-response-1.0
#  </IfDefine>

# If Search Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter

# AcceptPathInfo On

# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)

# php_value session.use_trans_sid 0
# php_value register_globals 1

<IfModule mod_headers.c>
  Header unset ETag
FileETag None

## https://gtmetrix.com/leverage-browser-caching.html ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"
ExpiresDefault "access plus 2 days"

--- end ---


Please can someone give me some guidance in resolving this 


Share this post

Link to post
Share on other sites

Actually I think I found the issue, the server has Fail2ban installed, and has banned my own i.p and that of someone who was also using the site admin. I think it is related to a rule in fail2ban. Disabling fail2ban has fixed the issue.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this