Additional FTP Account In Plesk
Sometimes on a website you want to have a folder inside the document root that has it’s own FTP account. For example you might have a /news folder and you want your ad agency to be able to post articles
Sometimes on a website you want to have a folder inside the document root that has it’s own FTP account. For example you might have a /news folder and you want your ad agency to be able to post articles
Here are the steps to create a self signed certificate. Replace [domain_name] with the actual domain name of the virtual host. 1. create key
|
1 |
openssl genrsa -out [domain_name].key 4096 |
2. generate certificate signing request
|
1 |
openssl req -new -key [domain_name].key -out [domain_name].csr |
3. generate the certificate
|
1 2 3 |
openssl x509 -req -days 365 -in [domain_name].csr -signkey [domain_name].key \ -out [domain_name].crt |
Here are three ways in Apache to block access to the .svn folders. With access controls:
|
1 2 3 4 |
<Directory ~ "\.svn"> Order allow,deny Deny from all </Directory> |
With rewrite rule:
|
1 |
RewriteRule ^(.*/)?\\.svn/ - [F,L] |
With redirect:
|
1 |
RedirectMatch 404 /\\.svn(/|$) |
These come from the excellent MDLog:/sysadmin blog at: http://www.ducea.com/2006/08/11/apache-tips-tricks-deny-access-to-some-folders/
To hide the PHP version from HTTP responses, edit /etc/php.ini and change:
|
1 |
expose_php = On |
to:
|
1 |
expose_php = Off |
Then restart apache.
For a recent PCI audit remediation project I had to assemble a list of recent CVEs that were resolved via backports in httpd-2.2.3-22 on RHEL5. Here’s the list: https://rhn.redhat.com/errata/RHSA-2008-0008.html CVE-2008-0005 CVE-2007-6422 CVE-2007-6421 CVE-2007-6388 CVE-2007-5000 CVE-2007-4465 https://rhn.redhat.com/errata/RHSA-2008-0967.html CVE-2008-2364 https://rhn.redhat.com/errata/RHSA-2007-0746.html CVE-2007-3847 https://rhn.redhat.com/errata/RHSA-2007-0556.html
Reliable Penguin provides managed web hosting, systems administration, website and server migrations, and expert consulting.
Submit the form—or for immediate service call 866-649-7984.