1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ico BUG

Discussion in 'Server Configuration and Hosting' started by btfstone, Aug 13, 2014.

  1. btfstone

    btfstone Member

    I use Litespeed+nginx... If I set below
    Error like this.(ps.only Edit Resource Icon error)

    If I remove |ico
    Everything is ok...
  2. Jeremy

    Jeremy Well-Known Member

    Quick search gave me this:

    However, since you are using a RegEx to match routes, the period (.) matches any character, so /ico in the url to edit the icon matches as well as .ico, thus giving you your 404 error. You should use the following:
    location ~* \.(jpg|jpeg|gif|png|swf|htm|html|rar|zip|7z|xml)

    It should work.
  3. Slavik

    Slavik XenForo Moderator Staff Member

    Why are you using Litespeed with Nginx? You should just forget the Nginx reverse proxy.
    lsmichael and Tracy Perry like this.

Share This Page