Hello everybody.

I'm having a problem with the Apache ForceType directive when running PHP
in CGI mode.

The goal is to be able to use URL like "/local/param1/val1/param2/val2",
have them all run the same PHP script (local), and have the script parse
out the parameters and values (all of this to be more compatible with
search engine 'bots.)

When I do this with PHP as a module, it works fine. When I do it in
CGI-mode though, it results in a 404-not found error. I know that the
Location block that the ForceType directive is in is being processed by
Apache because if I change the access for the block to deny all, I get a
non-allowed error instead.

Here is my configuration:
  Windows 2000 Professional-Sp2
  Apache 1.3.20
  PHP 4.0.6/CGI-mode

The Location block looks like this:
  <Location /source>
    ForceType application/x=httpd-php
  </Location>


Thanks in advance,

Dave

----------------------------------------------------------------------------
David M. Patterson                     Voice:                   714-532-4492
Consulting Software Engineer           Fax:                     253-679-8673
Web/Php Development                    email:     [EMAIL PROTECTED]

         "Artificial Intelligence is no match for natural stupidity"
----------------------------------------------------------------------------


-- 
PHP Windows 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