Contact Menu

Search results for "chmod recursive only on directory"

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
APC INFO Monitor

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

…tomLog /var/log/serversoftware/chrisgilligan.com_access_log combined ScriptAlias /cgi-bin/ /home/chris/cgi-bin/ DirectoryIndex index.html index.htm index.php index.php4 index.php5 Options Indexes IncludesNOEXEC FollowSymLinks ExecCGI allow from all AllowOverride All AddHandler fcgid-script .php AddHandler fcgid-script .php5 FCGIWrapper /home/chris/fcgi-bin/php5.fcgi .php FCGIWrapper /home/chris/fcgi-bin/p… 6, 0, 0, 0 and 339.53

Continue Reading 52
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 254.65

Continue Reading 5
logo-mailman

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

…currently are no publicly-advertised Mailman mailing lists on cpanel1.hosting.com.To visit the administrators configuration page for an unadvertised 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 […]

Continue Reading 2
wordpress-installation

Automated WordPress Installation Via Custom Virtualmin Script Installer

…iles; }  Try the install: Put custompress.pl in /usr/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’ […]

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

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

…for pretty URLs, but you must configure Nginx to use them. You should add or edit the following URL path locations to nginx.conf for your virtual domain… either by direct edit, or via URL Path Locations in Virtualmin > Services > Configure Nginx Website (see attached image…). This config is for WP installed in /public_html/wordpress, so […]

Continue Reading 18
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…properly handle their needs. Virtualmin is a very good choice for this, as it allows individual 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 […]

Continue Reading 4