Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Apache + .htaccess] php_value not allowed here !!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
kernings
n00b
n00b


Joined: 14 Nov 2007
Posts: 36

PostPosted: Fri Jan 25, 2008 10:49 am    Post subject: [Apache + .htaccess] php_value not allowed here !! Reply with quote

Bonjour à tous,

VOila, j'ai un petit soucis sur mon dédié. Je souhaite utiliser un htaccess pour manipuler les directives ci-dessous :

Code:
php_value include_path       "/home/evolv/public_html/php-include/"
php_value auto_prepend_file  "/home/evolv/public_html/CONFIG.inc.php"
php_value auto_append_file   "/home/evolv/public_html/IHM/FIN_SITE.php"
php_value session.save_path  "/home/evolv/public_html/Sessions/"
ErrorDocument 404 /err404.php


D'après mes recherches, il faut Ajouter un "AllowOverride All" pour que les .htaccess aient le droit de modifier les paramètres, voici donc mon virtual host apache :

Code:
<VirtualHost *:80>
        ServerAdmin webmaster@evolv.com
        DocumentRoot /home/evolv/public_html
        ServerName www.evolv.com
        ServerAlias evolv.com
        CustomLog /var/log/apache2/evolv-web-access_log combined
        ErrorLog /var/log/apache2/evolv-web-error_log

        <Directory />
                AllowOverride All
                Options FollowSymLinks -Indexes Includes ExecCGI
        </Directory>

</VirtualHost>


Malheureusement, lorsque je lance ma page, erreur 500, "Internal Server Error" à cause du .htaccess, et dans les logues, j'ai toujours : "php_value not allowed here"

VOila, si quelqu'un aurait un début de solution pour pouvoir utiliser mes htacess ?

A bientot.
Back to top
View user's profile Send private message
Martin.
n00b
n00b


Joined: 16 Feb 2007
Posts: 71
Location: Switzerland

PostPosted: Thu Jan 31, 2008 1:59 pm    Post subject: Reply with quote

C'est pas php_admin_value la directive ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum