Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
403 when saving forms, saving articles
I’m getting a 403 Forbidden on several random parts of TXP, for example, saving certain articles or editing/creating new forms. I can create blank forms, but none with any content. Pages and most articles save correctly.
I noticed several posters have recommended a modsecurity fix for similar 403 problems, but that’s not working for me. Any ideas?
http://www.patrolmag.com
Offline
Offline
Re: 403 when saving forms, saving articles
I’ve asked if they did anything that could be causing it, but they say no. (Have never had this problem with any of the many TXP sites I’ve hosted with them.)
Textpattern version: 4.4.1 (r3575)
Last Update: 2011-09-15 17:58:09/2011-09-15 17:55:35
Document root: /var/www/vhosts/davidsessions.net/httpdocs
$path_to_site: /var/www/vhosts/davidsessions.net/httpdocs
Textpattern path: /var/www/vhosts/davidsessions.net/httpdocs/textpattern
Permanent link mode: section_title
open_basedir: /var/www/vhosts/davidsessions.net/httpdocs/:/tmp/
Temporary directory path: images
Site URL: davidsessions.net
PHP version: 5.2.17
GD Image Library: version bundled (2.0.34 compatible), supported formats: GIF, JPG, PNG
Server TZ: America/Denver
Server Local Time: 2011-09-15 13:38:58
DST enabled?: 0
Automatically adjust DST setting?:
Time Zone: GMT-05.0 (-18000)
MySQL: 5.1.58
Locale: en_US.UTF-8
Server: Apache
Apache version: Apache
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Linux 2.6.18-028stab091.2
Admin-side theme: classic 4.4.1
Pre-flight check:
————————————
File directory path is not writable: files
Temporary directory path is not writable: images
————————————
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default
<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
————————————
Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: utf8
character_set_filesystem: binary
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
17 Tables: OK
10 Custom Fields: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)
PHP extensions: date/5.2.17, libxml, openssl, pcre, zlib/1.1, bz2, calendar, ctype, hash/1.0, filter/0.11.0, ftp, gettext, gmp, session, iconv, Reflection/0.1, standard/5.2.17, shmop, SimpleXML/0.1, SPL/0.2, sockets, exif/1.4 $Id: exif.c 293036 2010-01-03 09:23:27Z sebastian $, tokenizer/0.1, xml, apache2handler, curl, dbase, dom/20031129, gd, imap, json/1.2.1, mbstring, mysql/1.0, mysqli/0.1, PDO/1.0.4dev, pdo_mysql/1.0.2, pdo_sqlite/1.0.1, wddx, xmlreader/0.1, xmlwriter/0.1, xsl/0.1, zip/1.8.11, ionCube Loader
Apache modules: core, prefork, http_core, mod_so, mod_auth_basic, mod_auth_digest, mod_authn_file, mod_authz_host, mod_authz_user, mod_authz_groupfile, mod_include, mod_log_config, mod_logio, mod_env, mod_expires, mod_headers, mod_setenvif, mod_mime, mod_dav, mod_status, mod_autoindex, mod_info, mod_negotiation, mod_dir, mod_actions, mod_userdir, mod_alias, mod_rewrite, mod_proxy, mod_proxy_ftp, mod_proxy_http, mod_proxy_connect, mod_suexec, mod_cgi, mod_security2, mod_unique_id, mod_fcgid, mod_php5, mod_ssl
pretext_data: array (
‘id’ => ‘’,
‘s’ => ‘’,
‘c’ => ‘’,
‘context’ => ‘’,
‘q’ => ‘’,
‘m’ => ‘’,
‘pg’ => ‘’,
‘p’ => ‘’,
‘month’ => ‘’,
‘author’ => ‘’,
‘request_uri’ => ‘/2014796e3afc09611b3ca313aa819502/?txpcleantest=1’,
‘qs’ => ‘txpcleantest=1’,
‘subpath’ => ‘\\/’,
‘req’ => ‘/2014796e3afc09611b3ca313aa819502/?txpcleantest=1’,
)
/var/www/vhosts/davidsessions.net/httpdocs/index.php:
r3189 (5dfca604bf4976675f92222dd5628b0a)
/var/www/vhosts/davidsessions.net/httpdocs/css.php:
r3189 (b53deffeb21070b8d493af6846db8ac3)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/css.php:
r3189 (820df954c923979eabace541888feb4a)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/import/import_b2.php:
r3446 (7a044ad474fd04ae61063d0df15e05d8)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/import/import_blogger.php:
r3446 (4eade881581bd9932f05a7ff6e2a6e1f)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/import/import_mt.php:
r3446 (f0ab362246e60f37d3c52ef3f004e79d)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/import/import_mtdb.php:
r3488 (22628f6ba8d15645498ba09eb48bab32)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/import/import_wp.php:
r3488 (977d7be6fad569982ad175225e8e4df5)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_admin.php:
r3570 (7925fc6a6c15f944ab255a0a7e239dab)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_article.php:
r3560 (c12a042e5f56efeb4f5af57be4d42023)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_auth.php:
r3571 (dea6f26aa1af3ef10a0dc002f3a397ea)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_category.php:
r3534 (37ecab71b01c146dd58da97d9b5c6439)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_css.php:
r3535 (8cbc6b0e164b1cb790bea0264e867915)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_diag.php:
r3521 (fac584135850fcae546cb8c59bf94688)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_discuss.php:
r3569 (9e1d3b6ab40fde25a41d192e5f573ef7)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_file.php:
r3569 (a1848e934804174886ae3b57d418ebd2)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_form.php:
r3560 (06f2ddc008dbc82ce8d50af615f5f1a0)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_image.php:
r3569 (a77c218d6db978157ec9f289d561cd33)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_import.php:
r3556 (f8187a926ca6a379c1b0dd79fc194bec)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_link.php:
r3569 (412a2382de98901a535548e5cf2def96)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_list.php:
r3569 (91d67b3a1576a5dee3a128a03cdf9f04)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_log.php:
r3569 (fd8cd943143eb3537074563625521033)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_page.php:
r3560 (180b3a6b8669add7dab51a67ec76f89b)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_plugin.php:
r3551 (51152310c17015cf906fb26ddaa68275)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_prefs.php:
r3555 (6e844f30b97b1454c3d201914a2464a9)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_section.php:
r3552 (89aacca63f7afc9fe28dc111cb61fa5d)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/include/txp_tag.php:
r3560 (d22e90318bd6fdf006198ebd33c5e6b3)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/index.php:
r3575 (c2c7bf18468d74254c77570a9573b46b)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/jquery.js:
unknown (a34f78c3aecd182144818eb4b7303fda)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/IXRClass.php:
r3394 (e0b53564e1504316b35872309780edab)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/admin_config.php:
r3559 (52d8b15bbf633de98c565252b9ef8ceb)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/class.thumb.php:
r3301 (78f52a89b91018c8fa00ddd73cd398f5)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/classTextile.php:
r3566 (03d537017f6fc1f43535fa8d18f4cd48)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/constants.php:
r3488 (aa0ea1b5749497d3b19f0ed07acccaa2)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/taglib.php:
r2868 (5738c5e31820cda422f32701c71cb77e)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/txplib_admin.php:
r3488 (e7f66b6f8cc7e5a51eb05555ad3cb6dc)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/txplib_db.php:
r3389 (0e7462a104d815a33d25c5a6e775f84d)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/txplib_forms.php:
r3531 (a4dbb070460ecc5698ab80bba2cdfe5b)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/txplib_head.php:
r3560 (1a82941e28253d6df3735c05df5f7ebd)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/txplib_html.php:
r3569 (84ee78759355041d1ebb2c36bf565d80)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/txplib_misc.php:
r3569 (ea1314b56962fc9c67885691d977a3c5)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/txplib_theme.php:
r3388 (51ad413813a10071873571304bea9f97)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/txplib_update.php:
r2812 (52029367bf0aef18c1879d5ff2cf3d46)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/lib/txplib_wrapper.php:
r2931 (17472ff98d9ffb3dbcc9ebdf222d11ac)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/publish.php:
r3500 (e3bba9bec573b33dea759c0344db96a8)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/publish/atom.php:
r3399 (f4470b45eedc8e1ad4a48f8e74b45233)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/publish/comment.php:
r3395 (9e8596ada0a85ebdd52e1548fda81314)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/publish/log.php:
r3505 (8401dab65b91b1b1021fc876daf473bd)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/publish/rss.php:
r3399 (f8cb3ec280bffb8a15832ee3143f576c)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/publish/search.php:
r2812 (e2355f5b045bf80acc3a52ba32dddb1a)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/publish/taghandlers.php:
r3567 (6e87e8065d71acaa25512f8901d57938)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/textpattern.js:
r3560 (d0f6e8f931eb32d945112b712a45e32b)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/theme/classic/classic.php:
r3191 (f5337d226aef1552c4d4d99fe3bee912)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/update/_to_1.0.0.php:
r3047 (d631745cc332531712480f2bd6dfae29)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/update/_to_4.0.2.php:
r3462 (a08e1b95ea2256a33effab779989d1fd)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/update/_to_4.0.3.php:
r3047 (888328073220c66f316c1f04e5498692)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/update/_to_4.0.4.php:
r3047 (3da0f3b179ad98a49f8846c4e328cd0d)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/update/_to_4.0.5.php:
r2894 (e5150247c0e2d8882f65e24c938df1d6)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/update/_to_4.0.6.php:
r3047 (faeb0eaa7c042d18e79ded54ad3f68b3)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/update/_to_4.0.7.php:
r3014 (59dfb80496aa6f8bbcb486f26488f65d)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/update/_to_4.0.8.php:
r3057 (89382671f0509e1d880707bbd293f86c)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/update/_to_4.2.0.php:
r3480 (7bb41aac414aff7fa81cf960b5a42c1c)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/update/_to_4.3.0.php:
r3304 (59fcf5b4e1dc7870d6729c63b824e55f)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/update/_to_4.4.0.php:
r3498 (4b3bd3eadb29f3a9df6398126e137a87)
/var/www/vhosts/davidsessions.net/httpdocs/textpattern/update/_update.php:
r3575 (3386cdffb48e0b00c2b77e00ef57daec)
————————————
http://www.patrolmag.com
Offline
Re: 403 when saving forms, saving articles
davidsess wrote:
I’ve asked if they did anything that could be causing it, but they say no. (Have never had this problem with any of the many TXP sites I’ve hosted with them.)
They do use mod_security module. You could try to ask them if their filtering rules could potentially be blocking your requests, and if they could turn the blocking off for specific directory (your /textpattern directory) or to change the rules so that they allow actions required by Textpattern.
Changes are that their mod_security rules are blocking your requests. Hopefully they are willing to help.
Offline