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.

Mapping is wrong

Discussion in 'EasyApache' started by Nirjonadda, Jul 19, 2017.

  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    342
    Likes Received:
    8
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Hello,

    Today we have Upgrade Apache version 2.4.17 introduced HTTP/2 support. Also we have switched our sites to MPM:Event from prefork because Starting from Apache 2.4.27, the Apache MPM (Multi-Processing Module) prefork no longer supports HTTP/2.

    Now we have problem to image URL not working, mapping is wrong. This image link mysite.com/images/2017/07/19/BH103.jpg show me "That page doesn't exist, The requested page was not found" but this image have on my server. Please let me know this fix point in the right direction.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Did you also change the PHP handler when changing the MPM? You can verify which PHP handler is enabled via "WHM >> MultiPHP Manager".

    Thank you.
     
  3. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    342
    Likes Received:
    8
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Yes, I Do change to fcgi. How to fixing on this issue? Its happened after Upgrade Apache version 2.4.17.

    This my .htaccess rules.

    Code:
    # Disable server signature
    ServerSignature Off
    
    # Disable directory listing (-indexes), Multiviews (-MultiViews) and enable Follow system links (+FollowSymLinks)
    Options -Indexes
    Options -MultiViews
    Options +FollowSymLinks
    
    <IfModule mod_rewrite.c>
    
        RewriteEngine On
        
        # If you have problems with the rewrite rules remove the "#" from the following RewriteBase line
        # You will also have to change the path to reflect the path to your Chevereto installation
        # If you are using alias is most likely that you will need this.
        #RewriteBase /
    
        # 404 images
        # If you want to have your own fancy "image not found" image remove the "#" from RewriteCond and RewriteRule lines
        # Make sure to apply the correct paths to reflect your current installation
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule images/.+\.(gif|jpe?g|png|bmp) - [NC,L,R=404]
        #RewriteRule images/.+\.(gif|jpe?g|png|bmp) content/images/system/default/404.gif [NC,L]
        
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_URI} !\.(css|js|html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpe?g|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip)$ [NC]
        RewriteRule . index.php [L]
        
    </IfModule>
     
    #3 Nirjonadda, Jul 19, 2017
    Last edited: Jul 19, 2017
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look?

    Thank you.
     
  5. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    342
    Likes Received:
    8
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner

    Support Request ID is: 8732783
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    To update, here's a response from one of our Technical Analysts regarding the answer to this support inquiry:

    Thank you.
     
Loading...

Share This Page