interpreting .grxml file as a php script

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Drasha
Forum Newbie
Posts: 1
Joined: Fri Oct 12, 2007 5:32 am

interpreting .grxml file as a php script

Post 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
Post Reply