2014年1月15日 星期三

我的虛擬主機設定

網站資料帶著跑
# Virtual hosts  把虛擬主機的設定打開
Include conf/extra/httpd-vhosts.conf  <---把#號刪除掉 (to delete the #)


-----------------------------------------------------------
C:\wamp\bin\apache\apache2.2.22\conf\extra\httpd-vhosts.conf
 NameVirtualHost *:80
  <VirtualHost *:80>
      DocumentRoot "C:\wamp\www"
      ServerName localhost
  </VirtualHost>

  <VirtualHost *:80>
     DocumentRoot "W:\webhope"
     ServerName webhope.local
    <Directory "W:\webhope">
       Order allow,deny
       Allow from all
    </Directory>
  </VirtualHost>

    <VirtualHost *:80>
     DocumentRoot "C:\wamp\apps\phpmyadmin3.5.1"
     ServerName mydb.local
    <Directory "C:\wamp\apps\phpmyadmin3.5.1">
       Order allow,deny
       Allow from all
    </Directory>
  </VirtualHost>    
 


---------------------------------------------------
C:\Windows\System32\drivers\etc\hosts
127.0.0.1       localhost
#::1             localhost
127.0.0.1        webhope.local
127.0.0.1        mydb.local

-----------------------------------------------------
電腦按右鍵選(管理)=>伺服器管理員=>磁碟機管理=>選定儲存設備按右鍵選(變更磁碟機代號及路徑)為W
=================
2021/11/05
wordpress學習
1.本機架站
http://localhost/wordpress
參考https://make9.tw/wordpress/teaching/localhost-wordpress-building/
淑本機WP架站學習網
hope 
1234
database
wordpress_tech
root


沒有留言:

張貼留言