I think you might need to include php files that are "out of the kitchen" so to speak
via a php file that is in the www area....

Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Jul 24, 2006, at 10:14 AM, Pieter Vanmeerbeek wrote:

Hi,

I'm trying to redirect a specific URL  (for example
http://example.com/trigger/username) to a specific script on disk (rewrite
to  /libexec/pfb.php?user=username).

The document root is set to /testing.

Now I want my script (pfb.php) to be stored outside my document root but still accessible by the server. So I tried adding an alias line before the
document root line :

Alias /libexec /blabla/test
DocumentRoot  /testing


My url is rewritten to /testing/libexec/pfb.php?user=username (it says so
in the logging)

However apache complains it can't find the file /testing/libexec/pfb.php in
the error logging.

Putting the same file with the same access wrights under /testing/libexec
works fine.


Has anyone an idea on how to accomplish this?

Kind regards,
Pieter








--
---------------------------------------------------
Able: 1996-2006: already 10 safe years in YOUR company!

aXs GUARD has completed security and anti-virus checks on this e-mail (http://www.axsguard.com)
---------------------------------------------------
Able NV: ond.nr 0457.938.087
RPR Mechelen


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to