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

Run with TraceEnable Off - Is this possible? #927

Open
cummingsk05 opened this issue Mar 4, 2025 · 3 comments
Open

Run with TraceEnable Off - Is this possible? #927

cummingsk05 opened this issue Mar 4, 2025 · 3 comments

Comments

@cummingsk05
Copy link

Is it possible to run a django app using manage.py runmodwsgi etc. with the apache setting TraceEnable Off as an argument?

@GrahamDumpleton
Copy link
Owner

That directive seems to be on by default in Apache.

What problem is it causing by having it on?

What you may be able to do is supply the --include-file option with a file name path as argument. In that file include:

TraceEnable Off

@cummingsk05
Copy link
Author

This is not causing an issue. The company I work for does a vulnerability scan on every server and it must view the httpd.conf file for "TraceEnable Off". I don't think this is actually a vulnerability, however the powers that be want it addressed.

I'll try your suggestion. Thank you.

Does the --include-file option just pass off the contents into the httpd.conf file created when the modwsgi server starts?

@GrahamDumpleton
Copy link
Owner

Whatever file you give it using that option is included in the generated Apache configuration at global scope using the Apache Include directive.

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

2 participants