Hi!
I've got installed an Apache+PHP server on my LinuxBox.
I want to create a 'myname.foo' file, but generated via PHP.
I mean:
----//----
<?php
header("Content-type: FooType"
....
-----//-----
I modify my 'httpd.conf' file, and insert:
AddType FooType .foo
But when browsing 'myname.foo', this is not generated, I only get the '<?php ....'.
How can I tell Apache to generate .foo files by using PHP?
Regards,
I've got installed an Apache+PHP server on my LinuxBox.
I want to create a 'myname.foo' file, but generated via PHP.
I mean:
----//----
<?php
header("Content-type: FooType"
....
-----//-----
I modify my 'httpd.conf' file, and insert:
AddType FooType .foo
But when browsing 'myname.foo', this is not generated, I only get the '<?php ....'.
How can I tell Apache to generate .foo files by using PHP?
Regards,