Calificación:
  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
Sugerencia Mejorar Conexion Segura Entre Servidor y Cliente via protocolo HTTPS
#7
(12-26-2021, 07:38 PM)Pato_Lucas18 escribió: Gracias de nuevo. El el archivo .htaccess solo hay líneas que empieza con estos: RewriteEngine On, RewriteCond y RewriteRule. (También tiene unas líneas que agregué de lo que dejaste en el primer mensaje pero está comentado ya que lo deje como estába)
El DirectoryIndex no está en este archivo

Ok, por lo que comentas, el .Htaccess de MyBB esta mal configurado, antes de cambiar el codigo te recomiendo esto:

1. Chekea la configuracion en ACP de MyBB:

En la parte de administracion ve a: Home » Board Settings » Site Details
Observa como esta configurada, debería de tener esta URL que es la buena: http://www.foro.pesretro.net

2. Este es el Código Original de MyBB en .htaccess de la versión mybb_1829
Es bueno que lo pongas tal cual el original, si tienes mas codigo diferente a este que posteo, házmelo saber para estudiar que esta redimencionando el servidor de apache.

con lo que escribes que no esta el DirectoryIndex ./index.php esta biien, en el codigo original del .htaccess de MyBB No esta, es solo una sentencia para que apache siempre te redireccione al directorio raiz, y apunte al index.php


Este código es el que debes de pegar en .htaccess,
previamente viendo la configuracion del ACP: Home » Board Settings » Site Details

 
Código:
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]+)-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 text/css text/html application/xhtml+xml text/xml application/xml text/plain text/x-component application/javascript application/x-javascript application/rss+xml application/atom+xml application/json application/manifest+json application/x-web-app-manifest+json application/vnd.ms-fontobject application/font-sfnt application/font-woff application/font-woff2 image/svg+xml image/x-icon </IfModule> # Note: You are able to choose a different name in the Admin CP. If you've done that you need to change it here too <Files "error.log"> Order Deny,Allow Deny from all </Files>

Nota Importante:
Antes de hacer este cambio en .htaccess crea una copia de BackUp, con la informacion del .htaccess actual, para que no vayas a perder informacion importante que depronto se necesita.

Es mejor hacer un backup del file y despues reemplazarlo via CPanel y ver el resultado en la comunidad pesretro

:01:
Responder


Mensajes en este tema
RE: Sugerencia Mejorar Conexion Segura Entre Servidor y Cliente via protocolo HTTPS - por we11world - 12-26-2021, 09:18 PM

Posibles temas similares…
Tema Autor Respuestas Vistas Último mensaje
Bug Sugerencia para el Registro de Usuario y Soporte we11world 5 4,326 07-21-2021, 07:57 PM
Último mensaje: Shoot
Bug [Sugerencia] - Reordenamiento de subforos de la sección "parches". Tomi1889 5 6,361 05-21-2019, 09:29 PM
Último mensaje: Tomi1889
  [Sugerencia] El "foro de retos" con subforos P17 9 9,669 12-22-2016, 10:30 AM
Último mensaje: Shoot
  [Sugerencia] Listado de usuarios banneados y el motivo moron2077 21 21,641 08-30-2016, 11:28 PM
Último mensaje: neky69
  Sugerencias para mejorar el Foro PES Retro Esteban 22 19,795 08-03-2014, 07:42 PM
Último mensaje: jfbata
Brick [Sugerencia] Un chat para los que no tienen MSN jesusrodriguez 20 17,808 10-21-2012, 12:29 AM
Último mensaje: Fepe!
  [Sugerencia] Establecer una regla obligatoria para servidores de Imágenes lerp90 17 11,132 08-24-2012, 02:38 AM
Último mensaje: Renzo
  [Sugerencia] Sub Foro pinguiazul 6 5,633 06-22-2012, 03:16 PM
Último mensaje: Esteban
  Sugerencia sobre el sub-foro de Otros Graficos n@cho' 11 8,904 03-12-2012, 11:21 PM
Último mensaje: n@cho'
  [Sugerencia] Sobre Edicion Pes 6 vaz-p 15 8,894 02-26-2012, 03:42 AM
Último mensaje: ramnac

Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)