`
gardenyuan
  • 浏览: 72038 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

apache的配置文件

阅读更多
httpd.conf

# PHP 5
LoadFile "D:\php\php\php5ts.dll"
LoadFile "D:\php\php\libmysql.dll"
LoadModule php5_module "D:\php\php\php5apache2_2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "D:\php\php"


httpd-vhosts.conf
<VirtualHost *:80>
    ServerSignature Off
    RewriteEngine on
    DocumentRoot D:\zytrend\web
    ServerAlias *.cntj.com
    ServerName www.cntj.com
    DirectoryIndex  index.php
    RewriteEngine On
<Directory D:\zytrend>
    Options FollowSymLinks
    AllowOverride all
    Order deny,allow
    allow from all
</Directory>
</VirtualHost>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics