Bonjour,
Je vous écris car je n'arrive pas à remédier à ce bug en allant sur la page Admin > CMD > "page, Blocs Statique" donne une page blanche.
| Code : |
Mon log apache me donne :
[Fri Aug 05 11:45:54 2011] [error] [client 184.XXX.20.XXX] client denied by server configuration: /var/www/app/etc/local.xml
|
Alors j'ai le frontend sur le port 80 normal avec cette configuration apache2 :
| Code : |
<VirtualHost *:80>
ServerAdmin webmaster@XX.com
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
<Files ~ "\.(inc|sql|xml|additional|template)$">
order allow,deny
Deny from all
</Files>
RedirectPermanent /admin https://XX.com:5050/admin
RedirectPermanent /index.php/admin https://XX.com:5050/admin
ErrorLog ${APACHE_LOG_DIR}/000-default/error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/000-default/access.log combined
</VirtualHost>
|
et pour le backend il est situé sur
site:5050 avec une clé privée personnel pour chaque administrateur :
| Code : |
Listen 5050
<IfModule mod_ssl.c>
<VirtualHost _default_:5050>
ServerAdmin webmaster@jjtroc.com
DocumentRoot /var/XXX/
<Directory />
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
SSLVerifyClient Require
SSLVerifyDepth 3
SSLRequire %{SSL_CLIENT_S_DN_O} eq "XXX"
</Directory>
ErrorLog ${APACHE_LOG_DIR}/services/error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/services/ssl_access.log combined
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
SSLEngine On
# path to the server signed certificate
SSLCertificateFile /var/XXX/certificats/XXX.pem
# path to the server key
SSLCertificateKeyFile /var/XXX/certificats/XXX.key
# path to Root CA signed certificate
SSLCACertificateFile /var/XXX/certificats/ca/XXX.pem
# path to CA Certificate Revocation List
#SSLCARevocationFile /etc/apache2/certs/crl-mydomain.duh.crl
# duration of the session cache
SSLSessionCacheTimeout 3600
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
# MSIE 7 and newer should be able to use keepalive
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>
|
J'ai cherché un peu et je suis tombé sur cette page :
| Code : |
http://www.magentocommerce.com/boards/error.php/viewthread/213947/#t293840
|
J'ai donc essayé mais sans succès, j'ai tenté d'ajouter une ligne pour accepter l'ip du serveur et aucun changement.
Je cherche si vous avez une piste un petit coup de main serai cool !
Merci