喜悦国际村 
» 游客:  注册 | 登录 | 搜索 | 统计 | 帮助

RSS 订阅当前论坛  

喜悦证交所已经关闭

上一主题 下一主题
     
标题: Any one knows how to open port.  
 
leomon (leomon)
注册会员
Rank: 2
一般会员



UID 19041
精华 0
积分 68
帖子 68
金钱 68 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2003-3-19
状态 离线
Any one knows how to open port.

My linux apache default web port is 80.  but I checked it, it is closed ?????
result that my apache + php site cannot be visited by outsider.  local visit is ok.
How can I open the port?  Thank you so much.
telnet
151.203.202.135
apache
151.203.202.135:80
2003-9-10 04:24 AM#1
查看资料  发短消息  顶部
 
hotfire (hotfire)
高级会员
Rank: 4
版主



UID 2737
精华 17
积分 595
帖子 255
金钱 425 喜悦币
威望 170
人脉 0
阅读权限 50
注册 2000-7-10
状态 离线
[推荐阅读] 分页+n个单选框+提交的困惑。。。。
are you sure your apache has start?
start it
/etc/rc.d/init.d/httpd start
2003-9-10 03:08 PM#2
查看资料  发短消息  ICQ 状态  Yahoo!  顶部
 
风平 (风平)
新手上路
Rank: 1
一般会员



UID 21630
精华 0
积分 47
帖子 47
金钱 47 喜悦币
威望 0
人脉 0
阅读权限 10
注册 2003-7-13
来自 山东
状态 离线
[推荐阅读] 我这个问题算逻辑题吗?
Actually you missed "Port 80" in your httpd.conf file

# Lemon, this is one part from my httpd.conf file. However, it gives you
# the most important information. Read it and modify yours accordingly.
# Good luck.
#
# Lemon, make sure to comment out the following two "Listen" lines
#Listen 3000
#Listen 12.34.56.78:80

<IfDefine SSL>
LoadModule ssl_module         libexec/libssl.so
</IfDefine>
LoadModule php4_module        libexec/libphp4.so
LoadModule perl_module        libexec/libperl.so
# the following is used to support ASP. If you want your Linux to support it.
#-------------------------------------------------- Sun Chili!Soft ASP
LoadModule casp2_module        /usr/local/casp/module/linux2_optimized/apache_1.3.27/eapi/mod_casp2.so
#-------------------------------------------------- Sun Chili!Soft ASP

AddModule mod_php4.c
AddModule mod_perl.c
#-------------------------------------------------- Sun Chili!Soft ASP
AddModule mod_casp2.c
#-------------------------------------------------- Sun Chili!Soft ASP

# Lemon, you missed "ort 80" in your httpd.conf file
Port 80

<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>

User nobody
Group nobody

<IfModule mod_userdir.c>
    UserDir public_html
</IfModule>

<IfModule mod_dir.c>
    DirectoryIndex  index.php index.html index.pl index.php3 index.cgi index.asp index.htm default.html default.htm default.asp default.php index.phtml
</IfModule>

AccessFileName .htaccess

<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>


HostnameLookups Off

    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .php3
   
    AddHandler cgi-script .cgi

## Sun Chili!Soft ASP installer
AddHandler chiliasp .asp
AddHandler chiliasp .asa
CaspLib /usr/local/casp/asp-server-3026
2003-9-10 03:43 PM#3
查看资料  访问主页  发短消息  顶部
 
leomon (leomon)
注册会员
Rank: 2
一般会员



UID 19041
精华 0
积分 68
帖子 68
金钱 68 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2003-3-19
状态 离线
[推荐阅读] 对cookie操作不会用, 请大家帮我看一下!
after I added Port 80
the error message was like, "ort was replaced with listen in Apache 2.0"
I guess Apache change the command Port to listen from 1.3.7 to 2.0
2003-9-10 05:03 PM#4
查看资料  发短消息  顶部
 
leomon (leomon)
注册会员
Rank: 2
一般会员



UID 19041
精华 0
积分 68
帖子 68
金钱 68 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2003-3-19
状态 离线
[推荐阅读] 暈死了,apache和php的配置
Right now I open 8080 for apache.  I don't know, there might be a problem for 80 port.  I tried all I can but still closed.  thanks Feng Ping
2003-9-11 04:21 AM#5
查看资料  发短消息  顶部
     


  可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题 | 开通个人空间  


 




Powered by Discuz! 6.1.0  © 2001-2010 Comsenz Inc.
Processed in 0.024016 second(s), 6 queries

(冀ICP备05009913号) 管理员:sadly 邮箱/MSN: sadly@phpx.com QQ:824008(长隐) 清除 Cookies - - Archiver - WAP