Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 05/09/2007, à 13:42

SebLinux

Roundcubemail Erreur 500 .htaccess

J'ai fait l'install de roundcubemail mais je remcontre un pb a cause du .htaccess

[Wed Sep 05 19:30:36 2007] [alert] [client 127.0.0.1] /var/www/roundcubemail/.htaccess: php_flag not allowed here
[Wed Sep 05 19:30:37 2007] [alert] [client 127.0.0.1] /var/www/roundcubemail/.htaccess: php_flag not allowed here
[Wed Sep 05 19:32:27 2007] [alert] [client 127.0.0.1] /var/www/roundcubemail/.htaccess: Invalid command 'yphp_flag', perhaps misspelled or defined by a module not included in the server configuration

Voici la conf que j'ai mis dans le virtual host de apache2

NameVirtualHost *
<VirtualHost *>
	ServerAdmin webmaster@localhost
	
	DocumentRoot /var/www/
	<Directory />
		Options FollowSymLinks
		AllowOverride AuthConfig
#		Options Indexes FollowSymLinks Includes
#		Order allow, deny
#		Allow from all
	</Directory>
	<Directory /var/www/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride All
		Order allow,deny
		allow from all
		# This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                #RedirectMatch ^/$ /var/www
	</Directory>

	<Directory /var/www/phpmyadmin>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride All
		Order allow,deny
		allow from all
	</Directory>

	<Directory /var/www/roundcubemail>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride AuthConfig
		Order allow,deny
		allow from all
	</Directory>


        <Directory /var/www/private>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride AuthConfig
                Order allow,deny
                allow from all
                # This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                #RedirectMatch ^/$ /var/www
        </Directory>

	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	<Directory "/usr/lib/cgi-bin">
		AllowOverride AuthConfig
		Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all
	</Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride AuthConfig
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

Quand je met AllowOverride sur None alors j'ai une page blanche ....

Voici la conf du .htaccess de roundcubemail

# AddDefaultCharset	UTF-8
php_flag	display_errors	On
yphp_flag	log_errors	On
php_value	error_log	logs/errors
php_value	upload_max_filesize	2M

<FilesMatch "(\.inc|\~)$|^_">
  Order allow,deny
  Deny from all
</FilesMatch>

Order deny,allow
Allow from all

Merci pour vos lumière et vos bons tuyaux ...

Hors ligne