You are here: Re: [PHP] php not allowed in .htaccess « PHP « IT news, forums, messages
Re: [PHP] php not allowed in .htaccess

Posted by "Richard Lynch" on 06/01/05 09:13

On Wed, May 25, 2005 3:01 pm, Jack Jackson said:
> Hi, dumb config issue.
>
>
> I'm putting a php_value include_path statement in an .htaccess file
>
> php_value include_path
> ".:/home/user/public_html/dis/admin/:/home/nick/"
> php_value auto_prepend_file
> /home/user/public_html/dis/admin/wcsconf.php
>
>
> and getting a 500 Server Error. Apache logs say, ".htaccess: php_value
> not allowed here"
>
> Where can I change this behavior - is this an apache httpd.conf or
> php.ini setting? Something else?

For sure in httpd.conf -- as Apache is the one complaining about php_value
not being allowed.

Probably your AllowOverrides settings are "off"...

I'm not an expert, though, and this probably now belongs on an Apache list
anyway...
http://apache.org

--
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

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