This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.initDB = initDB; | |
exports.setLogging = setLogging; | |
exports.readDocument = readDocument; | |
exports.readDesign = readDesign; | |
exports.saveDocument = saveDocument; | |
var idsArray = []; | |
exports.idsArray = idsArray; | |
idsServicesObject = []; | |
exports.idsServicesObject = idsServicesObject; | |
var mappedServiceUpOnStartUp = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.Set 1: At first create virtual host for common url | |
<VirtualHost *:80> | |
DocumentRoot "E:/wamp/www" | |
ServerName localhost | |
ServerAlias localhost | |
</VirtualHost> | |
Here localhost will work for acess Apache | |
2.Vitual Host for Zend framework2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// require the native http module, as well as director. | |
// | |
var couchdb = require('./Libraries/couchdb'); | |
var url = require('url'); | |
var http = require('http'), | |
Plates = require('plates'), | |
fs = require('fs'), | |
util = require('util'); | |
var winston = require('winston'); |