customize relative paths
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
customize relative paths
Hi,
I'm using ameos in a subdirectory and have set "document_root/abc/public" as alias in my apache.conf
Statpage is working fine so far, but all relative links are missing my subfolder "/abc"
How can I add a path-prefix (like "/abc") to the generated relative paths?
generated path: /shop/product1
expected path: /abc/shop/product1
When using absolute paths ('absoluteUri' => true) it works fine.
Do I have to switch on absoluteUri for all paths?
Thank you
I'm using ameos in a subdirectory and have set "document_root/abc/public" as alias in my apache.conf
Statpage is working fine so far, but all relative links are missing my subfolder "/abc"
How can I add a path-prefix (like "/abc") to the generated relative paths?
generated path: /shop/product1
expected path: /abc/shop/product1
When using absolute paths ('absoluteUri' => true) it works fine.
Do I have to switch on absoluteUri for all paths?
Thank you
Re: customize relative paths
Laravel doesn't support installation in subdirectories well:
https://github.com/aimeos/aimeos-larave ... -506869277
If "absolutUri = true" works, it might be OK if you take additional measures to protect all files and directories below the ./public directory.
Once again: Installation in a subdirectory might create extreme security holes if e.g. your .env file is publically readable!
https://github.com/aimeos/aimeos-larave ... -506869277
If "absolutUri = true" works, it might be OK if you take additional measures to protect all files and directories below the ./public directory.
Once again: Installation in a subdirectory might create extreme security holes if e.g. your .env file is publically readable!
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star