UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > cPanel Shared Hosting

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-03-2008, 17:39
new member
 
Join Date: Feb 2008
Posts: 6
Default Joomla Installation: 406 Errors

Hi,

Signed up a few days ago for the linux copper hosting, installed joomla 1.0.15 and started building my website hosting, everything seemed fine but now ive come to adding content I seem to be getting '406 Not Acceptable' errors from the browser whenever I try to add or delete sections/categories via the joomla backend. Everything else works fine but I cant add or delete categories or sections of any kind.

Having done some research on the joomla forums it seems a few people get this error and its normally due to mod_security rules set by the hosting provider.

There are a few fixes listed which I can add to the .htaccess file but I thought i'd better check with my host before I start messing with security settings.

Thanks
Hammy

Last edited by Hamster; 02-03-2008 at 17:54.
Reply With Quote
  #2 (permalink)  
Old 02-03-2008, 18:04
System Administrator
 
Join Date: Aug 2007
Posts: 33
Default

Yes, you have to disable mod_security for Joomla. Add the code in .htaccess file to disable mod_security.

eUKMatthew
http://eUKhost.com
Reply With Quote
  #3 (permalink)  
Old 02-03-2008, 18:15
new member
 
Join Date: Feb 2008
Posts: 6
Default

Yup that did the trick, just thought its best to be safe than sorry by asking first.

Thanks
Reply With Quote
  #4 (permalink)  
Old 10-03-2008, 17:12
new member
 
Join Date: Mar 2008
Posts: 4
Default

Hi

I have the same problem

I have found the htaccess file,

still confused.

What code do i need to install or change,
and where in the file do i need to install it

being a typical newbie
Reply With Quote
  #5 (permalink)  
Old 10-03-2008, 17:26
Moderator
 
Join Date: Nov 2006
Posts: 255
Send a message via MSN to Jack
Default

Quote:
Originally Posted by dolfrog View Post
Hi

I have the same problem

I have found the htaccess file,

still confused.

What code do i need to install or change,
and where in the file do i need to install it

being a typical newbie
You can add this code in .htaccess file for that particular domain on which you are getting mod security errors.

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

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
  #6 (permalink)  
Old 10-03-2008, 19:05
new member
 
Join Date: Mar 2008
Posts: 4
Default

Hi did what you suggested as per below
-------------------------------------------------
text/plain htaccess.txt
ASCII English text

##
# @version $Id: htaccess.txt 9975 2008-01-30 17:02:11Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license ***HAD TO TAKE THE LINK OUT TO POST***
# Joomla! is Free Software
##
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
SecFilterCheckURLEncoding Off
</IfModule>

################################################## ###
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your web site hosting in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
################################################## ###

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
# mod_rewrite in use

RewriteEngine On


# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

# RewriteBase /



########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section


########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your web site hosting block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
____________________________________

but I still have the same problems

have i put the code in the right place
Reply With Quote
  #7 (permalink)  
Old 10-03-2008, 19:42
Moderator
 
Join Date: Nov 2006
Posts: 255
Send a message via MSN to Jack
Default

I would request you to come on our live chat service. Your issue will sorted out fast on live chat.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
  #8 (permalink)  
Old 11-03-2008, 13:29
new member
 
Join Date: Feb 2008
Posts: 6
Default

Hi Dolfrog,

I just added:

SecFilterEngine Off

to the bottom of the .htaccess file and it worked fine for me.....make sure you remember to rename the file to .htaccess from htaccess.txt and make sure its in the root folder for your website hosting.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 13:35.

 

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

Business Web Hosting
100% uptime Hosting

Cpanel Hosting
cPanel Shared Hosting

Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

Customer Testimonials
eUK Customer Testimonials


knowledgebase articles

eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting


popular blog categories


Web Hosting
Website Hosting articles

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles