Tuesday, December 30, 2008

How to find the php.ini path?

php -i | grep php.ini

Wednesday, December 24, 2008

Using suphp To Secure A Shared Server

http://blog.stuartherbert.com/php/2008/01/18/using-suphp-to-secure-a-shared-server/

Thursday, December 18, 2008

How do I set up mail forwarding for individual email addresses on a domain through Plesk?

To set up mail forwarding for individual email addresses on a domain through Plesk:

  1. Log in to Plesk as "admin"
  2. Under General, select Domains.
  3. Select the domain you want to forward mail for.
  4. Under Services, select the Mail icon.
  5. Under the Mail tab, select New Address. The Create mail name window displays.
  6. Enter the name of the email address you want to forward to.
  7. Deselect the Mailbox checkbox.
  8. Click OK.
OR

To set up forwarder for an individual email like roshith@example.com

Fisrt we need the root access. After login in the shell edit following file

vi /var/qmail/mailnames/example.com/roshith/.qmail

Insert the following line in the .qmail
|/usr/bin/php -q /home/supportpro/public_html/folder/parser/parser.php

For more details refer

http://octeth.com/kb/oempro3/mailing-list-management/bounce-tracking-module-%E2%80%93-piping-installation-instructions/

http://octeth.com/data/downloads/manuals/oemPro_Piping_Setup.pdf

After setting restart qmail

How do I create a cronjob in Plesk?

  1. Open a web browser and connect to your Plesk Control Panel located at https://ip address:8443.
  2. Login as the Administrator using the information sent to you in your setup email.
  3. Click Server from the System menu.
  4. Click Crontab under the Services section.
  5. Click Add New Task under the Tools section.
  6. Click Enable / Disable.
  7. Enter the appropriate information:
    Note: * indicates leaving the field empty
    • Minute: 0 - 59 or *
    • Hour: 0 - 23 or *
    • Day of the Month: 1 - 31 or *
    • Month: 1 - 12 or *
    • Day of the Week: 0 - 6 (0 is Sunday) or *
    • Command: enter the command that is to be executed
  8. Click Ok.