Htaccess con phpBB_SEO_Ultimate_SEO y foro en subcarpeta
Publicado: 20 May 2012, 23:08
Buenas, hace una semana instalé el foro y descubrí el MOD phpBB_SEO_Ultimate_SEO_URL_v0.7.0, por lo que siguiendo el manual al pie de la letra lo instalé satisfactoriamente (creo!!). Hasta ahí todo bien, el problema surge al activar desde el ACP la reescritura de urls,que hace que no se lean los estilos CSS, y que las urls no funcionen dando en todo momento errores 404. He probado creando diferentes Htaccess según las opciones que da el panel desde el ACP, he probado también con "rewrite base/ "carpetadondetengoelforo"/ (ya que el foro está en una subcarpeta, no en la raíz, y en la raíz tengo otro htaccess de la pagina web principal, éste funciona perfectamente)...y ya no se que puede estar fallando, ya que he buscado por el foro del propio MOD y por este soluciones pero ninguna m ha servido. Así que agradecería una ayuda
Muchas gracias
Me tomo la libertad de adjuntar uno de los htaccess que he creado por si puede ayudar, he cambiado lo de "midominio" y "carpetaforo";
URL: http://www.lacamaredonda.es
Versión phpBB: 3.0.10
MODs Instalados: automod, phpBB_SEO_Ultimate_SEO_v0.7.0
Plantilla(s) usada(s): Prosilver
Servidor: ciberneticos, de pago.
Actualización desde otra versión: No
Conversión desde otro sistema de foros: No
URL del MOD:: http://downloads.phpbb-seo.com/phpbb-se ... rl-38.html

Muchas gracias
Me tomo la libertad de adjuntar uno de los htaccess que he creado por si puede ayudar, he cambiado lo de "midominio" y "carpetaforo";
Código: Seleccionar todo
# 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 lines
# Options +FollowSymlinks
# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
# Options -MultiViews
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngineOn
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
# REWRITE BASE
RewriteBase /carpetaforo/
# HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
# RewriteCond %{HTTP_HOST} !^www\.midominio\.es$ [NC]
# RewriteRule ^(.*)$ http://www.midominio.es/$1 [QSA,L,R=301]
# DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
#####################################################
# PHPBB SEO REWRITE RULES ALL MODES
#####################################################
# AUTHOR : dcz http://www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX
RewriteRule ^inicio\.html$ /index.php [QSA,L,NC]
# FORUM ALL MODES
RewriteRule ^(foro|[a-z0-9_-]*-f)([0-9]+)/?(pagina([0-9]+)\.html)?$ /viewforum.php?f=$2&start=$4 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^(foro|[a-z0-9_-]*-f)([0-9]+)/(tema|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM ALL MODES
RewriteRule ^([a-z0-9_-]*)/?(tema|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
# PHPBB FILES ALL MODES
RewriteRule ^archivo/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /download/file.php?id=$2&t=$1 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^usuario/([^/]+)/?$ /memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^usuario/([^/]+)/(topics|posts)/?(pagina([0-9]+)\.html)?$ /search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS ALL MODES
RewriteRule ^(grupo|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
# POST
RewriteRule ^mensaje([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^temas-activos(-([0-9]+))?\.html$ /search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^temas-sin-respuesta(-([0-9]+))?\.html$ /search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^nuevos-mensajes(-([0-9]+))?\.html$ /search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# UNREAD POSTS
RewriteRule ^mensajes-no-leidos(-([0-9]+))?\.html$ /search.php?search_id=unreadposts&start=$2 [QSA,L,NC]
# THE TEAM
RewriteRule ^equipo\.html$ /memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
# FORUM WITHOUT ID & DELIM ALL MODES
# THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9_-]+)/?(pagina([0-9]+)\.html)?$ /viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
# FIX RELATIVE PATHS : FILES
RewriteRule ^.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /$1 [QSA,L,NC,R=301]
# FIX RELATIVE PATHS : IMAGES
RewriteRule ^.+/(styles/.*|images/.*)/$ /$1 [QSA,L,NC,R=301]
# END PHPBB PAGES
#####################################################
URL: http://www.lacamaredonda.es
Versión phpBB: 3.0.10
MODs Instalados: automod, phpBB_SEO_Ultimate_SEO_v0.7.0
Plantilla(s) usada(s): Prosilver
Servidor: ciberneticos, de pago.
Actualización desde otra versión: No
Conversión desde otro sistema de foros: No
URL del MOD:: http://downloads.phpbb-seo.com/phpbb-se ... rl-38.html