Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow header modification in .htaccess; Invalid command 'Header' #15

Open
subhaze opened this issue Dec 11, 2017 · 5 comments
Open

Allow header modification in .htaccess; Invalid command 'Header' #15

subhaze opened this issue Dec 11, 2017 · 5 comments

Comments

@subhaze
Copy link

subhaze commented Dec 11, 2017

I'm currently needing to allow cross-origin for some font files and the normal .htaccess config setup is throwing errors due to apache not having headers setup.

@srguglielmo
Copy link

Hi,

Bumping this thread. This is an issue being unable to use Header in .htaccess because mod_headers is not loaded.

Anyone have a fix or workaround?

Thanks.

@subhaze
Copy link
Author

subhaze commented Mar 16, 2018

@srguglielmo I've sent a PR to this repo, but, I've resorted to just building images based on this one.

@srguglielmo
Copy link

Thank you @subhaze. I actually opened a support ticket with Azure about this issue and they recommended I do the same thing (fork this repo and deploy a custom image).

@shadyshrif
Copy link

The issue still not solved

@mcdafydd
Copy link

mcdafydd commented Nov 2, 2019

This worked for me this morning, at least for .html and .php files, testing on an Azure Linux PHP 7.2 app service app:

Header set MyHeader "%D %t"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants