Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to turn Trace off on Apache/2.0.52. From one of the previous postings on this site it was stated that TraceEnable should be used for newer version of Apache (1.3.34+ or 2.0.22+). However, when I tried to use the man pages to get some information on how to use the command I got "No manual entry for TraceEnable". Can you tell me what version(s) of Apache supports this command?
EXAMPLE:
cd /etc/httpd (as root)
grep -i trace conf*/*
conf.d/zz010_psa_httpd.conf:TraceEnable off
conf.d/zz010_psa_httpd.conf.org:TraceEnable off
<= This happen to be "/etc/httpd/conf" and "/etc/httpd/conf.d"
on a Centos 5.x VPS. Your files/directories will vary...
Also, re man pages; these are really for OS level cmds (mostly). TraceEnable is a cmd (setting) within the Apache conf files, so is unlikely to have a man page.
Not every box has a webserver on it.
HTH.
I tried using the following code that I found in the Apache link but it doesn't seem to be working. It could be that I didn't put it into the correct location in the httpd.conf file. Does anyone know where and how this snippet of code need to be put into the httpd.conf file?
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
I tried using the following code that I found in the Apache link but it doesn't seem to be working. It could be that I didn't put it into the correct location in the httpd.conf file. Does anyone know where and how this snippet of code need to be put into the httpd.conf file?
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
Thanks for the suggestions.
This should be added inside a <VirtualHost ...>...</VirtualHost> stanza.
But it's easier to use "TraceEnable Off" in httpd.conf (or apache2.conf if you're using debian and derivatives)
Thanks. Everything that I have found so far says that TraceEnable was not supported in Apache until after version 2.0.55. Unfortunately I am running Apache version 2.0.52.
Thanks. Everything that I have found so far says that TraceEnable was not supported in Apache until after version 2.0.55. Unfortunately I am running Apache version 2.0.52.
For security and new feature reasons, you should probably update ... also make sure you're restarting Apache after your config file changes (seems minor but it's easy to forget )
Thanks. Everything that I have found so far says that TraceEnable was not supported in Apache until after version 2.0.55. Unfortunately I am running Apache version 2.0.52.
If you can't upgrade to a more recent version (better 2.2.19 if possible), then you should use the rewrite workaround.
Also, if you've got a RH derived distro, they do back-port some stuff, mostly security but occasionally other stuff as well.
You can't just go by the Apache version num, you'd have to check the release num+notes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.