Contact Menu

Search results for "chmod-recursive-directories-only-write"

chmod-linux-1

Recursive chmod Tricks

Recursively chmod only directories find . -type d -exec chmod 755 {} \; Similarly, recursively set the execute bit on every directory chmod -R a+X * The +X flag sets… (Search hits: 1 in body, 1 in title, 0 in categories, 3 in tags, 0 in other taxonomies, 0 in comments. Score: 160.3)

Continue Reading 8
Screen Shot 2012-09-07 at 11.09.50 AM

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)

…ip 127.0.0.1 Require ip ::1 </RequireAny> </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 Order Deny,Allow Deny from All Allow from 127.0.0.1 Allow from ::1 </IfModule> </Directory> # These directories do not… (Search hits: 3 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 74.17)

Continue Reading 0

WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux

VacantServer WordPress sites are getting hammered with bad logins and probes. We’ve implemented a plugin to log failed login attempts to syslog, and a Fail2Ban filter for the same. If you run these on RedHat, you’ll need some additional configuration info… here it is: WordPress login failure regex (error_log): ^%(__prefix_line)sAuthentication failure for .* from <HOST>$ […]

Continue Reading 0

Integrating Content from External Sources into OU Campus Using RSS, PHP, and JavaScript

…not respond to a default wget request from a shell script. No problem: just specify –header and –user-agent, don’t do the lastBuildDate check, and just write the RSS XML file…. (Search hits: 1 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 21.09)

Continue Reading 0
APC INFO Monitor

How to Configure APC Cache on Virtual Servers with PHP running under FCGId

…= /tmp/apc-accountname.XXXXXX ;OR apc.mmap_file_mask = /dev/zero apc.file_update_protection = 2 apc.enable_cli = apc.max_file_size = 2M apc.stat = 1 apc.write_lock = 1 apc.report_autofilter = apc.include_once_override = apc.rfc1867 = apc.rfc1867_prefix = “upload_” apc.rfc1867_name… (Search hits: 1 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 21.09)

Continue Reading 57