ThemePackagerComponent
ThemePackagerComponent copied to clipboard
How do I add my .htaccess?
Any strategy for this? Can I activate Friendly URL's by default and add a .htaccess? It is not added right now...
Hey Menno,
If this were possible, it wouldn't work in all cases, as some people are using Nginx or IIS (or potential Apache configurations where the .htaccess might not work). Would including an ht.access or similar file, along with instructions on enabling FURLs and your rules, be a workable solution? Maybe even a file containing the Nginx and IIS rules as well? Ultimately, these transport packages are meant to convey files and database objects, but they can't really define server behavior in a predictable fashion.
How about using a Static Resources to generate a .htaccess file and including the Resource in the package?