您的位置:首页 > 数据库 > MySQL

水晶报表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>
记取不能用,离隔要用空格
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: