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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠