Welcome to WebmasterWorld Guest from 54.204.100.232

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)



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
</Directory>

any help is appreciated.