Apache config 1 Bandwidth Mod (apache speed control), apachebandwidth
Simulate the speed of the HTTP network when debugging the network using the apache plug-in Bandwidth Mod
1. Install mod_bw
Download http://bwmod.sourceforge.net /#
Extract
Enter the directory for execution
Sudo apxs2-I-a-c mod_b1_c
2. Configuration
Add the following to the configuration file/etc/apache2/httpd. conf:
1 kb/S in low speed mode
<location /modbw>SetHandler modbw-handler</location><VirtualHost *:80>DocumentRoot /var/www/ServerName 127.0.0.1BandWidthModule OnForceBandWidthModule OnBandwidth all 1024MinBandwidth all -1</VirtualHost>
Set to high-speed mode kb/S
<location /modbw>SetHandler modbw-handler</location><VirtualHost *:80>DocumentRoot /var/www/ServerName 127.0.0.1BandWidthModule OnForceBandWidthModule OnBandwidth all 1048576MinBandwidth all -1</VirtualHost>
3. The configuration takes effect.
Sudo/etc/init. d/apache2 restart
Reload does not seem to work. I don't know why.
OrgapachestrutsconfigModuleConfigfindActionConfigId (Ljava/lang/String;) Lorg/apache/struts/conf
The uri is correct and should not be a url.
Charset = gdk should be changed to charset = GB2312
After debugging the above program, the following lines of code may be incorrect: <% @ taglib prefix = "c" uri = "" %>
<% @ Taglib prefix = "fmt" uri = "" %>
<% @ Taglib prefix = "bean" uri = "" %>
<% @ Taglib prefix = "html" uri = "" %>
<% @ Taglib prefix = "logic" uri = "" %>
<% @ Page language = "java" contentType = "text/html; charset = gbk" %>
I don't know what the purpose of the main program is, so I don't know how to modify it.
I hope the landlord will explain the specific purpose of your program.
We recommend that you delete the lines of code that I mentioned and run them. In this case, the table appears.
(Plus 130 points) J2SDK14204 + Apache2055 + Tomcat4132 + mod_jk-apache-2055so configuration problems?
See:
Www.myhometown.com.cn/bbs8-1650.aspx
Here is a detailed answer!