Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> 電腦軟體教學 >> 伺服器技術 >> 關於伺服器

Apache 伺服器穿越代理伺服器訪問 Internet 設定指南

編輯:關於伺服器

環境:防火牆與代理伺服器阻隔,Apache 預設配置無法穿越防火牆訪問 Internet。需配置 Apache 具備類似瀏覽器代理設定的功能。

+------------------+     +-----------------------+     +--------------------+
|  Apache Server   |---->|  Proxy Server+FireWall |---->|      Internet      |
+------------------+     +-----------------------+     +--------------------+
___________Intranet____________/

若 Web 應用需訪問 Internet,建議在程式碼層面使用 cURL (多數開發語言均支援),直接在 cURL 等開發套件中設定代理 API。

注意:Apache 內建 mod_proxy 是將 Apache 自身配置為代理伺服器,而非用於連接遠端代理伺服器。

Copyright © Windows教程網 All Rights Reserved