| |
|
| :: |
| Auteur |
Message |
micka456
Inscrit le: 11 Mar 2008 Messages: 7
|
Posté le: Mar Mar 11, 2008 10:30 pm Sujet du message: prob de redirection merci |
|
|
Salut
J'ai apparemment effectuer toute l'installation correctement.
Mais j'ai un probleme ma redirection est sous forme : -http://www.buggy-cross.fr/phpBB3/presentation-des-membres-f14.html
alors que je voudrais que sa soit sous la forme :
-http://www.buggy-cross.fr/forum/presentation-des-membres-f14.html
car j'avais renommer le dossier phpbb3 en forum lors de l'installion de phpbb3 sinon j'obtien une erreur 404
je trouve pas quel fichier a modifer et quel ligne
voila merci  |
|
|
| Revenir en haut de page |
|
 |
|
 |
dcz Administrateur - Site Admin

Inscrit le: 28 Avr 2006 Messages: 14814
|
|
| Revenir en haut de page |
|
 |
micka456
Inscrit le: 11 Mar 2008 Messages: 7
|
Posté le: Mer Mar 12, 2008 6:59 pm Sujet du message: Re: prob de redirection merci |
|
|
merci pour ton aise mais j'ai changer les chemins phpbb3 dans le .htacess en forum mais rien n'y fait c pareil.
concernant le config.php il est pratiquement vide :
| Citation: | <?php
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'mysql';
$dbhost = 'mysql5-26';
$dbport = '';
$dbname = 'buggycrosss';
$dbuser = 'buggycrosss';
$dbpasswd = '*****';
$table_prefix = 'phpbb_';
$acm_type = 'file';
$load_extensions = '';
@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
?> |
si tu peut précisez un peu sa serait sympa car suis en galere total |
|
|
| Revenir en haut de page |
|
 |
micka456
Inscrit le: 11 Mar 2008 Messages: 7
|
Posté le: Mer Mar 12, 2008 7:04 pm Sujet du message: Re: prob de redirection merci |
|
|
c bon j'ai trouver il fallait alland dans le panel et changer :
| Citation: | Chemin du script:
Chemin d’accès où sont situés les fichiers phpBB depuis la racine de votre site. exemple: /phpBB3 |
par contre quand je clique sur un forum j'obtient une erreur 404 :
| Citation: | Not Found
The requested URL /forum/les-rencontres-f20.html was not found on this server |
|
|
|
| Revenir en haut de page |
|
 |
dcz Administrateur - Site Admin

Inscrit le: 28 Avr 2006 Messages: 14814
|
|
| Revenir en haut de page |
|
 |
micka456
Inscrit le: 11 Mar 2008 Messages: 7
|
Posté le: Mer Mar 12, 2008 10:42 pm Sujet du message: Re: prob de redirection merci |
|
|
désolé de t'embeter mais j'ai rennomer tout les fichier htacces de mon ftp en ne laissant que celui de phpbbseo et c'est tjr pareil voici le code | Citation: | # Lines That should already be in your .htacess
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
# Lines That should already be in your .htacess
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
# You may need to un-comment the following line
# Options +FollowSymlinks
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
# REWRITE BASE
RewriteBase /
# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION
#####################################################
# PHPBB SEO REWRITE RULES - ADVANCED
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. 'forum' REQUIRES TO BE SET AS FORUM INDEX
# RewriteRule ^forum/forum\.html$ /forum/index.php [QSA,L,NC]
# FORUM
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^forum/annonces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^forum/[a-z0-9_-]*/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# PROFILES SIMPLE
RewriteRule ^forum/membre([0-9]+)\.html$ /forum/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# USER MESSAGES SIMPLE
RewriteRule ^forum/messages([0-9]+)(-([0-9]+))?\.html$ /forum/search.php?author_id=$1&sr=posts&start=$3 [QSA,L,NC]
# GROUPS SIMPLE
RewriteRule ^forum/groupe([0-9]+)(-([0-9]+))?\.html$ /forum/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
# THE TEAM
RewriteRule ^forum/equipe\.html$ /forum/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
# FORUM WITHOUT ID & DELIM
# THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^forum/[a-z0-9_-]+(-([0-9]+))?\.html$ /forum/viewforum.php?start=$2 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
|
c'est gentil de m'aider |
|
|
| Revenir en haut de page |
|
 |
dcz Administrateur - Site Admin

Inscrit le: 28 Avr 2006 Messages: 14814
|
|
| Revenir en haut de page |
|
 |
micka456
Inscrit le: 11 Mar 2008 Messages: 7
|
Posté le: Jeu Mar 13, 2008 7:09 pm Sujet du message: Re: prob de redirection merci |
|
|
Je suis heberger chez ovh, le mod rewrite doit bien marcher car j'ai activer l'url rewritting sur mon site joomla et ca marche trés bien
http://www.buggy-cross.fr
ca c le code que j'ai dans le .htacess en racine \www
| Citation: | SetEnv REGISTER_GLOBALS 0
SetEnv SESSION_USE_TRANS_SID 0
##
# @version $Id: htaccess.txt 9975 2008-01-30 17:02:11Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##
#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
#different de seo joomla#
RewriteCond %{HTTP_HOST} ^buggy-cross\.fr$ [NC]
RewriteRule ^(.*) http://www.buggy-cross.fr/$1 [QSA,L,R=301]
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)
RewriteBase /
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
# Lines That should already be in your .htacess
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
# You may need to un-comment the following line
# Options +FollowSymlinks
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
# REWRITE BASE
RewriteBase /
# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION
#####################################################
# PHPBB SEO REWRITE RULES - ADVANCED
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. 'forum' REQUIRES TO BE SET AS FORUM INDEX
# RewriteRule ^forum/forum\.html$ /forum/index.php [QSA,L,NC]
# FORUM
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^forum/annonces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^forum/[a-z0-9_-]*/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# PROFILES SIMPLE
RewriteRule ^forum/membre([0-9]+)\.html$ /forum/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# USER MESSAGES SIMPLE
RewriteRule ^forum/messages([0-9]+)(-([0-9]+))?\.html$ /forum/search.php?author_id=$1&sr=posts&start=$3 [QSA,L,NC]
# GROUPS SIMPLE
RewriteRule ^forum/groupe([0-9]+)(-([0-9]+))?\.html$ /forum/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
# THE TEAM
RewriteRule ^forum/equipe\.html$ /forum/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
# FORUM WITHOUT ID & DELIM
# THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^forum/[a-z0-9_-]+(-([0-9]+))?\.html$ /forum/viewforum.php?start=$2 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
|
|
|
|
| Revenir en haut de page |
|
 |
micka456
Inscrit le: 11 Mar 2008 Messages: 7
|
Posté le: Dim Mar 16, 2008 8:28 pm Sujet du message: Re: prob de redirection merci |
|
|
help plz !!!
J'ai tout supprrimer et refais une installation nickel et propre et j'ai toujours le meme probleme :
Les categrories et forum sont bien réecrites dans la barre d'état d'internet explorer, mais quand je clique dessus cela m'envoie sur une erreur 404.
J'ai mis le htacess a la racinde du domaine et c pareil, j'ai aussi essayer les options avancer du htacces, je pense pas etre foncierememnt nul, car le mod joomla seo rewrite marche bien sur mon site.
aidez moi plz  |
|
|
| Revenir en haut de page |
|
 |
dcz Administrateur - Site Admin

Inscrit le: 28 Avr 2006 Messages: 14814
|
|
| Revenir en haut de page |
|
 |
micka456
Inscrit le: 11 Mar 2008 Messages: 7
|
Posté le: Dim Mar 23, 2008 6:46 pm Sujet du message: Re: prob de redirection merci |
|
|
lol dz, effectivemment dz c'est bien ca.
Si tu aurrais pu te manifester plutot ca aurait était sympa et m'aurai eviter des heures de galeres lol.
Il faut effectivemment mettre le code de l'url rewretting du forum avant celui de l'url rewritting de joomlla dans le .htacess.
J'espere que ca aidera ++ |
|
|
| Revenir en haut de page |
|
 |
dcz Administrateur - Site Admin

Inscrit le: 28 Avr 2006 Messages: 14814
|
|
| Revenir en haut de page |
|
 |
|
|
| Navigation |
Autres sujets de discussion |
|
|
|
|
|
|
|