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?

已提問 3 年前檢視次數 272 次
4 個答案
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
已回答 3 年前
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.

已回答 3 年前
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
已回答 3 年前
0

error in .htaccess file

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南