Free, NO advertisement, Unlimited Web Hosting
Unlimited Disk Space + Bandwidth
Feature Packed - MySQL Databases, Email Accounts, Auto Script installer and more!
Use your own domain! Don't have your own domain? Get a free one. Click here
Amazing Support + Friendly Community
Script Installer -> Scripts ready to get installed! Build an Awesome Website with 0 coding skill! Click here to see complete lists

CLICK HERE AND ORDER NOW! $0/mo

Re: HELP ME! NGINX ERROR!!!!

  • 8 replies
  • 40 views
*

.

  • *
  • 2
  • +0/-0
  • .
Re: HELP ME! NGINX ERROR!!!!
« on: November 24, 2018, 05:37:16 PM »
OH..thank you for helping me but it doesn't worked.. :-[
« Last Edit: November 24, 2018, 05:42:57 PM by jurpop0726 »

*

.

  • *
  • 2
  • +0/-0
  • .
Re: HELP ME! NGINX ERROR!!!!
« Reply #1 on: November 24, 2018, 05:43:38 PM »
Hi,
Please try adding the following to your .htaccess

Code: [Select]
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Do I have to write

RewriteEngine On

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

# block direct access to templates, XML schema files, config files, dotfiles, environment, etc.
RewriteCond %{REQUEST_URI} !/modules/editor/(skins|styles)/
RewriteCond %{REQUEST_URI} !/common/manual/
RewriteRule ^(addons|common/tpl|files/ruleset|(m\.)?layouts|modules|plugins|themes|widgets|widgetstyles)/.+\.(html|xml)$ - [L,F]
RewriteRule ^files/(attach|config|cache/store)/.+\.php$ - [L,F]
RewriteRule ^files/(env|member_extra_info/(new_message_flags|point))/ - [L,F]
RewriteRule ^(\.git|\.ht|\.travis|codeception\.|composer\.|Gruntfile\.js|package\.json|CONTRIBUTING|COPYRIGHT|LICENSE|README) - [L,F]

# static files
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(.+)/(addons|files|layouts|m\.layouts|modules|widgets|widgetstyles)/(.*) ./$2/$3 [L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(.+)\.min\.(css|js)$ ./$1.$2 [L]

# rss, blogAPI
RewriteRule ^(rss|atom)$ ./index.php?module=rss&act=$1 [L]
RewriteRule ^([a-zA-Z0-9_]+)/(rss|atom|api)$ ./index.php?mid=$1&act=$2 [L]

# trackback
RewriteRule ^([0-9]+)/(.+)/trackback$ ./index.php?document_srl=$1&key=$2&act=trackback [L]
RewriteRule ^([a-zA-Z0-9_]+)/([0-9]+)/(.+)/trackback$ ./index.php?mid=$1&document_srl=$2&key=$3&act=trackback [L]

# document category
RewriteRule ^([a-zA-Z0-9_]+)/category/([0-9]+)$ ./index.php?mid=$1&category=$2 [L,QSA]

# document permanent link
RewriteRule ^([0-9]+)$ ./index.php?document_srl=$1 [L,QSA]

# admin module link
RewriteRule ^admin/?$ ./index.php?module=admin [L,QSA]

# mid link
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9_]+)/?$ ./index.php?mid=$1 [L,QSA]

# mid + document link
RewriteRule ^([a-zA-Z0-9_]+)/([0-9]+)$ ./index.php?mid=$1&document_srl=$2 [L,QSA]

# mid + entry title
RewriteRule ^([a-zA-Z0-9_]+)/entry/(.+)$ ./index.php?mid=$1&entry=$2 [L,QSA]

just like this?

*

.

  • *
  • 2
  • +0/-0
  • .
Re: HELP ME! NGINX ERROR!!!!
« Reply #2 on: November 25, 2018, 06:28:00 PM »
In theory, that should work.

If doesn’t, I have to dig a bit deep. This is a known issue with Ck editor and mod sec from what I am gathering.
Let me run through the logs.

Thanks.
I attached the CKEditor I'm using right now.
And can you tell me how much time does it cost to fix that problem?
I really appreciate you.
Thank you.

*

.

  • *
  • 2
  • +0/-0
  • .
Re: HELP ME! NGINX ERROR!!!!
« Reply #3 on: November 25, 2018, 10:14:16 PM »
Can you please retry now?

I retried it but it's still same...:(

*

.

  • *
  • 2
  • +0/-0
  • .
Re: HELP ME! NGINX ERROR!!!!
« Reply #4 on: November 25, 2018, 11:18:18 PM »
Refresh your page and retry again please.

Um..; I retry like over 10 times but it's still same.. :-[
sorry.

*

.

  • *
  • 2
  • +0/-0
  • .
Re: HELP ME! NGINX ERROR!!!!
« Reply #5 on: November 25, 2018, 11:18:52 PM »
Refresh your page and retry again please.

Still I can't attach any image.
https://titomi.cf/index.php?mid=manga&act=dispBoardWrite

*

.

  • *
  • 2
  • +0/-0
  • .
Re: HELP ME! NGINX ERROR!!!!
« Reply #6 on: November 25, 2018, 11:38:28 PM »
Please try now. I think I got it this time.

Sorry..... :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'(
It's not working :'( :'( :'( :'( :'(
But THANK YOU FOR HELPING ME

*

.

  • *
  • 2
  • +0/-0
  • .
Re: HELP ME! NGINX ERROR!!!!
« Reply #7 on: November 25, 2018, 11:45:34 PM »
Ok hold on,  I have one last thing.

I HOPE IT WORK

*

.

  • *
  • 2
  • +0/-0
  • .
Re: HELP ME! NGINX ERROR!!!!
« Reply #8 on: November 26, 2018, 09:25:50 AM »
This should work flawlessly now. I have disabled mod_security for your domain completely.

Fyi, you should look into a different software or script if possible. Otherwise, we are just leaving your website vulnerable :).

 WOOOOOOOOOOOOW!
I LOVE IT!
THANK YOU!