Page 1 of 1

interpreting .grxml file as a php script

Posted: Fri Oct 12, 2007 5:45 am
by Drasha
Hello everyone,
I would like to ask you, how can I have .grxml file interpreted as an php script and have it returned with application/srgs+xml mime type.

Using AddType application/x-httpd-php .grxml satisfies only the first part

and having this in aliases section

Code: Select all

<Directory "${path}/www/dir">
  AddHandler php-script .grxml
  Action php-script "I:/Program Files/EasyPHP1-8/php/php.exe"
  SetHandler php-script
  Options Indexes FollowSymlinks MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all
</Directory>
with

AddType applicaton/srgs+xml .grxml

in mimetype section gives me 400 Bad request - Invalid URI in request GET /dir/users.grxml HTTP/1.1 :?

Any idea?
Thanks