麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 網站 > Apache > 正文

Apache為mysql以及自己的項目設置虛擬路徑

2024-08-27 18:28:10
字體:
來源:轉載
供稿:網友
1.Apache2.2/conf/httpd.conf中釋放:
Include conf/extra/httpd-vhosts.conf(去掉前面的#)
2.httpd.conf中增加
<Directory "E:/work/test"> #項目文件夾DWM目錄,注意不要使用中文定義目錄與文件夾
#
# 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 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 "C:/phpMyAdmin"> #phpMyAdmin的安裝路徑
#
#
# 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>
3.在文件Apache2.2/conf/extra/httpd-vhosts.conf中增加:
代碼如下:
<VirtualHost *:80> #放在第一個
ServerAdmin [email protected]
DocumentRoot "D:/work/test"
ServerName test
ErrorLog "logs/dummy-host2.ies.inventec-error.log"
CustomLog "logs/dummy-host2.ies.inventec-access.log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "C:/Program Files/phpMyAdmin-2.11.4"
ServerName mysql
ErrorLog "logs/dummy-host2.ies.inventec-error.log"
CustomLog "logs/dummy-host2.ies.inventec-access.log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
ServerName localhost
ErrorLog "logs/dummy-host2.ies.inventec-error.log"
CustomLog "logs/dummy-host2.ies.inventec-access.log" common
</VirtualHost>

4.在windows/system32/drivers/etc/hosts檔中增加:(是hosts檔,不是hosts.msn之類的)
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 久久精品国产久精国产 | 成人三级电影网 | 精品国产一区三区| 爱逼爱操综合网 | 欧美18一12sex性处hd | 91久久国产露脸精品国产护士 | 亚洲日本韩国在线观看 | 广州毛片 | 国产日韩在线观看一区 | 中国女人内谢8xxxxxx在 | 国产在线观看91一区二区三区 | 亚洲一区在线视频观看 | 国产精品视频久久久 | 国产羞羞视频在线观看 | 中国女人内谢8xxxxxx在 | 久久久日韩av免费观看下载 | 欧美乱码精品一区 | 成人午夜天堂 | 永久免费黄色大片 | 国产一区二区二 | 国产三级午夜理伦三级 | 中文字幕在线亚洲精品 | 国产精品久久久久久久午夜片 | 免费观看一级欧美大 | 国产精品美女久久久免费 | 日韩专区在线 | 国产精品久久久久久婷婷天堂 | 日本中文字幕高清 | 91成人天堂久久成人 | 久久日韩| h视频免费在线观看 | 久久免费视频一区 | 欧美视频国产 | 国产一区二区三区影视 | 黄网站免费入口 | 久久久久免费电影 | 亚洲男人一区 | 久草在线小说 | 久久久www成人免费精品 | 成人国产精品免费 | 国产成年免费视频 |