Hi @Bart-Jan
The reason you’re seeing a 404 for https://www.vps13.org/rw/elements/com.realmac.apipack/api/email
is not because there’s supposed to be a physical email file or folder on your server. Instead, the system uses an .htaccess
file, which works with Apache’s mod_rewrite module to route any request (like /email, /form, etc.) to a single index.php file behind the scenes.
Think of it like this: you’re making a request to /api/email, and .htaccess says “no matter what the path is, send it to index.php, and let PHP figure out what to do.”
So, if you’re getting a 404, it usually means that the .htaccess
file isn’t being read or isn’t working properly (often due to missing server configuration, like AllowOverride All or mod_rewrite not being enabled).
To fix this:
- Make sure the
.htaccess
file inside thehttps://www.vps13.org/rw/elements/com.realmac.apipack/api/
folder is published to the server. - Confirm with your hosting provider that
.htaccess
overrides are allowed, and thatmod_rewrite
is enabled.
Let me know how you get on, or if you need further explanation as to what’s happening here!