• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • 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