Contact Menu

Search results for "recursive chmod directory only"

Screen Shot 2012-09-07 at 11.09.50 AM

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

…che login failure IP blacklisting. For Amazon EC2, a good practice is to create a discrete database server, and only allow access to it inside a VPC security group, or from specific IP addresses enabled in that security group. That way, you can safely Allow from ALL hosts, because the VPC firewall will prevent other […]

Continue Reading 0
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 the execute bit on directories only Recursively chmod only files find . -type f -exec chmod 644 {} \; Recursively chmod only PHP files (with extension .php) find . -type f -name ‘*.php’ -exec chmod 644 {} \;… 1, 1, 2, 0 and 246.07

Continue Reading 5
logo-mailman

Cpanel Mailman mailing lists: cannot manage lists after migrating to new host

…d list, open a URL similar to this one, but with a ‘/’ and the right list name appended. If you have the proper authority, you can also create a new mailing list. This turned out to be a permissions issue: root@cpanel1 [/usr/local/cpanel/3rdparty/mailman/bin]# ./check_perms –snip– directory permissions must be 02775: /usr/local/cpanel/3rdparty/mailman/…/list_domain.com/… –snip– Problems found: 2999 […]

Continue Reading 2
wordpress-installation

Automated WordPress Installation Via Custom Virtualmin Script Installer

…r/libexec/webmin/virtual-server/scripts/ Automatic installation with creation of new virtual server: Virtualmin > System Settings > Server Templates > Default Settings > Default Script Installers Custom WordPress If you want to have the script archive download from a protected web directory, that is also possible: ‘url’ => “http://repo.server.com/file-ver.zip”, ‘nocache’ => 1, ‘user’ => “username”, ‘pass’ => “password”… […]

Continue Reading 43
virtualmin-nginx-wordpress-permalinks-apc

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)

…lled in /public_html/wordpress, so you will need to omit or change /wordpress if WP is installed in a different directory. location ^~ /files/ { rewrite /files/(.+) /wordpress/wp-includes/ms-files.php?file=$1 last; } location @wordpress { fastcgi_pass localhost:9000; fastcgi_param SCRIPT_FILENAME $document_root/index.php; include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_NAME /index.php; } location ~ \.php$ { try_files $uri @wordpress; fast… 1, 0, 0, 0 […]

Continue Reading 18
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…vidual accounts to be configured with individual php.ini and fcgiwrapper, or even different versions of PHP. Of course, because this will require greater management, it should be charged as a premium service. If you wish to enable APC on a commodity web hosting server, you may try the following method to selectively enable APC per […]

Continue Reading 4