Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

Re: [users@httpd] shebang line in windows

William A. Rowe, Jr.

2008-06-24

Replies: Find Java Web Hosting

Author LoginPost Reply
Alex Jackson wrote:
>
> Is there a way to associate a file or a file type with a certain
> interpreter through the apache config?

See http://httpd.apache.org/docs/2.2/mod/core.html#scriptinterpretersource

although I know I was contemplating how to trick out wsh scripts to use
a shebang at one point and think I had succeeded. I don't recall the magic,
now, it might have been a patch. Use the registry-strict flavor so you
don't let people invoke notepad by browsing to readme.txt

> I have several issues getting scripts to run with the right
> interpreter. I am try to set up both logo and old dos basic for cgi.

I don't believe you'll succeed at invoking 16 bit apps but I could be wrong.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.