I can not deal with .htaccess.
http://garage1test.com/index.php?dispatch=blogs.mini_site&user_site_name=test
Turns into test.garage1test.com and crashes the error "Can not find the DNS address of the server test.garage1test.com."
php_flag magic_quotes_gpc off DirectoryIndex index.html index.php Options +FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^www.garage1test.com [NC] RewriteRule ^(.*)$ http://garage1test.com/$1 [L,R=301] RewriteCond %{REQUEST_URI} !^(\/[a-zA-Z]{2}\/)(.*)\.html$ RewriteCond %{HTTP_HOST} ^([a-zA-Z0-9]+)\.garage1test\.com(.*)$ [NC] RewriteCond %{REQUEST_FILENAME} !\.(png|gif|ico|swf|jpe?g|js|css)$ RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?dispatch=blogs.mini_site&user_site_name=%1&%{QUERY_STRING} [L] RewriteCond %{REQUEST_FILENAME} !\.(png|gif|ico|swf|jpe?g|js|css)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php?sef_rewrite=1 [L,QSA] </IfModule> php_value session.cookie_domain ".garage1test.com" I downloaded a site for lokalhost - did not change anything
http://localhost/index.php?dispatch=blogs.mini_site&user_site_name=test It is not redefined, but the link is working and the script is working fine.