View Single Post
  #19  
Old 26th March 2009, 21:53
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
On my test server the redirect rule for the www of the main domain gets added too correctly, so there is no problem with ISPConfig. Maybe you edited something in your setup that causes this.

main domain: test.int with auto www enabled produce sthe rewrite rules:

RewriteCond %{HTTP_HOST} ^test.int [NC]
RewriteRule ^/(.*)$ http://test.com$1 [R]
RewriteCond %{HTTP_HOST} ^www.test.int [NC]
RewriteRule ^/(.*)$ http://test.com$1 [R]

I think yours also are wrong

going to

http://test.int/hello

you will be redirected to

http://test.comhello

(I had this problem too, when www. auto redirect was working)
Reply With Quote