| 
 Problème avec le .htaccess  - Kortix -  24-07-2013
 
 
 Bonjour,
 
 Depuis l'installation du forum fait par mybb, mon .htaccess ne fonctionne pas du tous.
 
 Il ne veut vraiment pas fonctionner.
 Que dois-je faire ?
 
 Cordialement,
 Kortix.
 
 
 RE: Problème avec le .htaccess  - Nitrome -  24-07-2013
 
 Voilà ce que j'ai dans mon .htaccess si ça peut t'aider...
 
 
 
Code :
 Options -MultiViews +FollowSymlinks -Indexes
 #
 # If mod_security is enabled, attempt to disable it.
 # - Note, this will work on the majority of hosts but on
 #   MediaTemple, it is known to cause random Internal Server
 #   errors. For MediaTemple, please remove the block below
 #
 <IfModule mod_security.c>
 # Turn off mod_security filtering.
 SecFilterEngine Off
 
 # The below probably isn't needed, but better safe than sorry.
 SecFilterScanPOST Off
 </IfModule>
 
 #
 # MyBB "search engine friendly" URL rewrites
 # - Note, for these to work with MyBB please make sure you have
 #   the setting enabled in the Admin CP and you have this file
 #   named .htaccess
 #
 <IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
 RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]
 
 RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
 RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
 RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
 RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
 RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
 RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
 RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]
 
 RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]
 
 RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]
 
 RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]
 
 RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
 RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
 RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
 RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
 RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]
 
 RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]
 
 <IfModule mod_env.c>
 SetEnv SEO_SUPPORT 1
 </IfModule>
 </IfModule>
 
 #
 # If Apache is compiled with built in mod_deflade/GZIP support
 # then GZIP Javascript, CSS, HTML and XML so they're sent to
 # the client faster.
 #
 <IfModule mod_deflate.c>
 AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
 </IfModule>
 
 
 RE: Problème avec le .htaccess  - exdiogene -  24-07-2013
 
 Les fichiers .htaccess sont actifs pour tous les sous-répertoires, est-ce que le votre est bien dans le sous-domaine forum.pokenever.com pour que les chemins d'accès complets soient corrects?
 
 
 RE: Problème avec le .htaccess  - Kortix -  24-07-2013
 
 En faite le sous domaine se fait selon ou est le dossier mon FTP est former comme ceci:
 
 /web/ = dossier root et se qui donne dans ce dossier /web/ ceci :
 
 /forum/contenue du forum/
 /mail/accès à la webmail/
 /www/contenue du site/
 
 Voilà.
 A croire que le .htaccess ne veut pas fonctionner.
 
 
 
 RE: Problème avec le .htaccess  - exdiogene -  24-07-2013
 
 Quel est le contenu du fichier .htaccess et qu'est-ce qui ne fonctionne pas?
 
 
 RE: Problème avec le .htaccess  - Kortix -  24-07-2013
 
 le voici:
 
 
 
Code :
 Options -MultiViews +FollowSymlinks -Indexes
 #
 # If mod_security is enabled, attempt to disable it.
 # - Note, this will work on the majority of hosts but on
 #   MediaTemple, it is known to cause random Internal Server
 #   errors. For MediaTemple, please remove the block below
 #
 <IfModule mod_security.c>
 # Turn off mod_security filtering.
 SecFilterEngine Off
 
 # The below probably isn't needed, but better safe than sorry.
 SecFilterScanPOST Off
 </IfModule>
 
 #
 # MyBB "search engine friendly" URL rewrites
 # - Note, for these to work with MyBB please make sure you have
 #   the setting enabled in the Admin CP and you have this file
 #   named .htaccess
 #
 <IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
 RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]
 
 RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
 RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
 RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
 RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
 RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
 RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
 RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]
 
 RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]
 
 RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]
 
 RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]
 
 RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
 RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
 RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
 RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
 RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]
 
 RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]
 
 <IfModule mod_env.c>
 SetEnv SEO_SUPPORT 1
 </IfModule>
 </IfModule>
 
 #
 # If Apache is compiled with built in mod_deflade/GZIP support
 # then GZIP Javascript, CSS, HTML and XML so they're sent to
 # the client faster.
 #
 <IfModule mod_deflate.c>
 AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
 </IfModule>
 
 La réécriture des urls du forum ne fonctionne pas.
 
  (24-07-2013, 12:38)Nitrome a écrit :  Voilà ce que j'ai dans mon .htaccess si ça peut t'aider...
 
 
Code :
 Options -MultiViews +FollowSymlinks -Indexes
 #
 # If mod_security is enabled, attempt to disable it.
 # - Note, this will work on the majority of hosts but on
 #   MediaTemple, it is known to cause random Internal Server
 #   errors. For MediaTemple, please remove the block below
 #
 <IfModule mod_security.c>
 # Turn off mod_security filtering.
 SecFilterEngine Off
 
 # The below probably isn't needed, but better safe than sorry.
 SecFilterScanPOST Off
 </IfModule>
 
 #
 # MyBB "search engine friendly" URL rewrites
 # - Note, for these to work with MyBB please make sure you have
 #   the setting enabled in the Admin CP and you have this file
 #   named .htaccess
 #
 <IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
 RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]
 
 RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
 RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
 RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
 RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
 RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
 RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
 RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]
 
 RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]
 
 RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]
 
 RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]
 
 RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
 RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
 RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
 RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
 RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]
 
 RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]
 
 <IfModule mod_env.c>
 SetEnv SEO_SUPPORT 1
 </IfModule>
 </IfModule>
 
 #
 # If Apache is compiled with built in mod_deflade/GZIP support
 # then GZIP Javascript, CSS, HTML and XML so they're sent to
 # the client faster.
 #
 <IfModule mod_deflate.c>
 AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
 </IfModule>
 Je n'avais pas vu votre réponse.
 Celui-ci non plus ne marche pas.
 
 
 RE: Problème avec le .htaccess  - exdiogene -  24-07-2013
 
 Le fichier se nomme bien ".htaccess" et non pas ".htaccess.txt", n'est-ce pas?
 
 De plus, votre hébergeur permet bien l'utilisation de fichier ".htaccess"?
 
 
 RE: Problème avec le .htaccess  - Kortix -  24-07-2013
 
 bien sûr qu'il est en .htaccess
 Mon hébergeur autorise les .htaccess sinon j'airai pas pu faire mon site sans le .htaccess.
 
 
 RE: Problème avec le .htaccess  - spyto -  24-07-2013
 
 Bien sûr qu'on peut faire un site sans nécessairement un fichier .htaccess !
 
 La question est : l’hébergeur autorise-r-il l'URL Rewriting ?
 
 
 RE: Problème avec le .htaccess  - exdiogene -  24-07-2013
 
 Dans le Panneau d'Administration, la sélection pour :
 Configuration -> Options Serveur et Optimisation  -> Activer le moteur de recherche d'URLs conviviales ?
 
 Est-elle "Détection Automatique" ou "Activer"?
 
 
 RE: Problème avec le .htaccess  - Kortix -  24-07-2013
 
 Elle est Détection Automatique
 Et oui spyto elle son autoriser.
 
 
 RE: Problème avec le .htaccess  - exdiogene -  24-07-2013
 
 Le site n'est plus accessible :
 
 Allo-Heberge a écrit :"L'hebergement de ce site a expiré ou a été suspendu" 
 
 
 |