The problem is that DocumentRoot of your server is pointing to
/web directory and
/app directory is out of scope. Maybe you can solve it using an alias:
Alias /export "C:/xampp/htdocs/myapp/app/Resources/export" <Directory "C:/xampp/htdocs/myapp/app/Resources/export"> Options Indexes AllowOverride None Require all granted </Directory>
alias you must to prefix the route to the resource with the alias name.
For example for getting the resoource test.jpg located in:
Your request should be like:
The problem of this type of routes is that Symfony routing can't managed it because there are out of server scope, but you can use host-matching, see this question:
If you use alias remember enable alias module if it is disabled.
Hope it helps.