buy tb500

Archive for the ‘Uncategorized’ Category

FASTCGI

Thursday, January 14th, 2010

is not available in helm server, only in plesk

Thank you

anti-gumblar

Thursday, January 14th, 2010

Installation

step 1 ) nano /etc/pure-ftpd.conf

Edit /etc/pure-ftpd.conf and set

CallUploadScript yes

step 2 ) nano /etc/init.d/pure-ftpd

Edit /etc/init.d/pure-ftpd

Look for $DAEMONIZE $fullpath /etc/pure-ftpd.conf -O clf:/var/log/xferlog $OPTIONS –daemonize

Under this add

$DAEMONIZE /usr/sbin/pure-uploadscript -B -r /root/ftp_clamscan.php

Next look for kill $(cat /var/run/pure-ftpd.pid)

Under this add

kill $(cat /var/run/pure-ftpd/pure-uploadscript.pid)

step 3 ) download file ( anti_gumblar.tar.gz )

wget http://www.oxio.net/anti_gumblar/anti_gumblar.tar.gz

step 4 ) extract tar file to /root directory

tar -zxvf anti_gumblar.tar.gz

step 5 ) give execution right to ftp_clamscan.php

chmod +x ftp_clamscan.php

or

chmod +x /root/ftp_clamscan.php

step 6 ) open ftp_clamscan_config.php file and edit needed lines.

nano /root/ftp_clamscan_config.php

step 7 ) create directory for quarantine files

mkdir /quarantine

mkdir /quarantine/clamav

References

http://anti-gumblar.oxio.net/installation/

The script will help to prevent Dark Mailer being uploaded into the server.

Thank you.

check apache log files in linux

Thursday, January 14th, 2010

for customer side, he need to SSh to his account and use the following command

vi access-logs

for administrator side use the follwoing command

vi  /etc/httpd/conf/httpd.conf

Thank you.

Active Server Pages, ASP 0131 Disallowed Parent Path

Thursday, January 14th, 2010

Internet Information Services 7.0

  1. Start Internet Services Manager.
  2. Click Default Web Site, and then click Properties.
  3. Double-click ASP in the Features pane.
  4. Expand Behavior.
  5. Click Enable Parent Paths.
  6. Click True for Enable Parent Paths.
  7. Click Apply.

Internet Information Services 6.0

  1. Open the Internet Services Manager in the Microsoft Management Console (MMC).
  2. Right-click on your Default Web Site and select Properties.
  3. Click the Home Directory tab.
  4. Click the Configuration button.
  5. Click the App Options tab.
  6. Click to select the Enable Parent Paths checkbox.
  7. Click the OK button until you return to the MMC.

coooooooooooool

Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at

Saturday, January 9th, 2010

if you got the above error, you need to add the following code

session_start()

in your index.php   in the beginging

for example

<?php

session_start()

…..

…..

….

?>

References

http://bytes.com/topic/php/answers/664779-warning-session_start-function-session-start-cannot-send-session-cache-limiter

Migration from Linux to Linux server.

Saturday, January 9th, 2010

1- ssh to the source linux server

2- cd /home

3- package the account using the following command:

/scripts/pkgacct domainname

4- transfer the account to the distenation server using the following command

scp -P Distenation port  pakagename  root@distenationIP:/root

for example : scp -P 55000 cpmove-alzweac.tar.gz root@124.217.241.131:/root

then will ask you yes or not then after that ask you about the distenation password

now SSH to the distenation server

cd /root

then you will find the pakage in the root , you will find cpmove-alzweac.tar.gz

then extract the pakage using the following command:

/scripts/restorepkg cpmove-alzweac.tar.gz

you can test the website if working or not using the following commad

124.217.242.210/~alzweac  if working then do the next step

5- That as all,, done the migration, now you need to go to the old server WHM and change the DNS pointing to the distenation server.

Thank you.

ME020417 – TRB: SMTP 530 error – denied access

Friday, January 8th, 2010

RESOLUTION

  • Navigate within the Administration console to the following location: Servers>localhost>connectors>SMTP, right click on “SMTP” and select  “Properties” in the menu.
  • Next navigate to the “Inbound” tab and click on “Access control”.
  • Ensure that the Access control option is set to “granted access” and that the IP address of the incoming connection is not present within the “Except those listed below” window.
  • references
  • http://www.mailenable.com/kb/Content/Article.asp?ID=me020417
  • install and register ASP component

    Thursday, January 7th, 2010

    Refer to this URL

    file:///C:/Program%20Files/Persits%20Software/AspJpeg/Documentation/manual_01.html

    cdonts.dll , cdosys.dll send email through asp code (form)

    Thursday, January 7th, 2010

    if customer want to send email using asp form, first of all we need to check in his code what type of component he using to send email ( CDONTS.dll , CDOSYS.dll) then after that go to c:/ windows / system32 and check is the component there, if there check the permission for the component make sure everyone permission, if not you need to bring component from other server and register the component in the Dos using the following command:..

    regsvr32  name.dll

    then we can test the email is working or not.

    register component .dll

    Thursday, January 7th, 2010

    if you want to register component .dll in   windows/system32

    after you add the component in windows/system32 then you need to register the component in Dos

    use the following comand

    regsvr32 name.dll

    and do not forget to change the permission for the component that you add in side system32 to everyone full permission

    Thank you