Skip to main content

Controladores Apache

Comments

5 comments

  • cPanelLauren
    Hola, "Me puede mostrar un ejemplo espec"fico de lo que se modific" en el archivo .htaccess? (las directivas anteriores y luego las directivas posteriores) ======================================================================= Hello, Can you show me an example of specifically what was modified in the .htcaccess file? (the directives previous and the directives afterward)
    0
  • ksgalicia
    Hola! Por ejemplo: AddHandler application/x-httpd-ea-php73 .php .php7 .phtml .js A"adiendo la extensi"n .js para ejecutar c"digo PHP en un fichero .js Tras la actualizaci"n dej" as": AddHandler application/x-httpd-ea-php73 .php .php7 .phtml Es decir, se elimina la extensi"n .js "Alguna forma de evitar eso para la pr"xima actualizaci"n?
    0
  • cPanelLauren
    Hola, Ya veo, gracias por la respuesta. Deber"a ser capaz de agregar agregadores adicionales yendo a cPanel>>Avanzado>>Apache Handlers en lugar de editar manualmente el archivo.htaccess. Tenemos alguna documentaci"n sobre esta interfaz aqu": Apache Handlers - Version 82 Documentation - cPanel Documentation
    0
  • ksgalicia
    Hola, La cuesti"n es cuando accedo a cPanel > Avanzado > Controladores Apache aparece la extensi"n .js creada manualmente en el .htaccess (adjunto captura), "Quiere decir que est" bien? "Se eliminar" esta extensi"n en la pr"xima actualizaci"n?
    0
  • cPanelLauren
    Hola, No importa lo que haga, si lo agrega al AddHandler que est" presente, se sobrescribir". Puede agregar un segundo AddHandler para .js usando esa interfaz que no se sobrescribir". Por ejemplo, mi servidor de prueba usa lsphp y php 7.0 y he a"adido lo siguiente y confirmado que no se sobrescribe al actualizar: ======================================================================= Hello, No matter what you do, if you add it to the AddHandler that is present it will be overwritten. You can add a second AddHandler for .js using that interface that will not be overwritten. For example, my test server uses lsphp and php 7.0 and I've added the following and confirmed it does not get overwritten when updating:
    0

Please sign in to leave a comment.