F***Q 发帖数: 6599 | 1 想执行一个计数器程序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 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 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
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 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 check the file httpd.conf |
|
r****y 发帖数: 26819 | 11 What did you add in the httpd.conf? |
|
s****n 发帖数: 489 | 12 search in google about how insatll php
easy |
|
r****y 发帖数: 26819 | 13 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
谢谢!我知道local怎么访问,象你说的,还有localhost都可以,
我已初步设了一下httpd,但是,怎么知道自己的public IP and
private IP?因为另一台机器也是连着DSL(不是client/sever形式),
IP分配那里都是填的动态分配的。
谢谢! |
|
j*****g 发帖数: 463 | 18 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 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, |
|
|
l********r 发帖数: 140 | 21 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 just remove the Options Indexes from the httpd.conf |
|
|
b****n 发帖数: 35 | 28 俺写了个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 我改了httpd.conf文件,要如何使更新的服务器设置生效?
apachectl stop
apachectl start
执行上面两个命令够吗?还是其它什么操作?多谢指教。。。 |
|
c***c 发帖数: 21374 | 30 apache config
httpd.conf |
|
|
t*****t 发帖数: 72 | 32 3x a lot, I got one template by google, looks SSI related.
got to learn sth abt configuring the httpd..:) |
|
g******g 发帖数: 5 | 33 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 如果一个网站的访问量比较大,如何协调 httpd.conf 和 .htaccess 的任务?大网站会
不会经常 restart?多谢。。 |
|
|
|
c***c 发帖数: 21374 | 37 no
对于web服务器没影响,原来怎么样还是怎么样,主要是搜索引擎优化
除非采用纯静态html文件或者缓等技术,否则这种伪html对于降低服务器负担没有
任何的帮助。恰恰相反,反而可能增加web服务器的负荷,特别如果都是通过htaccess
而不是httpd.conf设置的话(这里以apache为例) |
|
r****d 发帖数: 375 | 38 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. |
|
|
|
|
|
l*******9 发帖数: 177 | 43 你这个基本不需要什么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 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 【 以下文字转载自 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分钟搞定 |
|