# Elements Form, missing resources

**URL:** <https://forums.realmacsoftware.com/t/elements-form-missing-resources/48527>\
**Category:** Elements\
**Created:** [July 1, 2025, 1:46pm UTC](https://forums.realmacsoftware.com/t/elements-form-missing-resources/48527 "2025-07-01T13:46:42Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [July 3, 2025, 7:22am UTC](https://forums.realmacsoftware.com/t/elements-form-missing-resources/48527/8 "2025-07-03T07:22:25Z")

</div>

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 the `https://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 that `mod_rewrite` is enabled.

Let me know how you get on, or if you need further explanation as to what’s happening here! 🙂

---

_[View the full topic](https://forums.realmacsoftware.com/t/elements-form-missing-resources/48527)._
