由买买提看人间百态

topics

全部话题 - 话题: httpd
首页 上页 1 2 3 4 5 下页 末页 (共5页)
F***Q
发帖数: 6599
1
来自主题: BuildingWeb版 - 在Apache_Win32中如何设置cgi-bin呀
想执行一个计数器程序counter.exe,把它拷贝到cgi-bin目录下,
应该作什么设置才能让它能正确执行?
我把httpd.conf中的ScriptAlias /cgi-bin/ 设置到我的cgi-bin目录
然后还要设置什么吗?反正我这样设不work:(
m*****e
发帖数: 4193
2
check your httpd.conf. You disabled "FollowSymLinks" option (which is a good
idea).
d******i
发帖数: 448
3
来自主题: BuildingWeb版 - 密码窗口一问
thank you. but I'm still feeling confusing.
I'm using Apache in NT.
Does microbe mean do some configuration in httpd file?
And, atp, if I don't use either PHP or ASP, how can I do?
I just want a simple way to 防君子。
As for those guru/hacker/nerd, I can do nothing.
j***y
发帖数: 2074
4
来自主题: BuildingWeb版 - SSI support of Apache Server under NT4.0?
how to configure Apache to support SSI under NT4.0?
i found in the documentation that i only add the following directives in the
file httpd.conf:
AddHandler server-parsed .shtml
AddType text/html shtml
but it seems that the SSI (Server Side Include) still can't be supported. the
server even can't parse my phrase like in my index.shtml.
any help?
thanks,
w*****h
发帖数: 139
5
You can configure Apache Server to automatically direct servlets/jsp codes
to Tomcat, and with port 80.
Check Tomcat setup guide, not easy though.
Install Apache and Tomcat:
Connect Apache to Tomcat:
a. Download module: webapp.so
b. copy to: apache/libexec
c. Make changes to httpd.conf:
LoadModule webapp_module libexec/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /exam
j*****o
发帖数: 320
6
来自主题: BuildingWeb版 - 急问,大侠请看!

make sure your index file is named correctly.
In most case, it should be 'index.html' or 'index.htm'.
All lower case.
If you are running Apache, you may need add this to httpd.conf
ScriptAlias /~yourname/cgi-bin/ "/path-to-yourhome/public_html/cgi-bin/"
b****u
发帖数: 22
7
来自主题: BuildingWeb版 - apache conf help!!!
Check the httpd.conf,
remove other "ScriptAlias xxx .../apache/cgi-bin/" statements,
By default, there are two " ScriptAlias /cgi-bin/ .../apache/cgi-bin"
statements ! Though you delete one, but another one overrided your new setting.
then restart apache.
r****y
发帖数: 26819
8
So what? Many people ask this question under linux environment.
Have you tried? What is your httpd.conf and php.ini,and versions?
r****y
发帖数: 26819
9
来自主题: BuildingWeb版 - 修正一下
看到一个帖子说LoadModule 用php4apache2.dll。试了一下,那位老兄还把自己的
php.ini和httpd.conf贴出来了。我就差copy他的了。因为装的目录不一样而已。
采用了他的改动,但是结果很失望:不work。
这是网上现在怨声载道的一件事,很少有人调配成功;我之所以尝试做这个,就是
因为学校里管server的那个家伙做不出来。
o*h
发帖数: 16
10
来自主题: BuildingWeb版 - PHP question. Please help
check the file httpd.conf
r****y
发帖数: 26819
11
来自主题: BuildingWeb版 - quesiton about PHP! waiting online
What did you add in the httpd.conf?
s****n
发帖数: 489
12
来自主题: BuildingWeb版 - httpd, php under RH8.0
search in google about how insatll php
easy
r****y
发帖数: 26819
13
来自主题: BuildingWeb版 - httpd, php under RH8.0
If you selected php when you install RH8, it would work after you start
the service.
Mine works well.
m***e
发帖数: 98
14
【 以下文字转载自 Windows 讨论区 】
【 原文由 maybe 所发表 】
在win2000 advanced server下安装iplanet web server 4.1,
adminserver启动后, 想接着启动自己添加的server, 但是
自己的server起不来, 总有保护错, 是httpd.exe读内存越界。
在别的相同OS机器上, 有的可以,有的不行, 不知道是不是和已经
安装过的其他东西冲突。
有没有人也碰到过这样的问题, 请各位指教, 多谢。
p******r
发帖数: 43
15
When I open hello.php by mozilla, it shows the source code below:


Look Out World





Need I modify something in httpd.conf? And How?
w**********k
发帖数: 1135
16
【 以下文字转载自 Boston 讨论区 】
【 原文由 walklooktalk 所发表 】
Sorry. I made a mistake here.
In httpd.conf, change "AddDefaultCharset ISO-8859-1" line
to "AddDefaultCharset gb-2312".
hehe, I met the same when I tried to use apache 2.
p****j
发帖数: 6
17
来自主题: BuildingWeb版 - 关于apache的新手问题

谢谢!我知道local怎么访问,象你说的,还有localhost都可以,
我已初步设了一下httpd,但是,怎么知道自己的public IP and
private IP?因为另一台机器也是连着DSL(不是client/sever形式),
IP分配那里都是填的动态分配的。
谢谢!
j*****g
发帖数: 463
18
来自主题: BuildingWeb版 - 如何设置网页的语言?
Yes, you are right, KENTJOY.
If found if I simple double the html file, it brought up the webpage
in Chinese automatically.
I'm using "Apache 2.0.48 Win32" server. There's a language negotiation
process which I'm not quite sure. Should I change the default language
setting for the server to Chinese? Anybody have experience with Apache
setting?
I have another question for your guys, say:
Which httpd server is the best among the freewares?
Thanks for your help.
Zhang
c***r
发帖数: 4631
19
来自主题: BuildingWeb版 - Please help me on these concepts.
first, apache is a webserver program, it is widely used, how many? you can
refer http://www.netcraft.com for information. if you want to know more about
the apache webserver, you can go to http://httpd.apache.org for more
information.
second, there is a Apache software foundation. the website of this fundation
is http://www.apache.org And there are a lot of projects suported by this
fundation. The mose important one is the apache http server. And many others
are pretty useful. Like the Jakarta,
c***r
发帖数: 4631
l********r
发帖数: 140
21
来自主题: BuildingWeb版 - Can not start Apache 2 with 用户认证. :-(
Sorry forget to say the changes are make in the httpd.conf file, unless
otherwise stated.
c***c
发帖数: 21374
22
pathtoapache/apachectl -stop先
然后用rpm删除就可以了
rpm类似windows里面的卸载,很方便
r*****r
发帖数: 397
23
The problem is I installed from source.That will be more complicated.
l**u
发帖数: 35
24
even you build it from source, you can get in the source
directory and make uninstall. That should work.
r*****r
发帖数: 397
25
When I installed from source, I specified /usr/local/apache, can i just delte
the whole directory apache?
I found my machine is running very slow now, is that mean I didn' t configure
the apache correctly?

automaically
in
i****i
发帖数: 8
26
来自主题: BuildingWeb版 - Clean URL, any guru know?
just remove the Options Indexes from the httpd.conf
c***c
发帖数: 21374
27
来自主题: BuildingWeb版 - Re: cgi测试newbee问题
apache的帮助文件是非常详细和充实的,自己看吧
http://httpd.apache.org/docs/2.0/
b****n
发帖数: 35
28
来自主题: BuildingWeb版 - 为啥显示的是页面源码?
俺写了个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上的设置不对?
t*****t
发帖数: 72
29
来自主题: BuildingWeb版 - Apache设置更新一问
我改了httpd.conf文件,要如何使更新的服务器设置生效?
apachectl stop
apachectl start
执行上面两个命令够吗?还是其它什么操作?多谢指教。。。
c***c
发帖数: 21374
30
来自主题: BuildingWeb版 - 中文显示的问题
apache config
httpd.conf
c***c
发帖数: 21374
t*****t
发帖数: 72
32
来自主题: BuildingWeb版 - 如何作个模板
3x a lot, I got one template by google, looks SSI related.
got to learn sth abt configuring the httpd..:)
g******g
发帖数: 5
33
来自主题: BuildingWeb版 - Help to configure php
I want my http server do the following things:
each time I type the following in my web browser
http://my.site/~myname
it will open:
http://my.site/~myname/index.php
the file index.php is under "/home/myname/public_html"
in httpd.conf(or apache2.conf), I did:
t*****t
发帖数: 72
34
来自主题: BuildingWeb版 - 各位webadmin
如果一个网站的访问量比较大,如何协调 httpd.conf 和 .htaccess 的任务?大网站会
不会经常 restart?多谢。。
c***c
发帖数: 21374
35
来自主题: BuildingWeb版 - 各位webadmin
尽量少用htaccess,多用httpd

c***c
发帖数: 21374
36
http://httpd.apache.org/docs/2.2/misc/rewriteguide.html
现在很流行这个
估计你给出的这两个不是纯粹的html文件,是url改写的
不过也有可能已经做了cache处理,那样的话也可以算是静态文件了
静态文件也不一定就是绝对好。比如说更新的时候静态文件就没动态文件方便;特别
如果你的页面比较多的时候,如果纯粹都是静态文件更新起来非常麻烦。
c***c
发帖数: 21374
37
no
对于web服务器没影响,原来怎么样还是怎么样,主要是搜索引擎优化
除非采用纯静态html文件或者缓等技术,否则这种伪html对于降低服务器负担没有
任何的帮助。恰恰相反,反而可能增加web服务器的负荷,特别如果都是通过htaccess
而不是httpd.conf设置的话(这里以apache为例)
r****d
发帖数: 375
38
来自主题: BuildingWeb版 - http server question
I am installing Apache in my linux box. The apache server (httpd) starts fine,
and I can see the start page without any problem in my linux box (using http://localhost or http://myipaddress). However, if I switch to a different machine in the same LAN, I got "The connection was refused ...'' error. But I can still use ping or ssh my linux box from this machine. Could some one help me out?
Thanks a bunch.
q**1
发帖数: 193
39
来自主题: BuildingWeb版 - 显示文件列表在网页的一个我的一个目录是用来存 downloadable 文件的,例如
httpd.conf里面

Options +Indexes
.....

所以我能够用例如 http://example.com/download
在网页上单独显示该目录下的文件列表。
q**1
发帖数: 193
40
来自主题: BuildingWeb版 - 显示文件列表在网页的一个这个没有 iframe 方便直接,因为我已经在httpd里设置好了各种所谓
FancyIndexes 自己做这些太麻烦,而且我里面有多级子目录,不然
我一行Perl code就把它们全搬过来了,呵呵
q**1
发帖数: 193
41
httpd.conf 里面:
ErrorDocument 404 /error.html
我现在希望在 error.html 里面动态加上request URL地址,
例如我 Server 是:
http://example.com
我访问任意一个不存在的网页,例如:
http://example.com/dir/non_exist.html
我需要在 error.html 里面显示该 request 的 URI
/dir/non_exist.html
而不是 /error.html,该如何动态实现?? //bow
q**1
发帖数: 193
l*******9
发帖数: 177
43
来自主题: BuildingWeb版 - 动态网页一问
你这个基本不需要什么AJAX,就是基本的JS。
1) 服务器侧自动生成那些site-width的图片,Linux下可以用crontab
写个stand-alone的脚本专门做这些图片,不要用Httpd的 process..
(which is overkill)你可以写个单独的Perl或其他脚本去Parse
远程服务器上的股票信息,然后自动生成图片,存在服务器的
document_root下面的某个位置,例如 /document_root/pics/
2) 一次性load所有生成的图片,用display:block|none来切换
显示哪个。。
3) 完全用 CSS 和 JS(用jQuery) 做,下面是一个范例:




.....
o***s
发帖数: 31
44
来自主题: BuildingWeb版 - problem: apache web server
Check /var/log/apache2(httpd)/error.log file and let us know what it says.
o***s
发帖数: 31
45
It depends on if you run perl script under CGI web environment. For apache
you may set User and Group entry in apache.conf/httpd.conf to force the user
and group.
For running perl under console commandline, if unix/linux, you need to
setuid the SAS program, change permisstion to 4555. if SAS program is a
script instead of binary executable, you'll have to write a C wrapper to
call it and setuid on this C wrapper program, then have your perl call your
C program.
r*******n
发帖数: 344
46
来自主题: BuildingWeb版 - MapServer MS4W + Apache 配置问题
【 以下文字转载自 Internet 讨论区 】
发信人: roamersun (Roamer), 信区: Internet
标 题: MapServer MS4W + Apache 配置问题
发信站: BBS 未名空间站 (Fri Nov 13 23:01:49 2009, 美东)
我用MapServer和与其捆绑在一起的Apache做GIS开发,发现Web GIS网页只能在本地loc
alhost浏览器才能开得见。请问如何配置这个Apache才能使外部主机也能访问网页。我
的主机是固定IP,没有域名。是需要配置httpd.conf文件么?如何配置?之前试过很多
次,都失败了!恳求大家帮忙,多谢了!
g******y
发帖数: 21
47
httpd.conf

ServerName a.com
ServerAlias b.com
ServerRoot ../../../
T*T
发帖数: 1386
48
装一个APACHE 2.2 X86版本的,再把PHP 5.x COPY到APACHE目录下,改下PHP.INI和
APACHE的HTTPD.CONF就好了呀。我一直都是这么装的。
k***r
发帖数: 4260
49
就是说httpd.conf里面可以有几种不同的方式support PHP啊
c***c
发帖数: 21374
50
很容易,下载安装不就得了
apache 和 mysql用msi的installer版本
php用zip的非msi版本
然后配置一下apache httpd.conf, php php.ini,mysql可能也需要少许配置
30分钟搞定
首页 上页 1 2 3 4 5 下页 末页 (共5页)