Introduce defaultHost property for virtual server setup.
This commit is contained in:
parent
c403423c8a
commit
9371ce4704
2 changed files with 4 additions and 2 deletions
|
@ -189,6 +189,6 @@ function processHref(href) {
|
|||
if (vhost)
|
||||
return vhost+href;
|
||||
else
|
||||
return "/"+this.alias+href;
|
||||
return getProperty("defaulthost")+"/"+this.alias+href;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
## uncomment to set base for application generated URLs, if necessary.
|
||||
# baseURI = /antville
|
||||
|
||||
_description = An "easy to maintain and use" weblog hosting system.
|
||||
# description of this app
|
||||
_description = An easy to maintain and use weblog hosting system
|
||||
|
||||
## path where uploaded images will be stored ..
|
||||
## don't forget the trailing slash!
|
||||
|
@ -21,5 +22,6 @@ xmlrpcHandlerName = blogger
|
|||
## options for per-site virtual hosts
|
||||
# rootPrototype=site
|
||||
# hrefFunction=processHref
|
||||
# defaultHost=http://www.default.org
|
||||
## list of host.alias -> vhost mappings
|
||||
# vhost.xyz=http://www.xyz.org
|
||||
|
|
Loading…
Add table
Reference in a new issue