English 中文(简体)
轻度的可执行方目击和图像/java笔记
原标题:Executable cgi and image/javascript-files in lighty
  • 时间:2012-04-14 21:46:49
  •  标签:
  • cgi
  • lighttpd

我在我的灯光上添加/阐述了以下内容。 会议:

"mod_cgi"

以及

cgi.assign = ( "" => "/var/www/myCgiScript" )

这符合预期......我可以起诉我 每一次都会要求现场,但问题是,我可以公开图像。 例如,如果我做以下工作:

http://localhost/myImage.png

This will call my executable cgi (mySite) - the same for js-files. Is Is there any chance to h以及le images as usual?

页: 1

最佳回答

have a look at the documentation for cgi.assign: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCGI#Options

第一个论点是档案的延伸,第二个论点是,在要求提交延期档案时,可以查阅地理统计局的文字。 如今,你的公文档案中说,“任何延期,或无延期,均可运行/瓦尔/www/myCgi. ......”。 你们需要具体说明你想要CGI文件操作的一套档案延期,并且让照明能够正常地提供所有其他文件。

问题回答

暂无回答




相关问题
How to use ruby thin with CGI scripts?

I ve written some ruby CGI scripts (using the Ruby CGI class) that I serve from my production server using lighttpd. I want to test them on my development server using thin. Basically, I want to drop ...

How do I call another Perl CGI script within a CGI script?

I have a Perl CGI script that creates a login screen, i.e. user name and password. I want, after successful login, the user to be redirected to the next action within the application (another Perl ...

Not enough storage error on CGI app under Win64

I have a Delphi (hence 32-bit) CGI app running on a Windows 2008 64-bit server that has 24 Gb RAM with IIS7. The web service runs fine for a few days at a time (sometimes a few weeks) and then ...

How do I handle a multiple select form field in Perl?

What is the best, in Perl, way to get the selected values of a multiple select form field? <select name="mult" multiple="multiple"> <option value="1">Opt. 1</option> <...

Deploying a python CGI app

I have developed a python CGI application which works just fine on my development box. My hosting provider however gives me little control of its server: I use a lot of custom stuff in my python ...

mod_perl and inheriting STDIN in child process

I have this old Perl script that is supposed to act as a proxy of sorts between HTTP-based clients and non-HTTP Java server: the client POSTs some data to this Perl script and the script would in turn ...

热门标签