Jump to content

tomekf

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

tomekf's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi everyone, I have a little problem with url without www in dynamic virtual hosting. This is part of my http.conf [code]NameVirtualHost xxx.xxx.xxx.xxx:80 <VirtualHost domain.com> ServerName domain.com ServerAlias *.domain.com VirtualDocumentRoot /vhosts/%0 ErrorLog /var/log/apache/domain-error.log CustomLog /var/log/apache/domain-access.log full </VirtualHost>[/code] I would like to change in webbrowser url from *.domain.com to www.*.domain.com I find code: [code]RewriteEngine on RewriteRule ^(.*)$ http://name.domain.com$0 [R] ServerName www.name.domain.com[/code] but I can't use it :( Can anybody help me ? Thanks.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.