Archive for the tag 'Add new tag'

Managing Access to System Services in Plesk

For each system service, you can choose whether to allow or deny all incoming communications, or allow only communications coming from specific IP/network addresses.

To allow or restrict access to a service on your Parallels Plesk Panel server:

1. Go to Modules > Firewall > Edit Firewall Configuration.
2. Click the service name.
3. Do any of the following:
* To allow all incoming connections, select the Allow option and click OK.
* To deny all incoming connections, select the Deny option and click OK.
* To deny access to a service from specific IP/network addresses, select the Allow from selected sources, deny from others option, specify the IP address or network address from which access to the selected service is allowed, and click Add. After you specify the required addresses, click OK.
4. To apply all changes to the firewall configuration, click Activate, and then click Activate again.

Source : http://parallels.com/

By default, the open relay option for the mail server is disabled in Parallels Plesk Panel.

It is not recommend to enabe this option because an open relay can make it possible for an unscrupulous senders to route large volumes of spam.

You can enable it by using the root.controls.lock file located in PRODUCT_DATA_D\var directory.

To enable open relay, follow these steps:

1. Open the root.controls.lock file.
2. Remove the /server/mail.php3:relay_open line and save the file.

Downloading Backup Files from Plesk Server

To download a backup file from a backup repository within the control panel

Access the repository you need.

To access your own repository of backup files, go to Home > Backup Manager (in the Server group).
To access a repository of a reseller or client, go to Resellers > reseller’s name > Backup Manager (in the Files group) or Clients > client’s name > Backup Manager (in the Files group).

To access a repository related to a specific Web site, go to Domains > domain name > Backup Manager (in the Files group).

Click the icon corresponding to the backup file you wish to download.
Select the location where you wish to save the backup file and click Save.

The backup file will be downloaded from the backup repository.

You can change the time zone within a php script. Here is a sample code:

With the php tags enter the following

putenv(”TZ=Europe/Amsterdam”);

You can set the timezone in .htaccess as well. Add the line:

SetEnv TZ America/Indianapolis

List of timezones is here: http://us.php.net/manual/en/timezones.php

To allow anonymous users to upload, it is recommended that a write-only directory be created within /var/ftp/pub/.

To do this, type:

mkdir /var/ftp/pub/upload

Next change the permissions so that anonymous users cannot see what is within the directory by typing:

chmod 730 /var/ftp/pub/upload

A long format listing of the directory should look like this:

drwx-wx— 2 root ftp 4096 Feb 13 20:05 upload

Additionally, under vsftpd, add the following line to the /etc/vsftpd/vsftpd.conf file:

anon_upload_enable=YES

Because FTP passes unencrypted usernames and passwords over insecure networks for authentication, it is a good idea to deny system users access to the server from their user accounts.

To disable user accounts in vsftpd, add the following directive to /etc/vsftpd/vsftpd.conf:

local_enable=NO

« Prev - Next »