by Bhagyashree at 07-28-2017, 06:58 AM
If you are using Remote Desktop Connection on windows and wish to use local printers via RDP then you can do this by following steps:

  1. Open Remote Desktop Connection
  2. Click on Show Options
  3. Navigate to Local Resources
  4. You will see "Local devices and resources". Choose the device and resources that you want to use and connect to the server using remote desktop.
Refer below screenshot for more details:

   

After connecting to the server you will find the selected printer in My Computer.
by Bhagyashree at 07-26-2017, 09:50 AM
Sometimes the Java VNC for windows server doesn't work and shows the error message as below:

network error: could not connect to server.. xxx.xxx.xx.xxx:port

   

Commonly, this is because the service is not running on the port you are connecting. In our case this has been fixed by changing the VNC port.

This can be resolved by following the below steps:
  •     Login to your SolusVM admin portal
  •     List the causing VPS
  •     Go to Settings
  •     VNC Port
  •     Change the port somthing lower then 100
  •     Reboot the VPS and try to reconnect VNC
by Bhagyashree at 07-26-2017, 06:19 AM
The RDP session screen resolution can be customized according to the user’s needs while using Remote Desktop Connection. 

This can be done using following steps:

1. Open Remote Desktop Connection.
2. Choose "Show Options" before connecting to the RDP session.
3. From the multiple tabs choose "Display" option.
4. Edit the screen size from "Small to Large" according to your need and then connect to remote desktop.

Note: Please make sure to choose a setting that is convenient for your local screen size. Additionally, you can select "Use all my monitors for the remote session" option for full screen resolution.
by Rajashree Bejekar at 07-24-2017, 09:44 AM
Forwarding the website to another URL -

1. Using index.php file -

1. Create the page as index.php file under public_html directory.
2. Add below code -

Quote:<?php
header("Location: http://forwarding_page_name/to/go.html"); 
?>

2. Using htaccess file -

1. Create .htaccess file under public_html directory.
2. Add below code -

Quote:Redirect 301 / [b] http://forwarding_page_name/to/go.html[/b]

You can opt to nay of the below method. 

Note - 

You will need to replace the name of website in the 'http://forwarding_page_name/to/go.html' where you would like to forward your site.
by Rajashree Bejekar at 07-24-2017, 09:14 AM
When there is no 'index.php' or 'index.html' file and you'd like to display all the files under the directory then please add below code '.htaccess' file -

Quote:Options +Indexes

This code will tell the Apache to list the files.
by Rajashree Bejekar at 07-24-2017, 09:09 AM
If you would like to force Apache to allow CGI script then just follow below simple steps -

1. Create .haccess file under the directory from where you would like to run the script.

2. Add below code -

Quote:Options +ExecCGI
AddHandler cgi-script .cgi .pl

3. Save the file. 

That's it! 

Let me know your thoughts on it.
by Rajashree Bejekar at 07-24-2017, 07:47 AM
Steps to update Apache to latest version 

1. Please check the current version of Apache using below command -

Quote:/usr/sbin/httpd -v

2. Please use below commands for CustomBuild  -

Quote:cd /usr/local/directadmin/custombuild

./build update
./build apache
./build php n
./build rewrite_confs

3. Please use below commands for CustomApache - end of life (version 1.3) -

Quote:cd /usr/local/directadmin/customapache

./build clean
./build update
./build apache_mod_ssl

Once you will done with one of the above commands, you will need to restart the Apacheservice. 

4. Restart the Apache service using below command -

Quote:/sbin/service httpd restart ----------------------> For RedHat
/usr/local/etc/rc.d/httpd restart ----------------------> For FreeBSD

That's it!

Note -

1. You will get the details of Apache version using the command in first step and according you will need to fire the commands.

2. When you are using Apache 2.x, use "./build apache_2" instead of apache_mod_ssl while updating CustomApache.
by Rajashree Bejekar at 07-22-2017, 12:08 PM
Mod Security installer is used for preventing the attacks on web applications. Mod security will check your requests from web application and produces the response against the application. If the check fails then it will take appropriate action. 

Installation of Mod Security on Plesk 12 admin panel -

Quote:1. Login to your Plesk admin panel.

2. Click on Tools and Settings on left hand side. 

3. Click on Updates and Upgrades on the right hand side.  New window will open here. 

4. Here, it will ask root password, so make sure you will have the root password. Enter it.

5. Click on Add and Remove Product Components.

6. Select Plesk hosting features >> Select ModSecurity Web Application Firewall for Apache

7. Click on Install option on the bottom of the page. 


Once done, you will get the confirmation box of successful installation. 

Configuration of Mod Security on Plesk 12 admin panel -

1. Follow Tools and Settings >> Security >> Web Application Firewall Mod(ModSecurity)

2. You will get three modes of mod security here as below -

Quote:i. Off - 

If you will select this option then it will not check your HTTP request and responses.

ii. Detection Only- 

It will check your each HTTP request and equivalent responses against the defined set of rules. If the request get validates then it will be passed for web-content, else event will be logged without any further action.

iii. On -

It will check your each HTTP request and equivalent responses against the defined set of rules. If the request get validates then it will be passed for web-content, else event will be logged and error notification is sent with HTTP response with error code.

You can select any of the option as per your choice. You should take trial of the set of defined rules for some period then you can apply to live server.

3. Now, select the rule set which you would like to apply.  By default 'Atomic Basic ModSecurity Rule' is defined. 

4. Enable 'Update rule sets' and set it to weekly.

5. Now, you have three options as below under Configuration  as Fast, Tradeoff and Thorough.

Quote:1. Fast - It will analyze the HTTP URI and headers. 
2. Tradeoff- It will analyze the HTTP URI, headers and request POST data.
3. Thorough - It will analyze the HTTP URI, headers,request, POST data and HTTP response body.

Each option will require the more CPU resources so you can select the option as per your choice.

6. Click on 'OK' option to apply the settings. This will automatically restart Apache and load the new ModSecurity settings.
by Rajashree Bejekar at 07-22-2017, 10:38 AM
Issue -
 
POST request fails without any error messages.

While adding sub-domain, I'm facing issue with POST request. I tried adding sub-domain, server is not accepting the POST request. 

Solution -


Quote:1.  Login to Plesk and Go to Tools & Settings > Web Application Firewall > Settings .

2.  Select ModSecurity mode to 'Fast'.

3.  Also, please open 'modsecurity.conf' file in 'C:\Program Files\ModSecurity IIS'.

4. Set 

Code:
SecRequestBodyAccess Off

5. Restart IIS.

That's it! It resolved my issue.

Let me know your thoughts on it.
by Rajashree Bejekar at 07-21-2017, 12:05 PM
Setup the private nameservers on WHM 

Quote:1. Login to WHM.
2. Go to DNS Functions >> Edit DNS Zone
3. Select the domain name from drop-down list >> Click on Edit.
4. Enter the SOA record and email address for your private nameservers.
5. Now you will need to create the A record for ns1 and ns2 nameservers. You will need to enter the IP address in A record field.
6. Save the changes.

It will take 24 to 72 hours for DNS propagation.

Note -

You will need to create the nameservers at your domain registrar's end and will need to enter those nameservers in ns1 and ns2 field in WHM.
Welcome, Guest
You have to register before you can post on our site.
Username

Password


Login
Search Forums

Forum Statistics
Members: 7,661
Latest member: Craigjebah
Forum threads: 33
Forum posts: 41
Online Users
There are currently 40 online users.
0 Member(s) | 40 Guest(s)