Web Development Blog

nano /etc/csf/csf.conf

Find CUSTOM1_LOG and edit the content to:

CUSTOM1_LOG = "/var/log/maillog"

 

Add the regex to catch the failed attempts against SASL

nano /usr/local/csf/bin/regex.custom.pm

Add the below regex between "Do not edit before this point" and "Do not edit beyond this point":

if (

Tag:
CentOS
Server
CSF
1 reply / 414 views.
Reply

Solve nss-softokn problem on CentOS 6

Tag:
CentOS
Server
0 replys / 422 views.
Reply

Happy New Year

Tag:
eCard
0 replys / 732 views.
Reply

By default MySQL set the max connections to 151.

 

This will increase the max connections:

nano /etc/my.cnf

 

In the my.cnf put in the belw 2 lines:

 

[mysqld]

open_files_limit = 8000

max_connections = 1000

 

Save the file and restart mysql.

service mysqld restart

Tag:
MySQL
CentOS
0 replys / 3312 views.
Reply

When upload images or files using PHP on IIS, the files are not accessible from website http due to 401.3 ACL permission problem.

 

Step 1

1. In IIS, click your Website. Under "IIS", double-click "Authentication".
2. Right-click "Anonymous Authentication", click "Enable".
3. Click your website again

Tag:
PHP
Server
IIS
0 replys / 5140 views.
Reply
To view more, please select month or tag from the list on the right..
View the latest 5 entries.