httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noor Dawod" <>
Subject [users@httpd] Four questions regarding Apache's configuration
Date Thu, 10 Oct 2002 07:36:15 GMT
Hi all,

I have not been able to find answers to my questions in the archives or
in various news groups, so I'll be asking them here hoping to get some

The questions are:

How can I pass Apache variables using the ErrorDocument or Redirect
directives? Observe:

<Files "*.inc">
    Order allow,deny
    Deny from all
    ErrorDocument 403{REQUEST_URI}

This of course is not working, is it viable at all?

Is it possible to log "302 Page Moved" using Apache's CustomLog or any
other directive? If you ask, then I am not using mod_rewrite and I don't
intend to use it either.

Much related to the same subject, how can I log other documents, like
error document 403 and others?

If 2) above is not viable, I wrote a simple PHP script to do the job.
The problem is that if used with an 'ErrorDocument' directive, Apache
will issue a 'Location:' header and the remote client would normally
request it. By then, all information I needed for the previous request
would be gone.

The question is how can I run the PHP file in the previous session? this
way I have all information I wanted for the first attempted request.

Generally asking, is there a known and trusted source of 'known bugs'
that affects Apache? A good example of a known bug is the phf* or the
Code Red worm.

Thanks in advance for your help and patience.


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