Author Topic: Unable to write .htaccess in my CWP  (Read 311 times)

0 Members and 1 Guest are viewing this topic.

Unable to write .htaccess in my CWP
« on: September 26, 2018, 10:37:32 PM »
Hello, I have been stuck with this problem for a week now.

My issue is, all WordPress site cannot create their own .htaccess for permalinks, one of this site is my

At this point, I have created it manually, however, if you rename .htaccess to .htaccess_old and let WordPress create new .htaccess, Settings > Permalinks. This is not making any changes on the backend.

By any chance, do you know how to sort this out, or any related article that I can use for isolation. I hope you guys can help me out.

Here are the screenshots of my current setup at the moment.

Directory Permission of

vHost for

In addition to this case, here are the latest log, after I click on Permalinks before sending this message.

I do not see any error in Mod_sec as well, please see:
Code: [Select]
[Wed Sep 26 18:21:46.355153 2018] [:notice] [pid 18725:tid 139673502525312] ModSecurity: LIBXML compiled version="2.9.1"
[Wed Sep 26 18:21:46.355155 2018] [:notice] [pid 18725:tid 139673502525312] ModSecurity: Original server signature: Apache/2.4.34 (Unix) OpenSSL/1.0.1e-fips
[Wed Sep 26 18:21:46.355158 2018] [:notice] [pid 18725:tid 139673502525312] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Wed Sep 26 22:41:07.935974 2018] [:error] [pid 18841:tid 139673108166400] [client] [client] ModSecurity: Access denied with code 403 (phase 2). Pattern match "(?i:(?:^(?:microsoft url|user-Agent|www\\\\.weblogs\\\\.com|(?:jakart|vi)a|(google|i{0,1}explorer{0,1}\\\\.exe|(ms){0,1}ie( [0-9.]{1,}){0,1} {0,1}(compatible( browser){0,1}){0,1})$)|\\\\bdatacha0s\\\\b|; widows|\\\\\\\\r|a(?: href=|d(?:sarobot|vanced email extractor ..." at REQUEST_HEADERS:User-Agent. [file "/usr/local/apache/modsecurity-cwaf/rules/03_Global_Agents.conf"] [line "29"] [id "210831"] [rev "2"] [msg "COMODO WAF: Rogue web site crawler|||F|4"] [data "Indy Library"] [severity "WARNING"] [tag "CWAF"] [tag "Agents"] [hostname ""] [uri "/manager/html"] [unique_id "W6uag0I2KkEgyxXUjl8DNQAAANE"]

Code: [Select]
Linux 4.18.8-1.el7.elrepo.x86_64 #1 SMP Sat Sep 15 10                                                      :10:09 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

CPU info:
model name      : Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz

CentOS Linux release 7.5.1804 (Core)


Virtualization Type:

              total        used        free      shared  buff/cache   available
Mem:           1993         816          71          13        1105         936
Swap:          4095         543        3552

MySQL info:
mysql  Ver 15.1 Distrib 10.1.36-MariaDB, for Linux (x86_64) using readline 5.1

Disk Info:
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        973M     0  973M   0% /dev
tmpfs           997M     0  997M   0% /dev/shm
tmpfs           997M   25M  973M   3% /run
tmpfs           997M     0  997M   0% /sys/fs/cgroup
/dev/vda1        60G   18G   43G  30% /
tmpfs           200M     0  200M   0% /run/user/0
tmpfs           200M     0  200M   0% /run/user/1003

# /etc/fstab
# Created by anaconda on Wed May 16 20:44:20 2018
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
/dev/vda1 / xfs rw,relatime,attr2,inode64,noquota 0 0
/swapfile   swap    swap    sw  0   0

Apache PHP info:
PHP 7.1.0 (cli) (built: Sep 10 2018 19:20:23) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.                                                      com (unconfigured) v10.2.4, Copyright (c) 2002-2018, by ionCube Ltd.

Apache start script check:
grep: /etc/init.d/httpd: No such file or directory

CWP Admin check:

CWP version:

At this point, I do not know where to start. I hope you can guide me instead.