ispCP - Board - Support
Securing... - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Securing... (/thread-2707.html)



Securing... - HSorgYves - 03-12-2008 08:18 AM

Refering to http://www.isp-control.net/documentation/howto/security/make_ispcp_more_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


RE: Securing... - joximu - 03-12-2008 08:55 AM

yes - seems so


RE: Securing... - HSorgYves - 03-12-2008 09:02 AM

Which one?


RE: Securing... - joximu - 03-12-2008 09:34 AM

/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.


RE: Securing... - HSorgYves - 04-21-2008 10:38 PM

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


RE: Securing... - HSorgYves - 05-03-2008 07:22 AM

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


RE: Securing... - HSorgYves - 05-03-2008 08:11 AM

Or should I put them into the separate configuration files for each domain in /etc/apache2/ispcp/ ?


RE: Securing... - BeNe - 05-04-2008 09:22 PM

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


RE: Securing... - HSorgYves - 05-04-2008 09:42 PM

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

Thanks,
Yves