首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

Apache2.2配备以及端口配置(笔记)

2012-10-29 
Apache2.2配置以及端口配置(笔记)F:\work\php5.2libmysql.dll文件C:\WINDOWS\system32注意short_open_tag

Apache2.2配置以及端口配置(笔记)
F:\work\php5.2
libmysql.dll文件
C:\WINDOWS\system32

注意
short_open_tag = Off

各种驱动
F:\work\instantclient_10_2;C:\Program Files\StormII\Codec;C:\Program Files\StormII;C:\Program Files\SSH Communications Security\SSH Secure Shell

extension=php_mysql.dll
extension=php_oci8.dll
extension=php_soap.dll
去掉;


F:\work\apache2.2\conf
httpd.conf文件


#Listen 12.34.56.78:80
Listen 80
Listen 81

<Directory "F:/work/apache2.2/htdocs">
????#
????# Possible values for the Options directive are "None", "All",
????# or any combination of:
????#?? Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
????#
????# Note that "MultiViews" must be named *explicitly* --- "Options All"
????# doesn't give it to you.
????#
????# The Options directive is both complicated and important.??Please see
????# http://httpd.apache.org/docs/2.2/mod/core.html#options
????# for more information.
????#
????Options Indexes FollowSymLinks

????#
????# AllowOverride controls what directives may be placed in .htaccess files.
????# It can be "All", "None", or any combination of the keywords:
????#?? Options FileInfo AuthConfig Limit
????#
????AllowOverride None

????#
????# Controls who can get stuff from this server.
????#
????Order allow,deny
????Allow from all

</Directory>??
<Directory "F:/work/apache2.2/web">
????#
????# Possible values for the Options directive are "None", "All",
????# or any combination of:
????#?? Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
????#
????# Note that "MultiViews" must be named *explicitly* --- "Options All"
????# doesn't give it to you.
????#
????# The Options directive is both complicated and important.??Please see
????# http://httpd.apache.org/docs/2.2/mod/core.html#options
????# for more information.
????#
????Options Indexes FollowSymLinks

????#
????# AllowOverride controls what directives may be placed in .htaccess files.
????# It can be "All", "None", or any combination of the keywords:
????#?? Options FileInfo AuthConfig Limit
????#
????AllowOverride None

????#
????# Controls who can get stuff from this server.
????#
????Order allow,deny
????Allow from all

</Directory>

Include conf/extra/httpd-vhosts.conf??去掉注释

httpd-vhosts.conf文件

NameVirtualHost *:80
NameVirtualHost *:81

<VirtualHost *:81>
????ServerAdmin webmaster@dummy-host.www.calendar.com
????DocumentRoot "F:/work/apache2.2/web/"
????ServerName dummy-host.www.calendar.com
????ServerAlias www.dummy-host.www.calendar.com
????ErrorLog "logs/dummy-host.www.calendar.com-error.log"
????CustomLog "logs/dummy-host.www.calendar.com-access.log" common
</VirtualHost>
<VirtualHost *:80>
????ServerAdmin webmaster@dummy-host.www.calendar.com
????DocumentRoot "F:/work/apache2.2/htdocs/"
????ServerName dummy-host.www.calendar.com
????ServerAlias www.dummy-host.www.calendar.com
????ErrorLog "logs/dummy-host.www.calendar.com-error.log"
????CustomLog "logs/dummy-host.www.calendar.com-access.log" common
</VirtualHost>

热点排行