redirects in a non-wordpress install

0

I read that htaccess is disabled for security. I'm not using wordpress so I don't think I have a bitnami instance. How do you do redirects like you'd have in an .htaccess file on Lightsail?

preguntada hace 3 años272 visualizaciones
4 Respuestas
0

Where did you read that htaccess is disabled for security?

You can enable htaccess and setup your redirects.

Otherwise, you'll have to setup your redirects in the server config.

profile picture
David G
respondido hace 3 años
0

This is the link with a Bitnami Engineer said they disable .htaccess:

https://stackoverflow.com/questions/60281420/how-to-enable-htaccess-in-aws-lightsail-lamp-module

How do enable .htaccess? I tried creating an .htaccess file but apache threw a server configuration error.

respondido hace 3 años
0

The bitnami engineer provided instructions on how to enable htaccess in his post.

https://stackoverflow.com/a/60297533/44732

If you got a configuration error in apache, sounds like you have htaccess enabled but made an error in it.

What error did you get?

Can you post your htaccess file?

profile picture
David G
respondido hace 3 años
0

error in .htaccess file

respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas