Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: jerryh on November 19, 2006, 11:30:38 AM

Title: changing html directory name
Post by: jerryh on November 19, 2006, 11:30:38 AM
I have set up a domain "test.loc" in an ibay to be used as a testing server.

For my live site pages go in directory "www" or "public_html" which is how I've set it up in Dreamweaver.
The testing server names the relevant directory "html"

Is there an easy way to change this name so my testing server is compatible with the live site?

The other possibility might be to create a www directory and put some sort of link in. But I'm not sure how to do that either.

As you may be able to tell I'm a bit of a Linux newbie.
Your help is appreciated
Title: changing html directory name
Post by: cjensen on November 21, 2006, 07:54:13 PM
This can be accomplished with the use of the templating system of SME:

http://mirror.contribs.org/smeserver/contribs/gordonr/devguide/html/devguide.html#TEMPLATES

Search there and elsewhere for creating an 'alias', pointing the web content output to a url other than the one that would be output by the location of it's content if left unchanged.

Craig