The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Too long url gives me 403

Discussion in 'General Discussion' started by NemoXP, Aug 16, 2012.

  1. NemoXP

    NemoXP Active Member

    Joined:
    Feb 25, 2010
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Constanta, Romania, Romania
    cPanel Access Level:
    Root Administrator
    There is a strange situation:
    this gives a 403:
    first a href here: http://[Removed]/serverc/server.php

    but this longer url not:
    third a href here: http://[Removed]/serverc/server.php

    Any idea?


    edit: notice the 'short and working - but with / after "sc" ' link that still works
    edit2: it seams that rewrite is the problem, and a limit of 255 or 254 chars for the first match ?!

    edit 3: i read somewhere this: "You must move the rewrite rules into the apache config. This is the only way to retain the functionality and work around the problem." but i cannot get it working.
     
    #1 NemoXP, Aug 16, 2012
    Last edited: Aug 16, 2012
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please check the Apache error log for the exact error message:

    Code:
    # /usr/local/apache/logs/error_log
    You should be able to pinpoint the exact issue with the full error message.

    Thank you.
     
  3. NemoXP

    NemoXP Active Member

    Joined:
    Feb 25, 2010
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Constanta, Romania, Romania
    cPanel Access Level:
    Root Administrator
    here is copy from log
    too long filename


    edit: Any solution how to remove, increase or avoid getting that error? Something like not checking for a file/folder ?
     
    #3 NemoXP, Aug 16, 2012
    Last edited: Aug 17, 2012
Loading...

Share This Page