Apache POI is an open source Java project that reads and writes Microsoft OLE2 component documents such as Excel, Word, and so on. Currently the POI has a ruby version.Structure:
HSSF-provides the ability to read and write Microsoft Excel xls format files.
XSSF-provides the ability to read and write Microsoft Excel OOXML xlsx format files.
HWPF-provides the ability to read and write Microsoft Word DOC97 format files.
XWPF-provides the a
The best way to develop Apache camel applications is TDD, because each component of camel is independent and testable.There are a lot of good test frameworks now, and the BDD (behavioral test Drive) with groovy Spock framework is relatively good and useful.First, we start with the simplest processor.Write Test Cases First:Package Com.github.eric.camelImport Org.apache.camel.ExchangeImport Org.apache.camel.impl.DefaultCamelContextImport Org.apache.came
Apache user authentication1. Edit the file[Email protected] ~]# vi/usr/local/apache2.4/conf/extra/httpd-vhosts.conf#打开网页时, let you enter the Apache authenticated username, passwordDocumentRoot "/data/wwwroot/111.com"ServerName 111.comServeralias www.111.com www.example.com#指定认证的目录AllowOverride authconfig#该行相当于打开用户认证的开关AuthName "111.com User auth"#自定义认证的名字AuthType Basic#认证类型, generally basicauthuserfile/data
Create a virtual directoryOpen apache->conf->httpd.confPaste at the bottomNamevirtualhost 127.0.0.1 DocumentRoot "website Absolute directory" If you build multiple, configure directly ServerName xxx DocumentRoot "XXX" After the configuration is complete, parse it in the host file.You can res
Php_admin_flag engine offOrder Deny,allowDeny from allProhibit designation of User_agentRewriteengine on Rewritecond%{http_user_agent} ^*firefox/4.0* [Nc,or]Rewritecond%{http_user_agent} ^*tomato bot/1.0* [NC]Rewriterule. *-[F]Apache restricts a directory by rewriteRewriteengine on Rewritecond%{request_uri} ^.*/tmp/* [NC]Rewriterule. *-[F]This article is from the "10897714" blog, please be sure to keep this source http://10907714.blog.51cto.com/108977
Apache configuration, apache
Simplified Version:
# Specify the IP address of the network card of the user to access the VM.NameVirtualHost *: 80# Specify the Domain Name of the VMServerName yangzailu.com# Specify a virtual directoryDocumentRoot "e:/www/web1"# Specify Directory PermissionsOptions Indexes FollowSymLinksAllowOverride AllOrder Deny, AllowDeny from allAllow from all
Apache: configure the virtual host and apache Virtual Host
# In httpd. conf enable Virtual hosts Include conf/extra/httpd-vhosts.conf # then configure in the httpd-vhosts.conf # match by ip #
# Configure the host file in window
Adjust the level of the error logThese days Apache error log huge inexplicable 30G and many are the kind of web site that does not exist too many dead links corresponding also manyAnd lowered the wrong warning.Because writing logs can bring a lot of loss to the system. After logging off, even the highest overall performance can be improved by nearly 40% (rough estimate) So how do I close the log?Log reads and writes can be reduced by reducing the logg
——— excerpt from the MAVEN Authority guide
Apache Ant
1. Ant is programmed, and you must explicitly tell ant what to do and when to do it. You have to tell it to compile, then copy, and then compress. 2. Ant has no lifecycle, you have to define the dependencies between goals and goals. You must manually attach a task sequence for each goal.
Apache Maven
1, Maven has the agreement, because you follow the agr
Serveralias: Server alias. It can be used in Apache to set the domain name received by the VM or to receive the domain name for wildcard resolution. The specific settings are as follows:
1. Set the VM to receive multiple domain names
A virtual host often receives multiple domain name resolutions, such as a virtual host to introduce both doctor-c.net, doctor-c.com two domain names, or two second-level domain names, such as: www.doctor-c.net, www1.d
Apache configures virtual hosts in three ways: apache Virtual Hosts
I. IP-based
1. Assume that the server has an IP address of 192.168.1.10, and use ifconfig to bind three IP addresses to the same network interface eth0:[Root @ localhost root] # ifconfig eth0: 1 192.168.1.11
[Root @ localhost root] # ifconfig eth0: 2 192.168.1.12
[Root @ localhost root] # ifconfig eth0: 3 192.168.1.13
2. Modify the hosts fi
Cainiao O M notes: Configure Apache second-level domain name and WWW access, apache second-level domain name
In fact, www access is also a type of second-level domain name.
Modify the http. conf file
Add
If you want to configure www access for your domain name, you only need to change java in the above step to www. The path is directed to the website root directory (the path that DocumentRoot points.Caut
The same project, placed in the Wamp Apache server, can be used normally, no error, but when placed in the XAMPP Apache server, will prompt the error, the error code is as follows:
notice:undefined Index:unc in D:\xampp\htdocs\cazlcompany0820\zhuce_jm.php on line 13
Also, the file code for zhuce_jm.php on line 13 is as follows:
Line 12
Line if ($_session["UNC"]== "") {
Line?>
It should be stated that the
Org. apache. hadoop. filecache-*, org. apache. hadoop
I don't know why the package is empty. Should the package name be a class for managing File Cache?
No information was found on the internet, and no answers were answered from various groups.
Hope a Daniel can tell me the answer. Thank you.
Why is there no hadoop-*-examplesjar file after the hadoop standalone configuration platform is set up?
APACHE configures multiple domain names with the same IP address, so you should be familiar with web development. However, let's make a summary to avoid forgetting this in the future!The following describes how to perform the operation:1. install APACHE under windows2003 to configure the virtual directory, which is basically the same as that in UNIN. It is to modify the httpd. conf file (Apache2 \ conf \ ht
Apache Configuration Managementone, based on the port, that is, based on the different ports, the same IP virtual host virtual hosts with different ports based on the same IP 1) vi/etc/http/conf/httpd.conf2) Change the Listen field toListen 80Listen 8888(the above setting means using 80 and 8888 Ports) 3) Change the virtual host section To: Documentroot/var/www/html/website1ServerName www.website1.com Documentroot/var/www/html/website2ServerName ww
, hostname (domain name) is not www.123.com meet conditionRewriterule ^/(. *) $ http://www.123.com/$1 [r=301,l]//define rewrite rules that are not executed until the above conditions are met/usr/local/apache2/bin/apachectl-m|grep-i rewrite//Without this module, you need to edit the configuration file httpd.conf, delete the front of the Rewrite_module (shared) #Curl-x127.0.0.1:80-i 123.com//Status Code 30111.21 Configuring access LogsAccess log records every request from a uservim/usr/local/apach
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.