Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

How to set up custom interpreter?

2:21 pm on Feb 12, 2013 (gmt 0)

New User

joined:Feb 12, 2013
posts: 1
votes: 0

I need to assign a filetype to a custom interpreter (without the need of defining the shebang #!/blah/blah in a script)
I've tried the following in the httpd.conf, but could not get it to work this way.... so I'm either missing something or am on a completely wrong track.... (scrits have the file extension .mip)

<Directory "/xampp-portable/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
AddHandler myinterpreter .mip
Action myinterpreter /cgi-bin/interpreter.exe
Require all granted

any help is appreciated.