Score:-2

apache .htaccess error 500

ls flag

I'm using Ubuntu 20.04. I configured the .htaccess file in the restful project, but I got error 500, internal server error. Without the .htaccess file the application works. I changed apache to:

apache view

.htaccess file contents:

htaccess view

Esther avatar
es flag
Is this the exact text of the .htaccess file? because it looks like it's missing some `>` and has some extra `<br>`, `;`, some capitals where there should be lowercase. Fix your formatting.
FedKad avatar
cn flag
Try to remove the first and last line from your `.htaccess` file and then look at apache's error log.
uz flag
Jos
What does `/var/log/apache2/error.log` say?
uz flag
Jos
Please don't paste screenshots into your question. Simply copy and paste the text and use the code formatter button.
Score:0
ls flag

New contents of the .htaccess file:

.htaccess view

Now my restful is working fine.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.