httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pieter Vanmeerbeek" <>
Subject [users@httpd] Alias and Rewrite directives
Date Mon, 24 Jul 2006 15:14:39 GMT

I'm trying to redirect a specific URL  (for example  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,

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

aXs GUARD has completed security and anti-virus checks on this e-mail (
Able NV: 0457.938.087
RPR Mechelen

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message