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?

posta 3 anni fa272 visualizzazioni
4 Risposte
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
con risposta 3 anni fa
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.

con risposta 3 anni fa
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
con risposta 3 anni fa
0

error in .htaccess file

con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande