On CentOS 7, the new Nautilus file explorer window doesn’t provide the directory location bar by default. We can manually change the setting of Nautilus and enjoy the capability of location by typing the following command as a regular user(not… Continue Reading
If you configure Apache httpd server and Tomcat server together, you usually use Tomcat connect(AJP) to hook up both of them. Http requests and responses are transferred through the AJP tunnel. AJP works well on HTTP protocols. However, if you… Continue Reading
In web.xml, add following derivative.
If you experience ~/.bash_profile not loading on CentOS 7, you can try to put your script in ~/.bashrc instead.
The error is caused by missing of starting/ending markup tags or incorrect usage of XML characters. The scenarios could be: < the start of a tag. > the end of a tag. ” the start and end of an attribute… Continue Reading
apachectl is a front end to the Apache HyperText Transfer Protocol (HTTP) server. It is designed to help the administrator control the functioning of the Apache httpd daemon. Notice. On the httpd server, /etc/resolv.conf will affect how Apache maps the… Continue Reading
1. In [Settings] –> [Reading] Check “Discourage search engines from indexing this site” 2. .htaccess Header set X-Robots-Tag “noindex, nofollow” 3. [Plugins] –> [Add New] Search “My Private Site” Install it. Activate it. 4. [Settings] –> [Private Site] Section “Make… Continue Reading
In console window, type Another way, create a “show_version.php” file inside your any PHP site. Type
Let’s talk about how to resolve a problem that connecting to abc.com doesn’t work. What you get is 404 not found message. What we want? We want to be able to connect to www.abc.com when the user connects to abc.com… Continue Reading