Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

199
Vistas
Trying to load a sub route server returns 404 angularjs

I'm trying to access angularjs route without #, by writing $locationProvider.html5Mode({ enabled: true, requireBase: false }); in app.js and base href="/" in index.html is working fine for root url not for sub route.

Refreshing sub route without # it's throwing following error "page can’t be found i.e. HTTP ERROR 404".

I also written .htaccess code in angularjs root directory, also tried to write in apache2 000-default.conf but it's not work.

Someone please help me out of this.

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda