samedi 26 avril 2014

File not being forwarded to Handler


Vote count:

0




OK, so I've set up 2 actions for 2 different file types, like this :



<IfModule mime_module>
AddHandler application/x-httpd-lgm .lgm
Action application/x-httpd-lgm /cgi-bin/lgm
</IfModule>

<IfModule mime_module>
AddHandler application/x-httpd-lhtml .lhtml
Action application/x-httpd-lhtml /cgi-bin/ilgmc
</IfModule>


Which actually ends up forwarding .lgm files to my lgm interpreter (as a parameter).


However, this does not happen for the .lhtml files, although I've done the exact same thing. The ilgmc interpreter gets called but with any parameter (in argv).


What's going on? What am I missing?



asked 48 secs ago






Aucun commentaire:

Enregistrer un commentaire