403 forbidden (Créer un compte)

  • Statut : non résolu
4 sujets de 1 à 4 (sur un total de 4)
  • Auteur
    Messages
  • #526868
    alou38
    Participant
    Initié WordPress
    16 contributions

    Bonjour,

    Voici 2 jours que j’écume les forum et test les solutions sans succès.
    Je possède le plugin Nextgen Gallery. Et plusieurs fonctions me sont inaccessible comme par exemple la page d’organisation des galleries et albums onglet « Album ».

    Le problème viens du blocage des dossier nextgen sur mon FTP.

    Tous les fichier et dossier de /www/wordpress/wp-content/plugins/nextgen-gallery m’indique en http, 403 (Forbidden).

    Exemple :
    http://alexandregirbal.com/wordpress/wp-content/plugins/nextgen-gallery/admin/images/nextgen_16_color.png
    Le resultat est 403 forbidden

    La console de google chrome m’indique :


    GET http://alexandregirbal.com/wordpress/wp-content/plugins/nextgen-gallery/admin/css/menu.css?ver=3.5.2 403 (Forbidden)
    GET http://alexandregirbal.com/wordpress/wp-content/plugins/nextgen-gallery/admin/css/jquery.ui.css?ver=1.8.5 403 (Forbidden)
    GET http://alexandregirbal.com/wordpress/wp-content/plugins/nextgen-gallery/admin/css/nggadmin.css?ver=2.8.1 403 (Forbidden)
    GET http://alexandregirbal.com/wordpress/wp-content/plugins/nextgen-gallery/admin/js/ngg_social_media.js?ver=3.5.2 403 (Forbidden)
    GET http://alexandregirbal.com/wordpress/wp-content/plugins/nextgen-gallery/admin/js/ngg.autocomplete.js?ver=1.0.1 403 (Forbidden)
    GET http://alexandregirbal.com/wordpress/wp-content/plugins/nextgen-gallery/admin/images/nextgen_16_color.png 403 (Forbidden)

    J'ai bien autorisé les fichiers et le dossier en 777 sur mon server FTP.
    desinstallé/reinstallé le plugin. Je pense que le problème peut venir des .htacces

    .htaccess entrée de mon serveur:

    SetEnv PHP_VER 5_TEST
    SetEnv REGISTER_GLOBALS 0

    .htaccess du dossier dossier WordPress :

    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]

    # END WordPress

    .htaccess du dossier WWW créer par le cms koken:

    ## Uncomment the following block to force SSL when accessing /admin
    #
    # RewriteEngine On
    # RewriteCond %{REQUEST_URI} /admin/
    # RewriteCond %{SERVER_PORT} 80
    # RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    #

    ####### DO NOT EDIT BELOW THIS LINE ########

    #MARK#######################################
    ######## KOKEN .htaccess rules ########
    ############################################

    ## Make sure settings.css.lens is rendered as CSS
    AddType text/css .lens

    ## UTF-8 encoding for everything
    AddDefaultCharset utf-8

    DirectoryIndex index.php index.html

    ## Enable gzip.
    ## Highly recommended as it will increase speed for
    ## both the console and your published site.

    AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/json application/javascript application/x-javascript

    ## END gzip

    ## Rewrite Rules (Pretty URLs)
    ## These rules remove index.php/ from your published site links
    ## and also speed up the serving of cached images.

    RewriteEngine On
    RewriteBase /

    # Pass images requests back to PHP if they do not exist
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_URI} /Koken_Installer/koken/storage/cache/images(/(([0-9]{3}/[0-9]{3})|custom)/.*)$
    RewriteRule . /Koken_Installer/koken/i.php?path=%1 [L]

    # Catch root requests (pjax)
    RewriteCond %{REQUEST_URI} ^/?$
    RewriteCond %{QUERY_STRING} _pjax=
    RewriteCond %{DOCUMENT_ROOT}/Koken_Installer/koken/storage/cache/site/index/cache.phtml -f
    RewriteRule .* /Koken_Installer/koken/storage/cache/site/index/cache.phtml [L]

    # Catch root requests
    RewriteCond %{REQUEST_URI} ^/?$
    RewriteCond %{QUERY_STRING} !_pjax=
    RewriteCond %{DOCUMENT_ROOT}/Koken_Installer/koken/storage/cache/site/index/cache.html -f
    RewriteRule .* /Koken_Installer/koken/storage/cache/site/index/cache.html [L]

    # Catch site requests (pjax)
    RewriteCond %{QUERY_STRING} _pjax=
    RewriteCond %{DOCUMENT_ROOT}/Koken_Installer/koken/storage/cache/site%{REQUEST_URI}cache.phtml -f
    RewriteRule . /Koken_Installer/koken/storage/cache/site%{REQUEST_URI}cache.phtml [L]

    # Catch site requests
    RewriteCond %{QUERY_STRING} !_pjax=
    RewriteCond %{HTTP_COOKIE} !share_to_tumblr=
    RewriteCond %{DOCUMENT_ROOT}/Koken_Installer/koken/storage/cache/site%{REQUEST_URI}cache.html -f
    RewriteRule . /Koken_Installer/koken/storage/cache/site%{REQUEST_URI}cache.html [L]

    # CSS / RSS caching
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{DOCUMENT_ROOT}/Koken_Installer/koken/storage/cache/site%{REQUEST_URI} -f
    RewriteRule . /Koken_Installer/koken/storage/cache/site%{REQUEST_URI} [L]

    # Rewrite any old URLs that still use index.php?/this/that syntax
    RewriteCond %{QUERY_STRING} ^/(.*)
    RewriteRule index.php %1? [R,L]

    # Rewrite any old URLs that still use index.php/this/that syntax
    RewriteRule index.php/(.*)$ $1 [R,L]

    # Catch root requests
    RewriteRule ^$ /Koken_Installer/koken/app/site/site.php?url=/&base_folder=/ [L,QSA]

    # Do not enable path rewriting for files that exist
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !favicon.ico

    # For requests that are not actual files
    # rewrite to index.php?/PATH
    RewriteRule ^(.*)$ /Koken_Installer/koken/app/site/site.php?url=/$1&base_folder=/ [L,QSA]

    ## This ruleset ensures core Koken JS and CSS are cached
    ## for 1 year. These files are always timestamped in new releases,
    ## so it is safe to cache them for long periods of time.

    ExpiresActive On
    # Set default to 0 so .php/API requests are not cached
    ExpiresDefault A0

    # Do not cache MP4s, as Chrome and others tend to fail on first playback


    ExpiresActive Off
    Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
    Header set Pragma "no-cache"


    ExpiresByType application/javascript "access plus 1 year"
    ExpiresByType application/x-javascript "access plus 1 year"
    ExpiresByType text/css "access plus 1 year"

    ## End Rewrite Rules

    ############################################
    ####### END KOKEN .htaccess rules ########
    ############################################

    #905474
    alou38
    Participant
    Initié WordPress
    16 contributions

    Thème Invictus Photographer
    Vous utilisez WordPress Version 3.5.2.
    Nextgen Galerie Version 1.9.13

    #905475
    Anonyme
    Invité
    Maître WordPress
    34072 contributions

    Ce message a été supprimé suite à la demande de l’auteur.

    #905476
    alou38
    Participant
    Initié WordPress
    16 contributions

    Merci pour l’info.

4 sujets de 1 à 4 (sur un total de 4)
  • Vous devez être connecté pour répondre à ce sujet.