# How do i do slim errors

**URL:** <https://discourse.slimframework.com/t/how-do-i-do-slim-errors/1777>\
**Category:** Questions\
**Created:** [August 28, 2017, 3:45pm UTC](https://discourse.slimframework.com/t/how-do-i-do-slim-errors/1777 "2017-08-28T15:45:57Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![akara](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@akara](https://discourse.slimframework.com/u/akara)\
**Post date:** [August 28, 2017, 3:45pm UTC](https://discourse.slimframework.com/t/how-do-i-do-slim-errors/1777/1 "2017-08-28T15:45:57Z")

</div>

how to find the requested url on the server

---

<div class="post-metadata">

**Author:** ![tflight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/tflight/32/1205_2.png) [@tflight](https://discourse.slimframework.com/u/tflight)\
**Post date:** [August 29, 2017, 12:04am UTC](https://discourse.slimframework.com/t/how-do-i-do-slim-errors/1777/2 "2017-08-29T00:04:51Z")

</div>

I’m not certain I understand your question fully, but the server’s access log (if turned on) will show you the requested URL.

---

<div class="post-metadata">

**Author:** ![akara](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@akara](https://discourse.slimframework.com/u/akara)\
**Post date:** [September 5, 2017, 4:29pm UTC](https://discourse.slimframework.com/t/how-do-i-do-slim-errors/1777/3 "2017-09-05T16:29:40Z")

</div>

Actually, I do not know why I get this message when I write my Url on my browser "The server encountered an internal error or misconfiguration and was unable to complete your request."  
500 Internal Error. how can I resolve this issue? Thanks.

---

<div class="post-metadata">

**Author:** ![tflight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/tflight/32/1205_2.png) [@tflight](https://discourse.slimframework.com/u/tflight)\
**Post date:** [September 5, 2017, 4:33pm UTC](https://discourse.slimframework.com/t/how-do-i-do-slim-errors/1777/4 "2017-09-05T16:33:50Z")

</div>

The server’s log (Apache’s error log if you are using that) will contain the detailed error message.

---

<div class="post-metadata">

**Author:** ![akara](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@akara](https://discourse.slimframework.com/u/akara)\
**Post date:** [September 5, 2017, 4:41pm UTC](https://discourse.slimframework.com/t/how-do-i-do-slim-errors/1777/5 "2017-09-05T16:41:46Z")

</div>

This is what I get from my Apache Error log[“Tue Sep 05 16:33:21.378295 2017] [core:alert] [pid 3120:tid 840] [client 127.0.0.1:49439] C:/wamp/www/ringo/src/public/.htaccess: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration”

---

<div class="post-metadata">

**Author:** ![tflight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/tflight/32/1205_2.png) [@tflight](https://discourse.slimframework.com/u/tflight)\
**Post date:** [September 5, 2017, 4:54pm UTC](https://discourse.slimframework.com/t/how-do-i-do-slim-errors/1777/6 "2017-09-05T16:54:06Z")

</div>

There you go, there is something in your `.htaccess` file Apache doesn’t like. What is in `C:/wamp/www/ringo/src/public/.htaccess`? Is your `mod_rewrite` module enabled in Apache?

---

<div class="post-metadata">

**Author:** ![akara](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@akara](https://discourse.slimframework.com/u/akara)\
**Post date:** [September 5, 2017, 4:59pm UTC](https://discourse.slimframework.com/t/how-do-i-do-slim-errors/1777/7 "2017-09-05T16:59:10Z")

</div>

Please which file can be used to enable the mod\_rewrite in apache.

---

<div class="post-metadata">

**Author:** ![tflight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/tflight/32/1205_2.png) [@tflight](https://discourse.slimframework.com/u/tflight)\
**Post date:** [September 5, 2017, 6:16pm UTC](https://discourse.slimframework.com/t/how-do-i-do-slim-errors/1777/8 "2017-09-05T18:16:50Z")

</div>

I believe it depends on how you installed Apache and perhaps the OS it is running under as well.

---

<div class="post-metadata">

**Author:** ![akara](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@akara](https://discourse.slimframework.com/u/akara)\
**Post date:** [September 7, 2017, 3:51pm UTC](https://discourse.slimframework.com/t/how-do-i-do-slim-errors/1777/9 "2017-09-07T15:51:28Z")

</div>

Thank you for your understanding. I installed my Apache with Wampserver and the operating system is Windows 7

---

<div class="post-metadata">

**Author:** ![tflight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/tflight/32/1205_2.png) [@tflight](https://discourse.slimframework.com/u/tflight)\
**Post date:** [September 7, 2017, 4:59pm UTC](https://discourse.slimframework.com/t/how-do-i-do-slim-errors/1777/10 "2017-09-07T16:59:04Z")

</div>

Probably depends on which version of Wampserver… but I’d have a look through this. (I’ve never used wampserver so I don’t really know.) [https://www.drupal.org/docs/7/configuring-clean-urls/clean-urls-in-wampserver-2](https://www.drupal.org/docs/7/configuring-clean-urls/clean-urls-in-wampserver-2)

---

<div class="post-metadata">

**Author:** ![akara](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@akara](https://discourse.slimframework.com/u/akara)\
**Post date:** [September 14, 2017, 12:20pm UTC](https://discourse.slimframework.com/t/how-do-i-do-slim-errors/1777/11 "2017-09-14T12:20:44Z")

</div>

Thanks, I got over it. My hello joeblogs is working after enabling mod\_rewrite on Apache httpd.conf file in Wampserver 2.5. I am very much gratefully for your understanding and may call back when the need arises.
