水晶报表CrystalReport2008使用JDBC连接MySQL数据库-详细步骤
2012-12-07 11:16
826 查看
本文记实了安装乐成后 apache必要设置的几个地方
1 为httpd进程创建专用的用户和用户组.
<IfModule !mpm_netware_module>
<IfModule !mpm_winnt_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User apache
Group apache
</IfModule>
</IfModule>
2 默认措施读取路径
DocumentRoot "/var/www/html"
3 <Directory "/usr/local/apache2/htdocs">
上面的路径变了,这里也要做相应的批改
4 AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
AddType application/x-httpd-php .php 假如不加这行,在网页将不推行这个文件,却以代码行动表现.
AddType text/vnd.wap.wml .wml
5 加载Libphp5.so
LoadModule php5_module modules/libphp5.so
千万不要写错一个字
6 设置默认页面
<IfModule dir_module>
DirectoryIndex index.html index.htm index.php
</IfModule>
记取不能用,离隔要用空格
1 为httpd进程创建专用的用户和用户组.
<IfModule !mpm_netware_module>
<IfModule !mpm_winnt_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User apache
Group apache
</IfModule>
</IfModule>
2 默认措施读取路径
DocumentRoot "/var/www/html"
3 <Directory "/usr/local/apache2/htdocs">
上面的路径变了,这里也要做相应的批改
4 AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
AddType application/x-httpd-php .php 假如不加这行,在网页将不推行这个文件,却以代码行动表现.
AddType text/vnd.wap.wml .wml
5 加载Libphp5.so
LoadModule php5_module modules/libphp5.so
千万不要写错一个字
6 设置默认页面
<IfModule dir_module>
DirectoryIndex index.html index.htm index.php
</IfModule>
记取不能用,离隔要用空格
相关文章推荐
- JSP中使用JDBC连接MySQL数据库的详细步骤
- 使用JDBC连接MySQL数据库详细步骤
- 水晶报表CrystalReport2008使用JDBC连接MySQL数据库-详细步骤
- 水晶报表Crystal Report2008使用JDBC连接MySQL数据库-详细步骤
- JSP中使用JDBC连接MySQL数据库的详细步骤
- JSP中使用JDBC连接MySQL数据库的详细步骤
- JSP中使用JDBC连接MySQL数据库的详细步骤
- Eclipse使用JDBC连接MySQL数据库详细教程
- 水晶报表CrystalReport2008使用JDBC连接 Sybase 数据库--详细步骤
- Java使用jdbc连接MySQL数据库详细实例
- 水晶报表CrystalReport2008使用JDBC连接Oracle数据库-详细傻瓜步骤
- Myeclipse中通过JDBC连接MySQL数据库的详细步骤
- java使用jdbc连接MySQL数据库
- 使用JDBC-ODBC 方式如何连接MySQL数据库
- linux下qt5.5 连接mysql数据库详细步骤
- Java使用JDBC连接mySQL数据库小例子
- 使用JDBC连接mysql数据库
- 使用JDBC连接Mysql数据库会出现的问题总结
- JDBC连接sql server数据库的详细步骤和代码
- 使用JDBC连接MySQL数据库--典型案例分析(六)----实现账户转账操作