久久免费视频鬼狠狠_久久五月天和激情网_亚洲人成在线播放a偷伦_午夜无码免费视频一区二区

廣豐視角

關(guān)注互聯(lián)網(wǎng),關(guān)注技術(shù)開發(fā),透析與分享移動互聯(lián)網(wǎng)行業(yè)最新動態(tài)

windows apache多端口虛擬主機配置方法

時間:2019-02-17 13:39:55    閱讀:82943次 分類:小程序開發(fā)
1、安裝wampserver2.2d_x32_zol.zip,默認目錄; 2、新建數(shù)據(jù)庫,修改數(shù)據(jù)庫默認密碼; 3、php.ini修改警告級別,error_reporting=e_all & ~e_notice 4、httpd.conf修改 include conf/extra/httpd-vhosts.conf刪除前面的# options followsymlink...

1、安裝wampserver2.2d_x32_zol.zip,默認目錄;


2、新建數(shù)據(jù)庫,修改數(shù)據(jù)庫默認密碼;


3、php.ini修改警告級別,error_reporting=E_ALL &  ~E_NOTICE


4、httpd.conf修改


Include conf/extra/httpd-vhosts.conf刪除前面的#


<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    #Deny from all
    Allow from all
</Directory>




#   onlineoffline tag - don't remove
    Order Allow,Deny
    Allow from all
</Directory>


修改端口
Listen 8000
ServerName localhost:8000


5、C:wampwampwampmanager.tpl,3個地方修改http://localhost:8000,設(shè)置端口;


6、打開C:wampinapacheApache2.2.21confextra目錄httpd-vhosts.conf文件


NameVirtualHost *:8000


<VirtualHost *:8000>
ServerAdmin root@exmaple.com
ServerName www1.youfish.net
DocumentRoot C:/wamp/www/YOUYU/m.youfish.net
DirectoryIndex index.php index.html index.htm
</VirtualHost>


<VirtualHost *:8000>
ServerAdmin root@exmaple.com
ServerName img1.youfish.net
DocumentRoot C:/wamp/www/YOUYU/imana.youfish.net/imgs
DirectoryIndex index.php index.html index.htm
</VirtualHost>


<VirtualHost *:8000>
ServerAdmin root@exmaple.com
ServerName imana1.youfish.net
DocumentRoot C:/wamp/www/YOUYU/imana.youfish.net/root
DirectoryIndex index.php index.html index.htm
</VirtualHost>


<VirtualHost *:8000>
ServerAdmin root@exmaple.com
ServerName m1.youfish.net
DocumentRoot C:/wamp/www/YOUYU/m.youfish.net
DirectoryIndex index.php index.html index.htm
</VirtualHost>


<VirtualHost *:8000>
ServerAdmin root@exmaple.com
ServerName s1.youfish.net
DocumentRoot C:/wamp/www/YOUYU/s.youfish.net/root
DirectoryIndex index.php index.html index.htm
</VirtualHost>


<VirtualHost *:8000>
ServerAdmin root@exmaple.com
ServerName t1.youfish.net
DocumentRoot C:/wamp/www/YOUYU/t.youfish.net
DirectoryIndex index.php index.html index.htm
</VirtualHost>


7、打開C:wampaliasphpmyadmin.conf,修改phpmyadmin訪問權(quán)限
<Directory "c:/wamp/apps/phpmyadmin3.4.10.1/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
Allow from all
Allow from 127.0.0.1
</Directory>


8、打開C:WindowsSystem32driversetchosts,修改綁定網(wǎng)址
127.0.0.1       www1.youfish.net
127.0.0.1       m1.youfish.net
127.0.0.1       s1.youfish.net
127.0.0.1       t1.youfish.net
127.0.0.1       img1.youfish.net
127.0.0.1       imana1.youfish.net
127.0.0.1       localhost


9、打開C:wampappsphpmyadmin3.4.10.1config.inc.php,修改$cfg['Servers'][$i]['password'] = '123123a';數(shù)據(jù)庫密碼


10、wampserver,PHP->PHP extensions,選中php_curl選項;


11、重啟wampserver。


蕪湖廣豐軟件有限公司(原中江網(wǎng)絡(luò)),成立于2005年,經(jīng)過10多年定制開發(fā)經(jīng)驗,積累了大量技術(shù)儲備和定制開發(fā)經(jīng)驗,是一家集軟件研發(fā)、互聯(lián)網(wǎng)應(yīng)用為一體的綜合信息技術(shù)服務(wù)提供商。公司擁有核心的策劃團隊和專業(yè)的技術(shù)研發(fā)團隊,致力于采用領(lǐng)先的信息技術(shù),長期為涉及智慧園區(qū)/廠區(qū)/校園領(lǐng)域的各個企業(yè)提供快速、高效、安全的信息技術(shù)支持。公司立足智慧園區(qū)和智慧教育行業(yè),通過軟硬件的研發(fā)和互聯(lián)網(wǎng)應(yīng)用,疏通各企業(yè)間“端到端”的信息傳輸,靈活滿足智慧園區(qū)和智慧教育企業(yè)間不同用戶的需求,為其提供完善的信息化解決方案。

廣豐軟件
智慧園區(qū)系統(tǒng)開發(fā)
最新資訊排行榜