-----Original Message-----
From: Robin Getz [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 31, 2004 1:40 PM
To: php-general@lists.php.net
Subject: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

Hi.

I am trying to get Apache 2.0.52 / PHP 4.3.10 working with some scripts I 
am using.

I have a file named /www/projects which is a php script.
When I type the url: www.site/projects/variable

I want variable passed to the script "projects"

I have the the http.conf set up as:

<Files projects>
   SetInputFilter  PHP
   SetOutputFilter PHP
   AcceptPathInfo  On
</Files>

Which used to work with apache 2.0.40 and php 4.2.3 - but what happens now, 
is I actually get passed the php script back as text to the browser.

Any thoughts? I poked around on google, and saw at 
http://dan.drydog.com/apache2php.html

"However, SetOutputFilter / SetInputFilter no longer works for me. It used 
to work with an earlier PHP 4.x or Apache 2 version, but not with Apache 
2.0.47/PHP 4.3.3. I understand this (PHP as an Apache 2 filter) is 
experimental, so I don't use it anymore"

I tried things like:
   AddType text/html       php

But I keep getting the same thing in my browser:

<?php
/**
  * Projects Redirector
  *
---snip---
?>

Any thoughts? Thanks in advanced.

-Robin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Hello,

You could also do it like this if don't want to use /

.htaccess or httpd.conf
RewriteEngine On
RewriteRule ^list-(.*) list.php
RewriteRule ^design-(.*) design.php

http://www.juhaszdesign.com/list-barstools.html
http://www.juhaszdesign.com/design-hastings-barstool.html

Andras Kende
http://www.kende.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to