httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Trainor <i...@hostinthebox.net>
Subject Re: [users@httpd] PHP's auto_prepend_file inside an Apache Directory container
Date Wed, 04 May 2005 05:49:05 GMT
Chris wrote:
> Offhand I don't know what your problem is, but...
> 
> I always thought the auto_prepend_file was an absolute path, not 
> releative to the document root. If that isn't the full path, maybe 
> you'll have better luck specifying the full path?
> 
> Chris
> 
> Dan Trainor wrote:
> 
>> Hello, all -
>>
>> I've been tinkering around with PHP's auto_prepend_file, specifying 
>> this from inside an Apache VirtualHost container, something as such:
>>
>> <VirtualHost 1.2.3.4>
>>     blah
>>     blah
>>     blah
>>     php_value auto_prepend_file /super_duper_file.php
>> </VirtualHost>
>>
>> THis works fine from within the VirtualHost container, directly inside 
>> it's root.  However, this does not seem to work inside an Apache 
>> Directory container.
>>
>> I was wondering first if anyone could verify this.  Sure, I've had a 
>> few beers tonight - I want to make sure that I'm doing this properly. 
>> Secondly, I was wondering why this might not work - any real reasons?
>>
>> Like I said, I've been able to use auto_prepend_file in this method 
>> before, but never inside a Directory container.
>>
>> I'd like to prepend different files depending on which directory 
>> container the directive is in.  THat's my ultimate goal here.
>>
>> I'm sending this off to the users@httpd.apache.org list, as well, for 
>> some more insight into this, as it is kindof bothering me.
>>
>> Thanks for your time
>> -dant
>>
>>

It can be either/or, from what I've read.  Tried both, both were shot down.

I sent this off to the PHP guys, as well, and I think I'm going to let 
them roll over it tonight.

Thanks though
-dant


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


Mime
View raw message