Dan Trainor wrote:
> Curt Zirzow wrote:
> 
>>On Tue, Nov 08, 2005 at 01:36:24PM -0700, Dan Trainor wrote:
>>
>>
>>>Dan Trainor wrote:
>>>
>>>
>>>>Good afternoon, all -
>>>>
>>>>I've had problems with auto_prepend_file off and on for as long as I can
>>>>remember.  It's hit or miss, and browsing the archives, it looks like
>>>>I'm not alone.  I've even written to the list on several occasions
>>>>looking for a solution, to no avail.
>>>>
>>>>I think that auto_{prepend,append}_file are incredibly useful functions,
>>>>but they're crap if they don't work.
>>>
>>>...
>>>
>>><VirtualHost 192.168.1.51>
>>>       DocumentRoot /var/www/virtual
>>>...
>>>       # begin dan's protected directory stuff
>>>       <Directory /demo/protected>
>>>               php_value auto_prepend_file /absolute/path/to/file.php
>>>       </Directory>
>>></VirtualHost>
>>
>>
>>I believe you want to use <Location> instead. The Directory path is
>>never going to be seen since your files are over in /var, and your
>>prepend is waiting for something in /demo
>>
>>Curt.
> 
> 
> Hello, Curt -
> 
> So a Directory container's specification is never relative to the
> DocumentRoot?  It's my understanding that it is.
> 
> Thanks
> -dant
> 

...however, I did heed your advice, and it seemed to work well.  Now I'm
a but confused, unfortunately; why would this not work in a Directory
container?  I thought that I had used this method in the past, with
great success.

Thanks
-dant

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

Reply via email to