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?

gefragt vor 3 Jahren272 Aufrufe
4 Antworten
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
beantwortet vor 3 Jahren
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.

beantwortet vor 3 Jahren
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
beantwortet vor 3 Jahren
0

error in .htaccess file

beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen