A few days ago was a Cowiki to build a COWIKI. After some toss, I finally saw it, an empty and wrong home page. The heart also secretly establishes how the future will "carry forward". It is also like a master that looks like a master, how to use Cowiki. When it is still in the excitement of the first success (mainly for a long time Cowiki). After familiar with the configuration, it feels slow. Monitoring the CPU and memory usage is very low. But why is this slow? In the impression of PHP in the fastest web language. Of course, I firmly believe this is my configuration problem, but I really don't know how to start, and then I have sent an email to Robbin. Maybe he is too busy, waiting for the email for two days. There is a research code urgent. After a test article, I found out that there is no Chinese! The grass looks at the configuration option, and it is also possible to add a code to be encoded like a jive. I didn't even read the documents, I wanted to give up, because it is estimated that this may be a pet. Later
Http://www.dannyzhu.com: 8000/ found a Chinese download. I got a back and put it on the machine. The following error appeared:
Template Not Found. [Status 320]
* / cowiki2/tpl/default/error.tpl
Program terminated. [Status 110]
Note: Cowiki2 is a string connection name, and it is configured in http.conf as follows:
Alias / cowiki2 "/Home/bluesky/www/cowiki2.bak/htdocs/"
I thought this is like a relative path in JSP. I tried it:
Http://127.0.0.1/cowiki2/tpl/ but can be accessed again. What is going on? I thought it was the code that the master has revised, I tried my previous Cowiki can be used. I am more tribute to my judgment, I must repair the code. When you are preparing to be pHP, I will think about learning Apache's notes a few days ago. Thinking in the path configuration in Apache and the JSP seems to be different. All physical paths are used. Recalling the error when learning REWRITE, there is no connection to the link several times, the address of the prompt is the physical address (relative to the virtual directory of the web). I still think is wrong with my own configuration file. After the TPL directory in another Cowiki is renamed, the error prompt that appears is:
Template Not Found. [Status 320]
* /Home/bluesky/www/cowiki/tpl/default/error.tpl
Program terminated. [Status 110]
This is more confusing, after detailed comparison. Locked the target to the extension in "/Home/bluesky/www/cowiki2.bak/htdocs/". Is it because the extension caused? After deleting the extension, it will be normal. Although the problem is solved, but the heart can no longer find a joy, this should be the basic knowledge, why didn't you look at the Apache document? Why don't you read a "Linux Foundation"? Recalling that your past is really too colorful!
Here I remembered the company's first release of the website, tested everything in the company's RedHat9.0, and it was also true on WindowsXP, but it appeared at the scene. Custom label file TLD file cannot be initialized. I haven't found a problem for a long time, and I finally found that Tomcat 5.0 automatically scans the TLD file under Web-INF for configuration. In the configuration file, a Chinese file name (copy echo.tld) is used, and the LINUX coding on the site is not the same causes the Chinese file name to garbled. After that event, I developed a habit. That is to use the suffix when the file backup file is used. Bak, no longer use "copy" in Windows. I didn't expect new mistakes. Hey! For transplantability or change it to "_bak". The rookie is painful, especially the rookie who is self-righteous, and encounters problems and only knows the head of the information. Because I don't want to add a piece of skin to ask questions. I believe that I can make wisdom problems in the near future, you can discuss with the real masters.