p****j 发帖数: 6 | 1 我是在WIN XP下装的apache,我的web放在g:\web site
运行正常,现在想设CGI。
我的做法如下:
缺省:ScriptAlias /cgi-bin/ "g:/apahce/cgi-bin/"
我曾改成:ScriptAlias g:/web site/cgi-bin/ "g:/apahce/cgi-bin/"
它变得很怪,restart之后自动stop,只好不动它,改回缺省值。
Then I changed "Options" to "Options +ExecCGI"
and then: AddHandler cgi-script .cig .pl
AllowOverride Options
g:\web site\cgi-bin\里有一个PL程序,名为a.pl
g:\apache\cgi-bin\里有一个自带的PL程序,名为printenv.pl
我在浏览器中写localhost/cgi-bin/a.pl
得到the page cannot be found
敲入localhost/cgi-bin/printenv.pl
是internal |
|
t*****g 发帖数: 6 | 2 For WindowsXP system, could not find any binary version of 2.X version of apache
anybody has a compiled version? or anyone can tell me how to compile the
source in windows? do you have to have VC++?
Any other really stable web servers for Win XP? Apache 1.x seems has some bug
with XP.
TX |
|
i****i 发帖数: 8 | 3 www.apache.org has it
i have been using it since last week |
|
v****r 发帖数: 158 | 4 run apahce installer again.It will detect if u have installed apache,
if u have installed.It will let u select 'repair' or 'remove'.select remove
apache.
|
|
g****y 发帖数: 323 | 5 My suggestion is to use Apache and Jserv.
Apahce supplies the Web server, Jserv makes the servlets and jsp possible.
Since they all from apache group, so they are intergrated together.
First install Apache server, modify the setting to set the web server IP.
Then install Jserv and it will ask you for the necessary files and
directory, just follow, and you can not miss anything you need to
setup the servlet. When it is finshed, it will add the config file
to the Apache config file automatically, |
|