You are here: Re: [PHP] PHP's auto_prepend_file inside an Apache Directory container « PHP « IT news, forums, messages
Re: [PHP] PHP's auto_prepend_file inside an Apache Directory container

Posted by Richard Lynch on 10/10/80 11:15

On Tue, May 3, 2005 10:38 pm, Dan Trainor said:
> 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 dunno what php_value settings work in Directory container, if any, or
anything much about that...

But you could just use .htaccess files, perhaps, if it turns out that it's
just not gonna work inside the Directory container.

I suppose another option would be to set up totally BOGUS VirtualHost
settings for the directories you want to change, with just the php_value
inside of them... No, that's only gonna kick in when people actually
*SURF* to those BOGUS VirtualHosts... Well, maybe it could be useful to
somebody some day for some weird setup, but probably not as a general
solution.

--
Like Music?
http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация