How to disable open_basedir in plesk without breaking/commenting your current httpd.conf basedir lines. Create a new file, called vhost.conf This file will include anything you want to disable from httpd.conf main config from your virtual host. # touch /var/www/vhosts/yourdomain.com/conf/vhost.conf Now we edit the file and we add the following, # vi /var/www/vhosts/yourdomain.com/conf/vhost.conf <Directory /var/www/vhosts/yourdomain.com/httpdocs> php_admin_value […]
See MoreTag: web hosting cheap
Iframe: How to remove it ?
For iFRME injection, first search the all domains on the server using following command which are infected then remove it using following script. find /home/*/public_html/ -type f -exec grep -Eil “iframedomain.com” {} \; >> scanresult.txt Where iframedomain.com is injected domain. Now use following script to remove it. vi remove.sh and add following #!/bin/bash for i in […]
See MoreSet scheduler task on windows server
To set scheduler task on windows server one need to perform below mentioned steps: 1) Click on Start -> Control Panel -> Scheduled Task. 2) Click on “Add Scheduled Tasks”. 3) Click on Next to continue. 4) Select scheduler task file or program for which one need to set it. 5) Click on Next. 6) […]
See More