ispCP - Board - Support - VHCS fork

Full Version: Securing...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Refering to http://www.isp-control.net/documentation...ore_secure it is suggested to add lines for each configuration file of virtual hosts... can't this be done in some template so that new hosts automatically get that setting?

Thanks,
Yves
yes - seems so
Which one?
/etc/ispcp/apache/parts/*.tpl

there are several files - you need to have a look at them - I don't know where you want to add some lines exactly.
The lines I am refering to are:
Code:
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
Where to put them exactly?

Best Regards,
Yves
I suppose I could put these lines into ispcp.conf for each domain. But where in all the domain configuration should I put them?

Best Regards,
Yves
Or should I put them into the separate configuration files for each domain in /etc/apache2/ispcp/ ?
You can put in the config (vhosts or maybe in the ispcp.conf) in the head.
I did it in the vhost template and regenerate the configs

Greez BeNe
By vhost template you mean /etc/ispcp/apache/parts/custom.conf.tpl?

Thanks,
Yves
Reference URL's