Hei, I'm so happy - it succeded :) Thanks for your help. Med venlig hilsen / Best regards Dennis Madsen DeMaWeb http://www.demaweb.dk CVR-nr.: 2895 9486 -----Oprindelig meddelelse----- Fra: Robert Ionescu [mailto:robsiegen@xxxxxxxxxxxxxx] Sendt: 5. marts 2006 20:49 Til: users@xxxxxxxxxxxxxxxx Emne: Re: SV: SV: [users@httpd] Rewrite on Windows-server (subdomain) Dennis Madsen wrote: > The requested operation has failed. Is this being logged into your error.log? I'm not sure if this is just a posting issue, but some line breaks are missing: > RewriteEngine On > RewriteCond %{HTTP_HOST} ^([^.]+)\.myhp\.dk$ RewriteCond %1 !^www$ > RewriteCond c:/www/myhp.dk/www/%1 -d RewriteRule ^(.*) /%1/$1 [L] This should be 5 lines in total RewriteEngine On RewriteCond %{HTTP_HOST} ^([^.]+)\.myhp\.dk$ RewriteCond %1 !^www$ RewriteCond c:/www/myhp.dk/www/%1 -d RewriteRule ^(.*) /%1/$1 [L] Did you check the syntax of the httpd.conf with "apache -t"? -- Robert --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx