Top Menu

Search results for "chmod only directory a x"

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

…active IPTables firewall with Apache 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 access. Install phpMyAdmin on a separate web server, and restrict access to PMA’s directory (… 13, 0, 0, 0 and 675.96

Continue Reading 0
APC INFO Monitor

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

…ent/themes/themename/thumb\.php$,-/usr/share/psa-horde/.*,+/home/username/public_html/phpmyadmin/.*” TimThumb is a good example of a common WordPress theme plugin that may not need to be cached. Because the apc.filters RegExp only works with filenames, it is not possible to filter out an entire PHP script package, component or plugin based on the directory where it resides. So if you do not wish to use APC cache on a particular script package, yo… 6, 0, 0, 0 and 311.98

Continue Reading 53

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

…licly-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 permissions issue: root@cpanel1 [/usr/local/cpanel/3rdparty/mailman/bin]# ./check_perms –snip– directory permissions must… 1, 0, 1, 0 and 91

Continue Reading 2

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, 0, 1, 0 and 91

Continue Reading 4

Automated WordPress Installation Via Custom Virtualmin Script Installer

…t; 1 } ); return @files; }  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…. 1, 0, 0, 0 and 52

Continue Reading 39
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…server which can 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 commodity web hosting server, you may try the following method to selectively enable APC per directory:… 1, 0, 0, 0 and 52

Continue Reading 4

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

…; 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 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 SCRI… 1, 0, 0, 0 and 52

Continue Reading 18