View Single Post
  #23  
Old 26th March 2009, 22:39
HellMind HellMind is offline
Member
 
Join Date: Jul 2008
Posts: 99
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via ICQ to HellMind Send a message via MSN to HellMind
Default

Quote:
Originally Posted by till View Post
You shall not modify the file, you shall add the / in the rewrite field. And I told you already in post #8 of this thread that you can modify the template. The remplates are in /usr/local/ispcnfig/server/conf/
Sorry,
I found on vhost.conf.master

RewriteEngine on
<tmpl_loop name="redirects">
RewriteCond %{HTTP_HOST} ^<tmpl_var name='rewrite_domain'> [NC]
RewriteRule ^/(.*)$ <tmpl_var name='rewrite_target'>$1 <tmpl_var name='rewrite_type'>
</tmpl_loop>
</tmpl_if>

But if I add there the /
I I must to remove the / on all the aliases domain rediect?

How can I add the / when it do the "INSERT" on db of www auto redirects?
Reply With Quote