• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

.htaccess "cannot compile regular expression"

jeffrose

Chevereto Member
🎯Description of the issue

Server error when the default .htaccess file is in use. This is a brand new install with literally no customization done. I haven't even loaded the settings page (I did upload 1 photo as a test).

▶🚶‍Reproduction steps
  1. n/a
😢Unexpected result

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at jeff@mydomain.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

📃Error log message

/var/www/mydomain.com/public_html/.htaccess: RewriteCond: cannot compile regular expression '\\.(css|js|html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|asf|asx|wax|$', referer: https://mydomain.com/index.php

The actual regex line is:
RewriteCond %{REQUEST_URI} !\.(css|js|html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|asf|asx|wax|$
 
Awesome. That seems to be it. I'm not sure why the version from the .zip had that line truncated. Very odd.

Thank you!
 
Awesome. That seems to be it. I'm not sure why the version from the .zip had that line truncated. Very odd.

Thank you!
You should remove your phpinfo file at https://mocpics.com/info.php asap. Since this file actually tells what your server has and if there is anything vunerable then hackers can take use of this phpinfo to see and then hack the server.

Never leave phpinfo visible to visitors.
 
Back
Top