Re: [users@httpd] Configuration of .htaccess file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It was thus said that the Great Joshua Slive once stated:
> 
> On 9/26/05, Frank Arensmeier <frank.arensmeier@xxxxxxxxxxxxxxxxx> wrote:
> >
> > 1) in a certain path of my webserver, all 404 errors should be grabbed
> > and forwarded to a PHP script
> > 2) I don't want Apache to send any headers before the PHP script
> 
> I'm not sure if there is a way to do that with PHP.  With a CGI
> script, you simply give it a name starting in nph- (for "non-parsed
> header") and then it gets to do all the headers itself (with a couple
> exceptions).

  What exceptions?  I'm still having problems with Apache 2.0.54,
mod_rewrite and mod_cgi with a "nph-" CGI script (request gets rewritten by
mod_rewrite to my "nph-" CGI script, and Apache seems to output header
information in addition to the header I send---that doesn't happen if I go
directly to the script).

  -spc (curious ... )




---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux