# Slim won't take long URLs

**URL:** <https://discourse.slimframework.com/t/slim-wont-take-long-urls/96>\
**Category:** Questions\
**Created:** [April 7, 2016, 11:59pm UTC](https://discourse.slimframework.com/t/slim-wont-take-long-urls/96 "2016-04-07T23:59:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karter](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@Karter](https://discourse.slimframework.com/u/Karter)\
**Post date:** [April 7, 2016, 11:59pm UTC](https://discourse.slimframework.com/t/slim-wont-take-long-urls/96/1 "2016-04-07T23:59:07Z")

</div>

I’m using Apache 2.4 and Slim works fine. But, I have a route that has a unique identifier passed to it, and if this identifier is too long, instead of getting a slim error, I get an Apache error.

My .htaccess file checks out, and all other routes function properly. After making these identifiers shorter, I no longer received the error. However, I feel that this shouldn’t be needed. Is it my web server or has anyone else had this sort of issue with slim.

---

<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:** [April 8, 2016, 12:11am UTC](https://discourse.slimframework.com/t/slim-wont-take-long-urls/96/2 "2016-04-08T00:11:44Z")

</div>

How long is the identifier? I just looked in my Apache 2.4 setup and was able to pass a parameter 1,000 characters long to a get request that was characters long and it worked fine-- although anything much longer than that failed.

---

<div class="post-metadata">

**Author:** ![silentworks](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/silentworks/32/10_2.png) [@silentworks](https://discourse.slimframework.com/u/silentworks)\
**Post date:** [April 11, 2016, 10:06am UTC](https://discourse.slimframework.com/t/slim-wont-take-long-urls/96/3 "2016-04-11T10:06:52Z")

</div>

Please post the url that you think is too long and also this issue seem to be related to Apache and not Slim based on your message.

It is better to provide examples when asking questions as its easier for someone else to test and see if they have the same issue.
