View Full Version : When change template : Your browser sent a request that this server could not underst
abdobasha2004
02-19-2009, 11:49 AM
when try to change forumhome template in certain style I get :
Bad Request
Your browser sent a request that this server could not understand.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
however the rest of styles and templates of this style are changed normally
vbplusme
02-19-2009, 12:11 PM
That usually happens when the URL that goes to the browser is misspelled or malformed so the request doesn't match the standard syntax. Check the browser input box to see it you can see a misspelling or something when you try to bring up that page.
abdobasha2004
02-19-2009, 12:18 PM
I am sure of spelling
I come to this error after choosing edit templates from my admin cp
so there is no error in writing
Marco van Herwaarden
02-19-2009, 12:32 PM
Is this only with a specific edit (can you save the template without any changes)?
Also this could be caused by mod_security or Suhosin, is any of thatinstalled at your server?
abdobasha2004
02-19-2009, 12:38 PM
it is for specific template of specific style, any edit I get that message (not specific edit)
I am not using one of above mods
Marco van Herwaarden
02-19-2009, 12:46 PM
Those are not vB modifications (just in case you misunderstood that).
Can you try to up your PHP memory limit?
abdobasha2004
02-19-2009, 12:49 PM
up your PHP memory limit?
how to do that?
--------------- Added 1235055117 at 1235055117 ---------------
by the way I noticed in general large templates as showthread and forumhome cannot be edited
small templates as postbit and tagbit are edited normally
snakes1100
02-19-2009, 01:22 PM
Can you go to vbulletin options --> show all settings and try to save all settings at once, does that work?
If it doesn't please check and verify that your server is running modsecurity, you can verify that its running modsecurity by viewing your php info, it should be listed under apache2handlers Loaded Modules box.
Example:
mod_env mod_mime mod_security2 mod_negotiation mod_php5 mod_rewrite mod_setenvif mod_status mod_unique_id
abdobasha2004
02-19-2009, 01:27 PM
no it does not
Forbidden
You don't have permission to access /vb/admincp/options.php on this server.
how to do that
by viewing your php info, it should be listed under apache2handlers Loaded Modules box.
I am running admin panel
how to know apache2handelers?
thanks for help
snakes1100
02-19-2009, 01:32 PM
admincp --> maintenance --> View PHP info
abdobasha2004
02-19-2009, 01:38 PM
I get this
core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter mod_deflate mod_log_config mod_logio mod_env mod_headers mod_unique_id mod_setenvif mod_proxy mod_proxy_connect mod_proxy_ftp mod_proxy_http mod_proxy_ajp mod_proxy_balancer mod_ssl prefork http_core mod_mime mod_dav mod_status mod_autoindex mod_asis mod_suexec mod_cgi mod_dav_fs mod_dav_lock mod_negotiation mod_dir mod_actions mod_userdir mod_alias mod_rewrite mod_so mod_php5 mod_security2
snakes1100
02-19-2009, 01:44 PM
As you can see, the last module loaded there is "mod_security2", add the code below to a .htaccess file and save it to your public_html folder.
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
After, try to edit and re-save the templates or all the vb settings at once.
abdobasha2004
02-19-2009, 02:49 PM
done
same problem persist
I added <IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
to top of my htaccess in the public html
snakes1100
02-19-2009, 08:50 PM
Unfortunately that doesn't always work, ask your host to disable mod_security for your site.
Also, make sure you clear your cookie and cache/temp internet folder and restart it and test it again.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.