请问数据库和文本的速度比较!
请教 使用mysql数据库 一个表里有10万条数据,一条记录5k到8...
作者 leomon 发布于 2003-09-01 分类:linux技术
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
逛论坛交流:Any one knows how to open port.
are you sure your apache has start?
start it
/etc/rc.d/init.d/httpd start
# 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
LoadModule ssl_module libexec/libssl.so
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 "Port 80" in your httpd.conf file
Port 80
Listen 80
Listen 443
User nobody
Group nobody
UserDir public_html
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
AccessFileName .htaccess
Order allow,deny
Deny from all
Satisfy All
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
after I added Port 80
the error message was like, "Port was replaced with listen in Apache 2.0"
I guess Apache change the command Port to listen from 1.3.7 to 2.0
3 条回复
回复