pat6626
2007-03-26, 05:56 PM
各位前輩好
我有一個問題想請要大家
假設我在A SERVER上裝了appserv 2.4.0版
但是我將網站內容 也就是www目錄下的網站
放在B server上 (類似像網路磁碟方式)
請問此方法可行嗎
因為我在httpd.conf中設定路徑導到B server存放位置
都會出現問題
所以想確認 是否可以這樣做
謝謝各位高手
贊助商連結
maize
2007-03-27, 03:04 AM
各位前輩好
我有一個問題想請要大家
假設我在A SERVER上裝了appserv 2.4.0版
但是我將網站內容 也就是www目錄下的網站
放在B server上 (類似像網路磁碟方式)
請問此方法可行嗎
因為我在httpd.conf中設定路徑導到B server存放位置
都會出現問題
所以想確認 是否可以這樣做
謝謝各位高手
httpd.conf中設定的路徑是UNC位址嗎?
試試看把B server的資源對映成網路磁碟機
pat6626
2007-03-27, 06:14 PM
我試過了
但還是不行
請問還有解決的方式嗎
感謝大家
maize
2007-03-27, 10:57 PM
我試過了
但還是不行
請問還有解決的方式嗎
感謝大家
你說的出現問題是什麼問題?
有錯誤訊息嗎?
pat6626
2007-03-28, 04:35 PM
但改成網路磁碟機Z時
就會出現
Not Found
The requested URL / was not found on this server.
的錯誤訊息
以下是我的設定
如果是Z改成D,一切都正常
<VirtualHost *:80>
DocumentRoot Z:/AppServ/www/phpnuke_service/html
ServerName service1.aaa.com.tw
ErrorLog logs/service.aaa.com.tw-error.log
CustomLog logs/service.aaa.com.tw-access.log common
<Directory "Z:/AppServ/www/phpnuke_service/html/">
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.php index.htm index.html
</Directory>
<Directory Z:/AppServ/www/phpnuke_service/html/modules/gallery>
AllowOverride Options FileInfo
</Directory>
<Directory "Z:/AppServ/www/phpnuke_service/html/phpBook/">
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.php index.html
</Directory>
</VirtualHost>