Hi Pete

I have touched a file named security-rewrite.conf in my conf directory.

Thus in my httpd.conf I have a Include directive - 


Include conf/security-rewrite.conf

Thus edit the security-rewrite.conf and add the following below:

 <IfModule mod_rewrite.c>
RewriteEngine On
## # the following needs to be writeable by Apache
## ## every other URL is fetched from Zope
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F,L]
 </IfModule

I had to migrate a old apache server to a to be commissioned apache 2
version 2.0.54

Thus all my virtual hosts are in the httpd.conf I am now thinking of
compartmentalised this as I have for my local apache setups. I assume
that once I have compartmentalised my vhosts I can just add the above to
security-rewrite.conf But in my vhosts directory each vhost will have
something like below:

<VirtualHost *:80>
ServerName company.my.co.uk
ErrorLog /company.my.co.uk-error_log
TransferLog /company.my.co.uk-access_log
                           
 <IfModule mod_rewrite.c>
## # the following needs to be writeable by Apache
## ## every other URL is fetched from Zope
RewriteRule ^/(.*)
http://company.my.uk:9080/VirtualHostBase/http/company.my.co.uk:80/live_company_my_com/VirtualHostRoot/$1
 [P,L]
 </IfModule>
</VirtualHost>


Am I on the right track.

Cheers


In my conf directory On Tue, 2006-05-09 at 16:17 +0100, Peter Rosenthal
wrote:
> security-rewrite.conf 
-- 
Unix/ Linux Systems Administrator
Chuck Amadi
The Surgical Material Testing Laboratory (SMTL), 
Princess of Wales Hospital 
Coity Road 
Bridgend, 
United Kingdom, CF31 1RQ.
Email chuck.smtl.co.uk
Tel: +44 1656 752820 
Fax: +44 1656 752830


_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to