歡迎您光臨本站 註冊首頁

IP+埠號訪問web未解決,快瘋了!!!!!

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

IP+埠號訪問web未解決,快瘋了!!!!!

各位大大:

一、環境描述如下:

windows2003+appserv2.5.9

二、需求如下:

e盤下有it\ lib\ cw\ tw這些網站

不同的網站用不同的埠!!!!

參考了如下網站:http://www.zhaochungang.com/content/show.php?content_id=732
就是解決不了!

httpd.conf配置如下:
#Listen 12.34.56.78:80
Listen 8088
Listen 81
Listen 82
Listen 86
Listen 88



<Directory />
  Options FollowSymLinks ExecCGI Indexes
    AllowOverride None
  # Order deny,allow
  # deny from all
  # Satisfy all
</Directory>



NameVirtualHost localhost:8088
NameVirtualHost localhost:81
NameVirtualHost localhost:82
NameVirtualHost localhost:86
NameVirtualHost localhost:88

<VirtualHost localhost:8088>
ServerAdmin xcsyzxwd@163.com
DocumentRoot d:/AppServ/www/phpmyadmin
ServerName localhost:8088
</VirtualHost>

<VirtualHost localhost:81>
DocumentRoot e:/web/it
ServerName localhost:81
</VirtualHost>

<VirtualHost localhost:82>
DocumentRoot e:/web/lib
ServerName localhost:82
</VirtualHost>

<VirtualHost localhost:86>
DocumentRoot e:/web/tw
ServerName localhost:86
</VirtualHost>

<VirtualHost localhost:88>
DocumentRoot e:/web/cw
ServerName localhost:88
</VirtualHost>

<Directory "d:/AppServ/www/phpmyadmin">
   Options Indexes FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>

<Directory "e:/web/it">
   Options Indexes FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>
<Directory "e:/web/lib">
   Options Indexes FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>
<Directory "e:/web/tw">
   Options Indexes FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>
<Directory "e:/web/cw">
   Options Indexes FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>

出錯信息如下:

找不到網頁
您要查看的網頁可能已被刪除、名稱已被更改,或者暫時不可用。

--------------------------------------------------------------------------------

請嘗試以下操作:

如果您已經在地址欄中輸入該網頁的地址,請確認其拼寫正確。

打開 192.168.0.8:81  主頁,然後查找指向您感興趣信息的鏈接。
單擊後退按鈕,嘗試其他鏈接。
單擊搜索,尋找 Internet 上的信息。



HTTP 404 - 未找到文件
Internet Explorer


請各位大大幫忙!

[ 本帖最後由 zifengling 於 2008-5-12 14:57 編輯 ]
《解決方案》

把log貼出來
《解決方案》

Child 1500: Released the start mutex
Child 1500: Waiting for 64 worker threads to exit.
Child 1500: All worker threads have exited.
Child 1500: Child process is exiting
Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
Server built: Jan  9 2007 23:17:20
Parent: Created child process 2552
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.8 for ServerName
Child 2552: Child process is running
Child 2552: Acquired the start mutex.
Child 2552: Starting 64 worker threads.
Child 2552: Starting thread to listen on port 88.
Child 2552: Starting thread to listen on port 86.
Child 2552: Starting thread to listen on port 82.
Child 2552: Starting thread to listen on port 81.
Child 2552: Starting thread to listen on port 8088.
File does not exist: D:/apache
File does not exist: D:/apache
File does not exist: D:/apache
File does not exist: D:/apache
File does not exist: D:/apache
File does not exist: D:/apache
《解決方案》

Mon May 12 14:44:35 2008] File does not exist: D:/apache
File does not exist: D:/apache
File does not exist: D:/apache
File does not exist: D:/apache
File does not exist: D:/apache
File does not exist: D:/apache

哪兒的目錄指向了這個地方D:/apache?
有這個目錄嗎?
《解決方案》

你的問題是重複設置目錄,導致相互覆蓋
《解決方案》

原帖由 hmglly 於 2008-5-12 15:19 發表 http://bbs.chinaunix.net/images/common/back.gif
Mon May 12 14:44:35 2008] File does not exist: D:/apache
File does not exist: D:/apache



我找了半天也沒有找到這個目錄
《解決方案》

原帖由 hmglly 於 2008-5-12 15:20 發表 http://bbs.chinaunix.net/images/common/back.gif
你的問題是重複設置目錄,導致相互覆蓋


好像沒有重複設置目錄呀!
《解決方案》

搜一下你的httpd.conf裡面有沒有,還有被httpd.conf
include進來的文件里有沒有,是肯定要有的,否則那是見鬼了
《解決方案》

原帖由 hmglly 於 2008-5-12 15:34 發表 http://bbs.chinaunix.net/images/common/back.gif
搜一下你的httpd.conf裡面有沒有,還有被httpd.conf
include進來的文件里有沒有,是肯定要有的,否則那是見鬼了



我要跳樓了!TNND!!!!

直接用默認埠可以訪問!!!
'
就是想實現多個埠訪問不同目錄下的網站就不行!!!!!!!!!鬱悶!~!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
《解決方案》

那你就啟不同的幾個apache分開

[火星人 ] IP+埠號訪問web未解決,快瘋了!!!!!已經有467次圍觀

http://coctec.com/docs/service/show-post-30472.html