Re: Use of auto_prepend_file inside an Apache directory container

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

 



Jasper Bryant-Greene wrote:
> On Tue, 2005-11-08 at 13:43 -0700, Dan Trainor wrote:
> 
>>Well, the problem is simple;  it just doesn't work.  No script is
>>prepended to the page that I access from within /demo/protected.  My
>>prepend script consists of the following line of code:
>>
>><? echo "This is prepended.<br /><br />"; ?>
>>
>>Sorry about that.
> 
> 
> Thanks. Have you tried putting quotes around the auto_prepend_file value
> in .htaccess? I'm thinking maybe Apache is messing with the path
> somehow. Something like:
> 
> php_value auto_prepend_file "/absolute/path/to/file.php"
> 
> Oh, and you probably know this, but make sure AllowOverride is set
> correctly in your main Apache config file; try setting it to All for
> debugging this.
> 

Thanks for the help -

I have tried putting quotes around the string, as well, and that yields
the same results.  AllowOverride is set to All.

Thanks again
-dant

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux