Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 13th February 2008, 01:55
rdike rdike is offline
Junior Member
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Disabling HTTP TRACE / TRACK in all virtual host

Is there a standard place to put the rewrite conditions so that all of the virtual host are covered and/or so that new virtual host are covered automatically?

We just had a security audit and one of the few things that they found was that our ispconfig server allowed HTTP TRACE and HTTP TRACK methods. We need to disable them. 'mod_rewrite' is already part of the standard ispconfig configuration so we just need to add the following

# disable TRACE and TRACK in the main scope of httpd.conf
RewriteEngine On
RewriteRule .* - [F]
RewriteRule .* - [F]
<VirtualHost www.example.com>
# disable TRACE and TRACK in the www.example.com virtual host
RewriteEngine On
RewriteRule .* - [F]
RewriteRule .* - [F]

I know the the virtual host are configured in /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf

Is there an easier way than editing that file for each virtual host?
Reece Dike
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Virtual Hosts - I have never gotten this right. DazzyB Server Operation 2 24th December 2007 14:37
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 15:17
ISPConfig DNS and virtual host configuration tips and problem Ripper Installation/Configuration 6 26th June 2007 01:29
This is %#@*&^$# embarrassing! domino Smalltalk 34 5th February 2007 22:57
I broke it.. I think.. Email in is not being delivered? edge Server Operation 1 3rd July 2006 15:22

All times are GMT +2. The time now is 20:40.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.