[phpa] Re: .php files detected as downloads?
- From: Brian France <list@xxxxxxxxxxxxxxxxxxx>
- To: cooliocami@xxxxxxxxx, phpa@xxxxxxxxxxxxx
- Date: Fri, 14 Jun 2002 13:23:51 -0700
Try adding this to you php.ini file and restart apache.
expose_php = Off
This stops PHP from adding its version info to the Server header and
will also stop PHPA from adding the X-Accelerated-By header.
Brian
At 1:15 PM -0700 6/14/02, Camilo wrote:
>--- Nick Lindridge <nick@xxxxxxxxxxxxxxxxxxxxx> wrote:
>>
>> >
>> > Hi,
>> >
>> > Today I installed phpa and activated it on one of
>> my
>> > sites. I use php-nuke on it and I was surprised to
>> > find that the text links I use in blocks are
>> detected
>> > as downloads when I click on them. The links which
>> > come by default with php-nuke work just fine.
>> >
>> > I removed phpa and it worked correctly again. Does
>> > anyone know what the problem could be?
>>
>> you could try unsetting or setting the expose flag
>> (i forget which way the
>> logic is) so that your server doesn't expose php. If
>> php is being exposed,
> > phpa adds an X-Accelerated-By http header when it
>> handles requests, and
>> perhaps the presence of that in the http header is
>> confusing things your
>> browser.
>>
>
>What do you mean with "php is being exposed"? How do I
>change the expose flag?
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com
>------------------------------------------------------------------------
> www.php-accelerator.co.uk Home of the free PHP Accelerator
>
>To post, send email to phpa@xxxxxxxxxxxxx
>To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
------------------------------------------------------------------------
www.php-accelerator.co.uk Home of the free PHP Accelerator
To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
- References:
- [phpa] Re: .php files detected as downloads?
- From: Camilo
Other related posts:
- » [phpa] .php files detected as downloads?
- » [phpa] Re: .php files detected as downloads?
- » [phpa] Re: .php files detected as downloads?
- » [phpa] Re: .php files detected as downloads?
- [phpa] Re: .php files detected as downloads?
- From: Camilo