installation et migration vers serveur local V4.0 [Réglé]
Restauration BDD impossible
Support Général
MFAR Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre MFAR
- Inscrit le : 17/12/2010
- Site internet
- Groupes :
Suite à un changement de Disque dur sur mon PC, j'ai réinstallé mon serveur Wamp et refait l'installation de PHPBoost V4.0 ; J'ai sauvegardé la BDD sur le site de l'hébergeur NUXIT et j'ai transféré tous les fichiers sur mon PC .
Lorsque je restaure en local la BDD que je viens de sauvegarder et qui se trouve dans le dossier "cache/backup" la procédure me notifie de sa restauration avec succès.
Cependant, après vérification, la BDD de l'installation est toujours présente et les tables n'ont pas été mises à jour ...
Après plusieurs tentatives infructueuses, j'ai tenté d'importer le backup directement avec l'outil PHPmyAdmin de Wamp qui refuse l'importation, en raison de la taille de la BDD qui fait 57 044 Ko.
Merci d'avance de votre aide.
MFAR
janus57 Membre non connecté
-
Booster Fusée
- Voir le profil du membre janus57
- Inscrit le : 07/12/2007
- Groupes :
-
Equipe Assistance
augmente la limite d'upload dans le php.ini au niveau de PHP.
Cordialement, janus57
MFAR Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre MFAR
- Inscrit le : 17/12/2010
- Site internet
- Groupes :
Après avoir modifié les différents paramètres suivants, sans résultat, je vous donne ci-dessous les valeurs par défaut du serveur PHP de Wamp :
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 128M
-------------------------------------------------------------
File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
; http://php.net/file-uploads
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
upload_tmp_dir = "c:/wamp/tmp"
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 2M
----------------------------------------------------------------------------
; Maximum size of POST data that PHP will accept.
; http://php.net/post-max-size
post_max_size = 8M
------------------------------------------------------------------------------
D'avance je vous remercie de vos conseils pour faire accepter la BDD à mon serveur
Cordialement
MFAR
janus57 Membre non connecté
-
Booster Fusée
- Voir le profil du membre janus57
- Inscrit le : 07/12/2007
- Groupes :
-
Equipe Assistance
si vous êtes bien en local vous pouvez utilisez ces paramètres sans trop de problèmes :
Code :
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 128M
-------------------------------------------------------------
File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
; http://php.net/file-uploads
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
upload_tmp_dir = "c:/wamp/tmp"
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 512M
----------------------------------------------------------------------------
; Maximum size of POST data that PHP will accept.
; http://php.net/post-max-size
post_max_size = 512M
------------------------------------------------------------------------------
Après si votre BDD dépasse les 512Mo faudra commencer à s'inquiéter et faire le ménage.
Cordialement, janus57
MFAR Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre MFAR
- Inscrit le : 17/12/2010
- Site internet
- Groupes :
La restauration via le site n'a pas abouti après modif des paramètres de PHP.
J'ai tenté de restaurer via PHPMyAdmin qui a démarré l'importation.Malheureusement la procédure n' est pas allée au bout. L'importation s'est fait partiellement et à présent, seule la page d'ouverture (news) est importée avec des erreurs de caractères (é est devenu ? etc...).
Help !
Cordialement
MFAR
janus57 Membre non connecté
-
Booster Fusée
- Voir le profil du membre janus57
- Inscrit le : 07/12/2007
- Groupes :
-
Equipe Assistance
faut pas mélanger les export phpboost et phpmyadmin, j’entends par là qu'on peu pas restaurer un fichier de sauvegarde phpboost via phpmyadmin et inversement.
Pour le php.ini vous avez modifié le bon ? que donne phpinfo ?
Normalement là la limite des fichier uploadable a été passé à 512Mo donc même sur phpboost (bien penser à arrêter apache, faire la modif et le relancer).
Cordialement, janus57
MFAR Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre MFAR
- Inscrit le : 17/12/2010
- Site internet
- Groupes :
Je viens de recommencer l'installation et télécharger par FTP l'ensemble des dossiers et fichiers du site hébergé chez NUXIT.
J'ai bien modifié les paramètres du fichier PHP.ini (version 5.3.0) selon vos conseils, mais les résultats restent identiques. La restauration de la base de donnée ne se fait pas, bien que la procédure notifie le succès de la restauration !
Cordialement
MFAR
ElenWii Membre non connecté
-
Administrateur
- Voir le profil du membre ElenWii
- Inscrit le : 14/08/2009
- Site internet
- Groupes :
-
Equipe Graphique
MFAR Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre MFAR
- Inscrit le : 17/12/2010
- Site internet
- Groupes :
Erreurs archivées
Afficher toutes les erreurs
Description Date
Inconnue : 256
File extension ".." not supported.
[0] /kernel/framework/io/optimization/cache/CSSCacheManager.class.php:48 - CSSFileOptimizer->add_file(string)
[1] /kernel/framework/phpboost/environment/AbstractDisplayGraphicalEnvironment.class.php:63 - CSSCacheManager->set_files(array)
[2] /kernel/framework/phpboost/environment/AbstractDisplayGraphicalEnvironment.class.php:53 - AbstractDisplayGraphicalEnvironment->get_css_files_always_displayed_html_code()
[3] /kernel/framework/phpboost/environment/SiteDisplayGraphicalEnvironment.class.php:88 - AbstractDisplayGraphicalEnvironment->get_modules_css_files_html_code()
[4] /kernel/framework/core/environment/Environment.class.php:546 - SiteDisplayGraphicalEnvironment->display_header()
[5] /kernel/header.php:55 - Environment::display_header()
[6] /media/media.php:39 - require_once(string)
Inconnue : 256
File extension ".." not supported.
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:1002
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:39 - StatsHomePageExtensionPoint->get_view()
[1] /stats/stats.php:36 - StatsHomePageExtensionPoint->get_home_page()
Inconnue : 8
Undefined index: last_update
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:1001
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:39 - StatsHomePageExtensionPoint->get_view()
[1] /stats/stats.php:36 - StatsHomePageExtensionPoint->get_home_page()
Inconnue : 8
Undefined index: trend
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:1000
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:39 - StatsHomePageExtensionPoint->get_view()
[1] /stats/stats.php:36 - StatsHomePageExtensionPoint->get_home_page()
Inconnue : 8
Undefined index: average_visit
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:999
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:39 - StatsHomePageExtensionPoint->get_view()
[1] /stats/stats.php:36 - StatsHomePageExtensionPoint->get_home_page()
Inconnue : 8
Undefined index: total_visit
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:80
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:39 - StatsHomePageExtensionPoint->get_view()
[1] /stats/stats.php:36 - StatsHomePageExtensionPoint->get_home_page()
Inconnue : 8
Undefined index: stat_lang
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:79
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:39 - StatsHomePageExtensionPoint->get_view()
[1] /stats/stats.php:36 - StatsHomePageExtensionPoint->get_home_page()
Inconnue : 8
Undefined index: os
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:78
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:39 - StatsHomePageExtensionPoint->get_view()
[1] /stats/stats.php:36 - StatsHomePageExtensionPoint->get_home_page()
Inconnue : 8
Undefined index: browser_s
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:77
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:39 - StatsHomePageExtensionPoint->get_view()
[1] /stats/stats.php:36 - StatsHomePageExtensionPoint->get_home_page()
Inconnue : 8
Undefined index: keyword_s
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:76
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:39 - StatsHomePageExtensionPoint->get_view()
[1] /stats/stats.php:36 - StatsHomePageExtensionPoint->get_home_page()
Inconnue : 8
Undefined index: referer_s
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:75
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:39 - StatsHomePageExtensionPoint->get_view()
[1] /stats/stats.php:36 - StatsHomePageExtensionPoint->get_home_page()
Inconnue : 8
Undefined index: page_s
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:71
[0] /stats/phpboost/StatsHomePageExtensionPoint.class.php:39 - StatsHomePageExtensionPoint->get_view()
[1] /stats/stats.php:36 - StatsHomePageExtensionPoint->get_home_page()
Inconnue : 8
Undefined index: site
[0] /stats/stats_begin.php:49
[0] /stats/stats.php:29 - require_once(string)
Inconnue : 8
Undefined index: referer_s
[0] /stats/stats_begin.php:46
[0] /stats/stats.php:29 - require_once(string)
Inconnue : 8
Undefined index: site
[0] /database/admin_database.php:289
[0] /database/admin_database.php:289 - filemtime(string)
Inconnue : 2
filemtime() [function.filemtime]: stat failed for ../cache/backup/backup_armarmotte_13-02-26-18-16-20.sql
[0] /database/admin_database.php:289
===============================================================================================================
Ci-dessous les derniers enregistrements de error log Apache :
[Sun Nov 09 21:18:26 2014] [notice] Apache/2.2.11 (Win32) PHP/5.3.0 configured -- resuming normal operations
[Sun Nov 09 21:18:26 2014] [notice] Server built: Dec 10 2008 00:10:06
[Sun Nov 09 21:18:26 2014] [notice] Parent: Created child process 752
[Sun Nov 09 21:18:26 2014] [notice] Child 752: Child process is running
[Sun Nov 09 21:18:26 2014] [notice] Child 752: Acquired the start mutex.
[Sun Nov 09 21:18:26 2014] [notice] Child 752: Starting 64 worker threads.
[Sun Nov 09 21:18:26 2014] [notice] Child 752: Starting thread to listen on port 80.
[Sun Nov 09 21:18:45 2014] [alert] [client 127.0.0.1] C:/wamp/www/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sun Nov 09 21:24:01 2014] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/templates/base/modules, referer: http://localhost/cache/css/css-cache-modules-base.css
[Sun Nov 09 21:29:42 2014] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/templates/base/modules, referer: http://localhost/cache/css/css-cache-modules-base.css
[Sun Nov 09 21:30:26 2014] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/templates/base/modules, referer: http://localhost/cache/css/css-cache-modules-base.css
[Sun Nov 09 21:32:12 2014] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/templates/base/modules, referer: http://localhost/cache/css/css-cache-modules-base.css
[Sun Nov 09 21:43:12 2014] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/templates/base/modules, referer: http://localhost/cache/css/css-cache-modules-base.css
[Sun Nov 09 21:57:31 2014] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/templates/base/modules, referer: http://localhost/cache/css/css-cache-modules-base.css
============================================================================================================
Cordialement
janus57 Membre non connecté
-
Booster Fusée
- Voir le profil du membre janus57
- Inscrit le : 07/12/2007
- Groupes :
-
Equipe Assistance
restauration fait via quoi phpboost ou phpmyadmin ?
Je conseil de faire la sauvegarde SQL via phpMyAdmin et de la restaurer également via phpMyAdmin en local je suis sûr à 100% que cela fonctionne.
Cordialement, janus57
MFAR Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre MFAR
- Inscrit le : 17/12/2010
- Site internet
- Groupes :
J'ai fait la restauration via phpboost.
Comment je fais la sauvegarde SQL via phpMyAdmin de la BDD chez NUXIT ?
Cordialement
MFAR
janus57 Membre non connecté
-
Booster Fusée
- Voir le profil du membre janus57
- Inscrit le : 07/12/2007
- Groupes :
-
Equipe Assistance
si il ont un phpMyAdmin "normal" sans modification majeur, on se place dans la BDD et on l'exporte tout simplement.
Au passage une optimisation avant l'export et c'est super (aussi bien pour la sauvegarde que votre site en ligne).
Cordialement, janus57
MFAR Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre MFAR
- Inscrit le : 17/12/2010
- Site internet
- Groupes :
J'ai récupéré le SQL chez Nuxit et restauré en local avec succès. Les tables sont bien présentes avec le bon contenu.
A présent le serveur local me dit :
-----------------------------------------------------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--------------------------------------------------------------------------
Ci-dessous l'error log d'Apache :
[Mon Nov 10 00:10:39 2014] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Nov 10 00:10:39 2014] [notice] Child 752: Exit event signaled. Child process is ending.
[Mon Nov 10 00:10:40 2014] [notice] Child 752: Released the start mutex
[Mon Nov 10 00:10:41 2014] [notice] Child 752: All worker threads have exited.
[Mon Nov 10 00:10:41 2014] [notice] Child 752: Child process is exiting
[Mon Nov 10 00:10:42 2014] [notice] Parent: Child process exited successfully.
[Mon Nov 10 00:10:47 2014] [notice] Apache/2.2.11 (Win32) PHP/5.3.0 configured -- resuming normal operations
[Mon Nov 10 00:10:47 2014] [notice] Server built: Dec 10 2008 00:10:06
[Mon Nov 10 00:10:47 2014] [notice] Parent: Created child process 1092
[Mon Nov 10 00:10:47 2014] [notice] Child 1092: Child process is running
[Mon Nov 10 00:10:47 2014] [notice] Child 1092: Acquired the start mutex.
[Mon Nov 10 00:10:47 2014] [notice] Child 1092: Starting 64 worker threads.
[Mon Nov 10 00:10:47 2014] [notice] Child 1092: Starting thread to listen on port 80.
[Mon Nov 10 00:10:56 2014] [alert] [client 127.0.0.1] C:/wamp/www/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
----------------------------------------------------------------------------------
et ci-dessous acces log d'Apache :
127.0.0.1 - - [09/Nov/2014:23:54:43 +0100] "GET /phpmyadmin/navigation.php?token=6ddac5a371b7f0b110749eed5e0e5866&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 3948
127.0.0.1 - - [09/Nov/2014:23:54:43 +0100] "GET /phpmyadmin/main.php?token=6ddac5a371b7f0b110749eed5e0e5866&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 48432
127.0.0.1 - - [09/Nov/2014:23:54:51 +0100] "GET /phpmyadmin/navigation.php?db=armarmotte&token=6ddac5a371b7f0b110749eed5e0e5866&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 94390
127.0.0.1 - - [09/Nov/2014:23:54:51 +0100] "GET /phpmyadmin/db_structure.php?db=armarmotte&token=6ddac5a371b7f0b110749eed5e0e5866&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 399979
127.0.0.1 - - [09/Nov/2014:23:56:25 +0100] "GET /phpmyadmin/navigation.php?token=6ddac5a371b7f0b110749eed5e0e5866&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 3948
127.0.0.1 - - [09/Nov/2014:23:56:25 +0100] "GET /phpmyadmin/main.php?token=6ddac5a371b7f0b110749eed5e0e5866&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 48432
127.0.0.1 - - [09/Nov/2014:23:56:33 +0100] "GET /phpmyadmin/db_structure.php?db=armarmotte&token=6ddac5a371b7f0b110749eed5e0e5866&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 399979
127.0.0.1 - - [09/Nov/2014:23:56:33 +0100] "GET /phpmyadmin/navigation.php?db=armarmotte&token=6ddac5a371b7f0b110749eed5e0e5866&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 94390
127.0.0.1 - - [09/Nov/2014:23:56:48 +0100] "GET /phpmyadmin/sql.php?db=armarmotte&token=6ddac5a371b7f0b110749eed5e0e5866&goto=db_structure.php&table=phpboost_articles&pos=0&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 24586
127.0.0.1 - - [09/Nov/2014:23:56:53 +0100] "GET /phpmyadmin/sql.php?db=armarmotte&table=phpboost_articles&token=6ddac5a371b7f0b110749eed5e0e5866&pos=0&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 24586
127.0.0.1 - - [09/Nov/2014:23:57:14 +0100] "GET /phpmyadmin/view_create.php?db=armarmotte&table=phpboost_articles&printview=1&sql_query=SELECT+%2A+FROM+%60phpboost_articles%60&token=6ddac5a371b7f0b110749eed5e0e5866&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 11632
127.0.0.1 - - [09/Nov/2014:23:57:20 +0100] "POST /phpmyadmin/view_create.php HTTP/1.1" 200 13193
127.0.0.1 - - [09/Nov/2014:23:57:32 +0100] "GET /phpmyadmin/view_create.php?db=armarmotte&table=phpboost_articles&printview=1&sql_query=SELECT+%2A+FROM+%60phpboost_articles%60&token=6ddac5a371b7f0b110749eed5e0e5866&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 11632
127.0.0.1 - - [09/Nov/2014:23:57:34 +0100] "GET /phpmyadmin/sql.php?db=armarmotte&table=phpboost_articles&token=6ddac5a371b7f0b110749eed5e0e5866&pos=0&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 24586
127.0.0.1 - - [09/Nov/2014:23:57:43 +0100] "GET /phpmyadmin/sql.php?db=armarmotte&table=phpboost_articles&printview=1&sql_query=SELECT+%2A+FROM+%60phpboost_articles%60&token=6ddac5a371b7f0b110749eed5e0e5866&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 3425
127.0.0.1 - - [09/Nov/2014:23:58:09 +0100] "GET /phpmyadmin/sql.php?db=armarmotte&token=6ddac5a371b7f0b110749eed5e0e5866&goto=db_structure.php&table=phpboost_articles&pos=0&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 24586
127.0.0.1 - - [09/Nov/2014:23:58:16 +0100] "GET /phpmyadmin/db_structure.php?db=armarmotte&token=6ddac5a371b7f0b110749eed5e0e5866&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 399979
127.0.0.1 - - [09/Nov/2014:23:58:17 +0100] "GET /phpmyadmin/navigation.php?server=1&token=6ddac5a371b7f0b110749eed5e0e5866&db=armarmotte&table=&lang=fr-utf-8&collation_connection=utf8_general_ci HTTP/1.1" 200 94390
127.0.0.1 - - [09/Nov/2014:23:58:18 +0100] "GET /phpmyadmin/phpmyadmin.css.php?token=bf710f94563bc19700996ca5e055df40&js_frame=left&nocache=3908045706 HTTP/1.1" 200 3958
127.0.0.1 - - [09/Nov/2014:23:58:34 +0100] "GET /phpmyadmin/sql.php?db=armarmotte&token=6ddac5a371b7f0b110749eed5e0e5866&goto=db_structure.php&table=phpboost_site1_articles&pos=0&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 68508
127.0.0.1 - - [09/Nov/2014:23:58:34 +0100] "GET /phpmyadmin/phpmyadmin.css.php?token=bf710f94563bc19700996ca5e055df40&js_frame=right&nocache=3908045706 HTTP/1.1" 200 21389
127.0.0.1 - - [09/Nov/2014:23:58:54 +0100] "GET /phpmyadmin/db_structure.php?db=armarmotte&token=6ddac5a371b7f0b110749eed5e0e5866&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc&phpMyAdmin=k63l0t4lot1ij18sv704blnc4gvhi8qc HTTP/1.1" 200 366123
127.0.0.1 - - [10/Nov/2014:00:04:35 +0100] "GET / HTTP/1.1" 500 535
127.0.0.1 - - [10/Nov/2014:00:10:56 +0100] "GET / HTTP/1.1" 500 535
--------------------------------------------------------------------------------------------------------------------
Cordialement
MFAR
janus57 Membre non connecté
-
Booster Fusée
- Voir le profil du membre janus57
- Inscrit le : 07/12/2007
- Groupes :
-
Equipe Assistance
que contient le fichier C:/wamp/www/.htaccess ?
Cordialement, janus57
MFAR Membre non connecté
Booster Fuzil
-
Booster Fuzil
- Voir le profil du membre MFAR
- Inscrit le : 17/12/2010
- Site internet
- Groupes :
# Rewrite rules #
Options +FollowSymlinks
RewriteEngine on
# Core #
RewriteRule ^user/pm-?([0-9]+)-?([0-9]{0,})-?([0-9]{0,})-?([0-9]{0,})-?([a-z_]{0,}).php$ /user/pm.php?pm=$1&id=$2&p=$3"e=$4 [L,QSA]
RewriteRule ^install/([w/_-]*)$ /install/index.php?url=/$1 [L,QSA]
RewriteRule ^update/([w/_-]*)$ /update/index.php?url=/$1 [L,QSA]
RewriteRule ^admin/config/([w/_-]*)$ /admin/config/index.php?url=/$1 [L,QSA]
RewriteRule ^admin/cache/([w/_-]*)$ /admin/cache/index.php?url=/$1 [L,QSA]
RewriteRule ^admin/errors/([w/_-]*)$ /admin/errors/index.php?url=/$1 [L,QSA]
RewriteRule ^admin/themes/([w/_-]*)$ /admin/themes/index.php?url=/$1 [L,QSA]
RewriteRule ^admin/langs/([w/_-]*)$ /admin/langs/index.php?url=/$1 [L,QSA]
RewriteRule ^admin/modules/([w/_-]*)$ /admin/modules/index.php?url=/$1 [L,QSA]
RewriteRule ^admin/member/([w/_-]*)$ /admin/member/index.php?url=/$1 [L,QSA]
RewriteRule ^admin/content/([w/_-]*)$ /admin/content/index.php?url=/$1 [L,QSA]
RewriteRule ^syndication/([w/_-]*)$ /syndication/index.php?url=/$1 [L,QSA]
RewriteRule ^user/([w/-_]*)$ /user/index.php?url=/$1 [L,QSA]
# Modules rules #
# articles #
RewriteRule ^articles/articles-([0-9]+)-?([0-9]*)-?([0-9]*)(+?[^.]*).php$ /articles/articles.php?cat=$1&id=$2&p=$3 [L,QSA]
# calendar #
RewriteRule ^(.*)calendar/calendar-([0-9]+)-([0-9]+)-([0-9]+)-?([0-9]*).php$ /calendar/calendar.php?d=$2&m=$3&y=$4&e=$5 [L,QSA]
# contact #
RewriteRule ^contact/([w/_-]*)$ /contact/index.php?url=/$1 [L,QSA]
# gallery #
RewriteRule ^(.*)gallery/gallery-([0-9]+)-?([0-9]*)-?([0-9]*)(+?[^.]*).php$ /gallery/gallery.php?cat=$2&id=$3&p=$4 [L,QSA]
# media #
RewriteRule ^media/media-([0-9]+)-?([0-9]*)-?([0-9]*)(+?[^.]*).php$ /media/media.php?id=$1&cat=$2&p=$3 [L,QSA]
# news #
RewriteRule ^news/news-([0-9]+)-?([0-9]*)-?([0-9]*)(+?[^.]*).php$ /news/news.php?cat=$1&id=$2&p=$3 [L,QSA]
# newsletter #
RewriteRule ^newsletter/([w/_-]*)$ /newsletter/index.php?url=/$1 [L,QSA]
# online #
RewriteRule ^online/([w/_-]*)$ /online/index.php?url=/$1 [L,QSA]
# pages #
RewriteRule ^pages/([a-z0-9-]+)$ /pages/pages.php?title=$1
# poll #
RewriteRule ^poll/poll-([0-9]+)-?([0-9]*)-?([0-9]*).php$ /poll/poll.php?id=$1&r=$2&p=$3 [L,QSA]
# stats #
RewriteRule ^stats/stats-([a-z]+).php$ /stats/stats.php?$1=1 [L,QSA]
# web #
RewriteRule ^(.*)web/web-([0-9]+)-?([0-9]*)-?([0-9]*)(+?[^.]*).php$ /web/web.php?cat=$2&id=$3&p=$4 [L,QSA]
# sitemap #
RewriteRule ^sitemap/([w/_-]*)$ /sitemap/index.php?url=/$1 [L,QSA]
# Bandwith protection #
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.ar-marmotte.fr
RewriteRule .*upload/.*$ - [F]
# Avoid Hacking Attempt #
RewriteCond %{HTTP_USER_AGENT} libwww [NC]
RewriteRule .* - [F,L]
# Error pages #
ErrorDocument 403 /user/error/403/
ErrorDocument 404 /user/error/404/
# Hide directory listings #
Options -Indexes
Cordialement
MFAR
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie