I have not been able to find this in the documentation:

I want to create a extra site (mysite.com/test), that will run on the same codebase as my ordinary (www.mysite.com).

I have created a extra directory in the "sites" directory, and named it mysite.com.test. I have also changed in settings.php.

But I have not been able to figure out what to do next. Should I add a .htaccess file in the mysite.com/test-folder, that redirects to www.mysite.com/index.php? What should it say? Is it the rewrite that should be used?

Comments

GSMKer_Kevin’s picture

No you don't need a .htaccess file.
Follow the link below where I helped someone with a sub-domain. In your case it's just a sub directory, however the symlink part is the same. Look for where I describe how to create the symlink and see if that helps?
http://drupal.org/node/45751

The only barriers that exist are the ones we create!

Tommy Sundstrom’s picture

That made the trick.

GSMKer_Kevin’s picture

I'm glad I was able to help!

The only barriers that exist are the ones we create!