- Recovering from a Broken Partition Table
- RewriteRule in htaccess vs httpd.conf
- Running PHP through mod_fcgid
- How They Got Your Password
- Installing mod_reqtimeout on cPanel
- Following the Hacker — passwords
- Using Nginx as a reverse-proxy
- Dead-simple templates in PHP
- Tell-a-friend SPAM
- PHP mail via SMTP
View by topic -- Linux
This listing shows articles relating to this single topic, making it easier to find all the articles that deal with a given subject.
Recovering from a Broken Partition Table
So you lost your partition table and need to get to find the filesystem it used to contain. Now what?
RewriteRule in htaccess vs httpd.conf
Typically Apache’s RewriteRule sets from mod_rewrite go in .htaccess files, but sometimes you have a good reason to put them in your general server config instead: your httpd.conf or apache2.conf file (or a file you Include from one of those). If you’ve done this before, you’ve probably been surprised that it didn’t work quite the […]
Installing mod_reqtimeout on cPanel
The Apache module mod_reqtimeout is a simple and effective way to protect yourself from the Slowloris attack. But the cPanel team still does not include support for mod_reqtimeout in the EasyApache build utility, even though the module is a core part of the Apache web server distribution. But that doesn’t leave us completely powerless: we can add this support ourselves.
Installing mod_cloudflare on cPanel
Here you’ll find an installer script that adds mod_cloudflare to your EasyApache build system included with cPanel servers. The CloudFlare module automatically translates visitor IP addresses to reflect the visitor’s original IP address rather than the IP address of the CloudFlare proxy servers.
Transferring a MySQL database via SSH
Normally the preferred way to transfer a MySQL database is to use `mysqldump` to create a database backup, possibly compress it with gzip, transfer that backup file to the new server, and then load it using the `mysql` command-line tool.
But what if you wanted to do it all in one step?
Pasting Files Into a Text Console
Traditionally it’s been remarkably easy to copy and paste text between programs and between terminal sessions, but it’s been somewhat more tedious to copy files around.