f********h 发帖数: 149 | 1 I assume you are using unix/linux, go to the apapche configuration directory
and look at the httpd.conf. Also check the apache log file for additional
information.(error_log) |
|
f********h 发帖数: 149 | 2 everything is specified in the httpd.conf.
Take a look and play with it. |
|
t*****t 发帖数: 72 | 3 how to update the server after I changed something in
httpd.conf? many thanks...//bow |
|
|
b***y 发帖数: 2799 | 5 ☆─────────────────────────────────────☆
banyan (一份感动) 于 (Sat Sep 3 00:06:40 2005) 提到:
发信人: banyan (一份感动), 信区: BuildingWeb
标 题: 为啥显示的是页面源码?
发信站: BBS 未名空间站 (Fri Sep 2 23:59:16 2005), 转信
俺写了个CGI程序里面用printf返回WEB HTML代码,把它放在x86上的WEB SERVER(俺试过
BOA 和HTTPD),浏览器都能正常显示出页面(MOZILLA需要在HTML代码前留一空行,否则
显示的是HTML代码。其它浏览器IE,OPERA,ESPIAL则没有此问题)。
现在俺把CGI和WEB内容放到一嵌入式系统(OS为MONTAVISTA)上的APACHE跑,各种浏览器
都不RENDER页面,而显示的是WEB PAGE的HTML代码。
请问这是因为HTML代错还是APACHE上的设置不对?
☆─────────────────────────────────────☆
cogt (苦 |
|
d****n 发帖数: 1637 | 6 至少Linux默认的httpd安装都支持。
这个应该不是个问题吧。 |
|
I**********s 发帖数: 441 | 7 On linux, you can use: tail -f /var/log/httpd/error_log
Don't know on windows. |
|
b*******s 发帖数: 5216 | 8 我觉得是应该搞专用router,搞一个行业协议,提供怎么发现设备,更新设备状态等
这样解决很多问题都比较简单了,就是一般的router,支持一个内置的很简单的httpd
手机就是向服务器问个家里router的注册地址,直接访问上面的web service就是了 |
|
t*****s 发帖数: 416 | 9 你这个还是C/S模式,人家要上P2P呢。
httpd |
|
g*****g 发帖数: 34805 | 10 太naive,这种东西都要拼成本,还上一个路由,一点戏都没有。
httpd |
|
n*****t 发帖数: 22014 | 11 拉几把倒吧,你不会我免费给你写一段,放在你哪里跑,client 起个 lightweight
httpd,专门转换成 tcpip request
这几把跟简单复杂没半毛钱关系,压根就是没必要的负荷 |
|
b******6 发帖数: 572 | 12 我也觉得非常奇怪。
firewall这个好像需要启动服务,忘了具体哪一个了,根本起不来。
启动 httpd,结果80 口没监听,好多问题。可能是我不会用。换到19还是有别的问题。
很想用 fedora的,现在先放下吧。 |
|
|
b***i 发帖数: 3043 | 14 补充信息:
设备有ip地址,基本上使用ARM/Linux,然后1G内存左右,操作系统部分固化在Flash里
面,然后有些可以修改的文件放在另外的Flash,启动后mount, 使用简易的web server
什么httpd什么的,应该没有问题。就是我们的软件工程师习惯了.net,我怕他们要我
改成i7/8G内存这个级别的PC。
看来是用C/C++或者最多是lua,用不了.net啦,是不是java也不行?有个不是正式的要
求是系统要在启动后10秒内开始响应。我看了一下,开发版大概需要8-14秒,经过一定
的优化应该可以达到这个要求。 |
|
h**********c 发帖数: 4120 | 15 linux最的架构应该是apache httpd + php,后端接开源数据库系统,从一个计算机系统
工程师角度讲没有你不能调试的问题。当然要有很深的C,modeling能力。前端应该避
免任何javascript,除非你也想注入,耍流氓。后端用javascript没用过,是我就直接
c或java写一个服务器。
我老最深刻的体会一定要有一个靠谱(reliable)看得懂的logging module,必要监控所
有网络流量,任何事情发生,心里有数。
一切都是表象。系统能不能干活,最终还是数据(库)模型能不能站住脚。 |
|
h**********c 发帖数: 4120 | 16 最linux的架构应该是apache httpd + php,后端接开源数据库系统,从一个计算机系统
工程师角度讲没有你不能调试的问题。当然要有很深的C,modeling能力。前端应该避
免任何javascript,除非你也想注入,耍流氓。后端用javascript没用过,是我就直接
c或java写一个服务器。
我老最深刻的体会一定要有一个靠谱(reliable)看得懂的logging module,必要监控所
有网络流量,任何事情发生,心里有数。
一切都是表象。系统能不能干活,最终还是数据(库)模型能不能站住脚。 |
|
d****i 发帖数: 4809 | 17 当然有拉,Apache里面有个重要的mod_php,就是用来在Apache里面跑PHP,就是运行的
在/usr/lib/httpd/modules/里面的libphp5.so,否则你以为LAMP是天然给你搭好的明
灯吗? |
|
w***g 发帖数: 5958 | 18 这个我前段时间刚研究过。mTCP不行。最好的是seastar,就scylladb用的那个。
你还回过我帖子。
seastar有个自带的HTTP客户端叫seawreck,可以上他们的DPDK stack。
他们的网页在这儿https://github.com/scylladb/seastar/wiki/HTTPD-benchmark
我千辛万苦刚刚也跑起来了,两台机器1G网卡背对背连。
Server: 10.2.0.20:10000
Connections: 256
Requests/connection: dynamic (timer based)
Requests on cpu 0: 7714601
Requests on cpu 1: 7529698
Requests on cpu 3: 7504488
Requests on cpu 2: 7484931
Total cpus: 4
Total requests: 30233718
Total time: 60.002058
Requests/sec: 503878.016799
也就是 504K req/s。 我昨天发的... 阅读全帖 |
|
h**********c 发帖数: 4120 | 19 com.sun.net.httpserver
或者nano httpd之类 |
|
j***y 发帖数: 87 | 20 in httpd.conf
AccessFileName .htaccess
AllowOverride All
and in the directory you want to protect:
.htaccss and .htpasswd |
|
k**n 发帖数: 307 | 21 有个IP不停的向我的server发这样的信号:
(从httpd log里看见的)
"GET /scripts/root.exe?/c+dir HTTP/1.0"
"GET /MSADC/root.exe?/c+dir HTTP/1.0"
"GET /c/winnt/system32/cmd.exe?/c+dir HTTP/1.0"
"GET /d/winnt/system32/cmd.exe?/c+dir HTTP/1.0"
"GET /scripts/..%255c../winnt/system32/cmd.exe?/c+dir HTTP/1.0"
"GET /_vti_bin/..%255c../..%255c../..%255c../winnt/system32/cmd.exe?/c+dir HTTP/1.0"
"GET /scripts/..%c1%1c../winnt/system32/cmd.exe?/c+dir HTTP/1.0"
"GET /scripts/..%c0%2f../winnt/system32/cmd.exe?/c+dir HTTP/1.0"
等等等等. |
|
c*****s 发帖数: 385 | 22 access_log里有这样一条:
adsl-64-163-213-194.dsl.snfc21.pacbell.net - - [09/Dec/2002:03:23:27 -0500] "
GET
/default.ida?NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNN%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%
u7801%u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u0000%u00=a
HTTP/1.0" 400 252 |
|
j*****o 发帖数: 320 | 23 不是入侵,而是尝试。这个攻击对Unix对Unix/Linux下webserver无效。 |
|
c*****s 发帖数: 385 | 24 Mine is Linux, so don't need to worry about. Hackers are so
quick; I just opened 80 port last night, they attacked me
this morning!
Any one has good ideas to maintain a webserver?
-0500] "
/default.ida?NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
NNNNNNNNN%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3% |
|
i*******r 发帖数: 377 | 25 It is not hacker, Just worm
%95 security alert is worm attack |
|
v****x 发帖数: 34 | 26 a typical CodeRed Worm attempt |
|
a*****1 发帖数: 11 | 27
username
no, you can NOT put user/pswd in .htaccess
If you use only basic authentication, you generally
want to use 'htpasswd' to generate user/pswd pairs and put
the user/pswd file in a safe place, like your ServerRoot.
and then write down something in .htaccess of your local
directory or the corresponding | section
in httpd.conf, like
AuthType Basic
AuthName "passwd protection"
AuthUserFile /etc/apache2/ht_user_pswd_file
Require valid-user
You can "Require |
|
l**d 发帖数: 110 | 28 【 以下文字转载自 BuildingWeb 讨论区,原文如下 】
发信人: lapd (SalvageTitle~hEarTbRokEn), 信区: BuildingWeb
标 题: my /cgi-bin/ don't work!? help!
发信站: The unknown SPACE (Thu Oct 5 21:36:41 2000) WWW-POST
hi there.
i just installed a server, apache 1.3.11. everything goes
well..but test-cgi doesn't work. how to config httpd.conf to
make it work? thanks! |
|
w********r 发帖数: 6 | 29 rhe port is not used. I have changed the
HTTPD port to 81 already
I still can not use 80?? |
|
c*****t 发帖数: 1879 | 30 If you kill the parent process, all child (except those actively
serving) processes will quit as well. Check the shell script
in init.d/ that starts the Domino to see if it contains a stop
option. If not, I would just kill the parent and all child processes
should go away. To kill all the processes including actively serving
ones, you can write a shell script that capture the current httpd pids,
kill the parent and then all the child pids. Start up the apache
server immedately then.
ps, did |
|
m*****l 发帖数: 55 | 31 I have a sun workstation, which install in solaris systems. i just install
apache server in it, but i met some problems. when i started the server
httpd, it comes:
(13)Permission denied: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
what is it?
sorry, i am only a new guy to use UNIX.
thanks for your help. |
|
j*****o 发帖数: 320 | 32 vi /path-to-Apache/conf/httpd.conf |
|
a***t 发帖数: 39 | 33
You can rename index.html to something else, such as toc.html. Or you can turn
off DirectoryIndex on the Apache server's httpd.conf if you are using Apache
(I don't know IIS). But it's rare, since you have index.html, which is by
default as the html index. |
|
|
m*****d 发帖数: 18 | 35 我装了redhat7。3,运行httpd想开启
www服务,可是别的机子不能调出主页,本机可以。
咋整阿? |
|
f********u 发帖数: 572 | 36 thank you so much!. thanks all so much. Yes, I think I found the
problem with the help from all of you. :) I need the administrator
to set the httpd.conf in order to have my cgi-bin dir executable.
I have not got it work yet. but I am pretty sure that 's the problem.
Thanks a lot! :) |
|
D****g 发帖数: 2860 | 37 depends on your httpd server |
|
T*******x 发帖数: 8565 | 38 我安装了一个apache http server在vista下。
想改一下configuration文件httpd.conf,可是系统不让改。
请问应该怎样才能改? |
|
|
p******f 发帖数: 162 | 40
500 means your perl program threw an exception (i.e. died).
did you have a look at the httpd error log file? |
|
p******f 发帖数: 162 | 41
it's /var/log/httpd/error_log for me, you should try to find it around. |
|
n****u 发帖数: 12 | 42 What perl editor do you use? Is there one that can simulate server to run cgi
file? I tried some, but don't know if it's reliable. Also, Is
"/var/log/httpd/error_log" a route under perl or something? Thanks. |
|
s****e 发帖数: 1180 | 43 R 2.12.0的help不好用。将自己电脑上的R升级至2.12.0版本,发现丫的help不好用。
我打了help(gamma),结果如下:
> help(gamma)
starting httpd help server ... done
Error in shell.exec(url) :
file association for 'http://127.0.0.1:13108/library/base/html/Special.html' not available or invalid
Anyone, any idea? |
|
m*********k 发帖数: 10521 | 44 [EB23]
95369 suyazjm Dec 9 ● 发包子了热烈庆祝VB到2009.1.1
扣除版面:(EB23)10000伪币成功
成功奖励 10 伪币的用户: whatifnot, poise, yqwen, tumor, ndfe, crazylife,
dymu, firstrade, lingchong, AppleTree75, cappucino, tcbc, luketasly, aulaa,
noles, yxysxh, zenithwwei, yuhuaforever, mjyyang, poshancun, leilei,
shengshengba, liehuo, taogan1129, towergee, stone915, flyongrass, alexx,
cubs, lingzi, zephyrxiao, phoenixer, cooker, cgxl, fatmingzhou, AndrewZhang,
Rapids, CoVampire, forzaviola, Iker, ptx, a135, blue2011, duod... 阅读全帖 |
|
m*********k 发帖数: 10521 | 45 [HiFi] 1 dash2000 Jan 8. ● 圣诞快乐新年好,包子贴!
成功奖励 20 伪币的用户: dash2000, yumenma, lightness, jerrycasper, matts,
snowsunny, Dotaallstars, zanetu, solari, FFzz, rock888, crazyfish, archiles,
greenyard, andualusia, dong, zhqwind, ffriver, RisingStar, bechone, i94086,
alexlovedove, N9, hunxing, solobird2010, nekingll, dragontail, azzd, kc,
zfax, elitepro, jiese, MilesToGo, ghostinmind, Gforce, lilycola, junchangeb,
Zeocin, hardy616, wawsn, xhszh, jessicaann, WalkJogRun, beijingdaddy,
kwbago, LeChu... 阅读全帖 |
|
m*********k 发帖数: 10521 | 46 [Stock] IDjia Dec 28. ● 100个2017年
恭喜发财包
成功奖励 10 伪币的用户: IDjia, acml, meiq, codyxiaogang, a15425, jtms,
william98, ugaz123, brucknight, typhoonofne, min68, xiaotuji, laugh2, seaway
, CRH1235, Qingeer, soupman, sunpengroc, rtfm, torontonian, tran, bull2007,
interesting1, zerocoke, treert, fish123456, BenArfa, trader01117, seefree,
wqlys, qqtt1983, JeremyL, yalinger, kqxqx, michael11, Greenwin, tinyonion,
bigwatergun, Noktard, ricksling, nancylem, ryanho, wzy07... 阅读全帖 |
|
a9 发帖数: 21638 | 47 可是16M内存明显不够啊。asterisk就近10M,python一运行也要10多M,你们都怎么解
决的?
我把httpd,ssh都杀了,还是不太够。
单asterisk勉强跑,要是一运行python那个code,基本就不动了,电话也进不来。 |
|
a9 发帖数: 21638 | 48 是5M,但还是不够用啊。python占10M
总共才16M。
dropbear,httpd我全杀了还是不够。
不知道是不是开启swap会管点用?
么解 |
|