[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGI Mapping

Nathan R Heagy schrieb:
> I have been using pi3 for quite a while and have really, really enjoyed it.
> Of all the servers I have used, it is my favorite. However, I use it for
> testing CGI applications before I upload them to my Apache-running web
> server. Unfortunately, my current, large, application needs to be able to
> run PERL scripts and HTML in the same directory, like Apache can, so I am
> forced to search for a new solution, which means a new web server. Holger,
Please stay. But if cross-development is your hardest problem, there is an
Apache for Windows NT/95 1.3b6 (Beta) release announced on www.apache.org.
I read an article in our c't magazine about it and could tell you the facts
on demand.

> John? Is there any way to have both CGI and HTML served up in one directory?
Hi, I think it's possible but I need some time to test my idea. The problem is
I've to go to work now. Could you wait until this evening please?
However, the placement of CGI-programs and web sites in one directory isn't
my personal favourite (transparency, security - user often has more rights in
HTML dirs than in CGI dirs).

> Frankly, whatever the mapping, both need to know extensions to do anything
> right, so I don't know why I can't just have .cgi be scripts, but I can't.
My approach is to make conditional mappings for the same directory in
dependence on the file extension. This could work for several directories.
The common way how the url is handled is the choise of the mapper class
(CGIMapper or PathMapper an then the mime type of the file.)
I made some stuff to show /cgi-bin/ as directory and to execute the contents
by click on it. (Remember?)

> Thanks for any help.
> Nathan R Heagy
> -- -- --
> Sites Built Better
> http://heagy.com

with regards

Holger 'Zimpel' Zimmermann    Contact me:
Wendishain                    tel./fax company: on demand
Germany                       tel./fax private: on demand
homepage: http://home.t-online.de/home/zimpel/
web server: surf to it from my homepage (online every
            Sunday 20:00-24:00 GMT, start shifted again)
e-Mail:     zimpel@t-online.de