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:



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?

Thank you very much.

Get a FREE email address for your WILD SIDE! Choose from over 350
outrageous email addresses at http://www.WildEmail.com

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to