由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - cgi测试newbee问题
相关主题
如何用python web.py web service 做 multiple parameters 的 call?cvs configuration
url RewriteURL questions
问个perl Mechanize问题请教一个语言选择的弱问题
问一个web browser 的问题Software Configuration Management (转载)
Is it possible to run GUI application through browser?哪里能看一下fedora glibc 的 make configuration (转载)
ssh question on linux问一道面试题
should the .dll and .lib have the same name?Random Switch Between Two Different URLs
a PERL opendir/readdir questiontinyurl 是怎么做到同一个long url两次得到相同的short url
相关话题的讨论汇总
话题: cgi话题: myname话题: server话题: directory话题: home
进入Programming版参与讨论
1 (共1页)
t*****t
发帖数: 72
1
在我当前目录下有一个perl文件, /home/myname/cgi/c.pl (文件属性755)
我在本地机上的浏览器上键入:
http://localhost/home/myname/cgi/c.pl?color=red&shade=dark
返回如下错误信息:
Not found
The rewuested URL /home/myname/cgi/c.pl was not found on this surver.
f********h
发帖数: 149
2
it depends on the configuration of the web server. Sometimes
you don't need to specify the cgi directory.

【在 t*****t 的大作中提到】
: 在我当前目录下有一个perl文件, /home/myname/cgi/c.pl (文件属性755)
: 我在本地机上的浏览器上键入:
: http://localhost/home/myname/cgi/c.pl?color=red&shade=dark
: 返回如下错误信息:
: Not found
: The rewuested URL /home/myname/cgi/c.pl was not found on this surver.

t*****t
发帖数: 72
3
how to configure the web server? I am using apache as the HTTP
server. //bow.

【在 f********h 的大作中提到】
: it depends on the configuration of the web server. Sometimes
: you don't need to specify the cgi directory.

f********h
发帖数: 149
4
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)

【在 t*****t 的大作中提到】
: how to configure the web server? I am using apache as the HTTP
: server. //bow.

t*****t
发帖数: 72
5
yep, i am using Linux. but how can i relate these configurations to
my problems. Or if I just want to test my cgi code at the local machine,
what should I do? many thanks

【在 f********h 的大作中提到】
: 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)

t*****t
发帖数: 72
6
o, my script worked after I put it in the public_html/cgi-bin
directory, and visit it through any browsers.
Still wondering if or not there are any ways that I can test it
by "localhost" or sth not bound to my website. //bow

【在 t*****t 的大作中提到】
: yep, i am using Linux. but how can i relate these configurations to
: my problems. Or if I just want to test my cgi code at the local machine,
: what should I do? many thanks

f********h
发帖数: 149
7
everything is specified in the httpd.conf.
Take a look and play with it.

【在 t*****t 的大作中提到】
: o, my script worked after I put it in the public_html/cgi-bin
: directory, and visit it through any browsers.
: Still wondering if or not there are any ways that I can test it
: by "localhost" or sth not bound to my website. //bow

t*****t
发帖数: 72
8
how to update the server after I changed something in
httpd.conf? many thanks...//bow

【在 f********h 的大作中提到】
: everything is specified in the httpd.conf.
: Take a look and play with it.

f********h
发帖数: 149
9
/etc/init.d/aparche restart

【在 t*****t 的大作中提到】
: how to update the server after I changed something in
: httpd.conf? many thanks...//bow

t*****t
发帖数: 72
10
got it, thanks.

【在 f********h 的大作中提到】
: /etc/init.d/aparche restart
1 (共1页)
进入Programming版参与讨论
相关主题
tinyurl 是怎么做到同一个long url两次得到相同的short urlIs it possible to run GUI application through browser?
what will happen if user disable JavaScript?ssh question on linux
laptop 可以连到学校的wireless, 但是不能连到家里的,什么原因啊?should the .dll and .lib have the same name?
请教大家一个directx显卡输出格式的问题.a PERL opendir/readdir question
如何用python web.py web service 做 multiple parameters 的 call?cvs configuration
url RewriteURL questions
问个perl Mechanize问题请教一个语言选择的弱问题
问一个web browser 的问题Software Configuration Management (转载)
相关话题的讨论汇总
话题: cgi话题: myname话题: server话题: directory话题: home