Contact Menu

Search results for "chmod-only-directory-a-x"

Screen Shot 2012-09-07 at 11.09.50 AM

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

…tcgi_params; fastcgi_buffer_size 128k; fastcgi_buffers 256 4k; fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; fastcgi_intercept_errors on; } location ~* ^/phpMyAdmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /usr/share/; } } location /phpmyadmin { rewrite ^/* /phpMyAdmin last; } Edit /etc/phpMyAdmin/config.inc.php The config below shows some common config options. Important ones are ForceSSL and auth_type. For… 13, 0, 0, 0 and 1294.53

Continue Reading 0
APC INFO Monitor

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

…= 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/apc/apc\.php$” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc-accountname.XXXXXX ;OR apc.mmap_file_mask = /dev/zero apc.file_update_protection = 2 apc.enable_cli = 0 apc.max_file_size = 2M apc.stat = 1 apc.write_lock = 1 apc.report_autofilter = 0 apc.include_once_override = 0 apc.rfc1867 = 0… 6, […]

Continue Reading 56
logo-mailman

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

…vertised 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 […]

Continue Reading 2
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 […]

Continue Reading 7

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

…xample web pages: OU Campus PHP page with news feed and events feed from WordPress OU Campus PHP page with news feed from SideArm Sports WordPress plugin & PHP to add media attachments to RSS feed Example RSS feeds (view XML/XSL styled page in FireFox; View Source to see XML structure, namespaces, node names and […]

Continue Reading 0
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…. 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 […]

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

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

…= 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/scripts-not-to-cache/.*,-/home/username/public_html/apc/.*” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc.XXXXXX apc.file_update_protection = 2 apc.enable_cli = 0 apc.max_file_size = 2M apc.stat = 1 apc.write_lock = 1 apc.report_autofilter = 0 apc.include_once_override = 0 apc.rfc1867 = 0 apc.rfc1867_prefix = “upload_”… 1, 0, 0, 0 and 99.58

Continue Reading 20