dir: '', // home appbulider...
user : '', // the runnning user..
-
+ home : '',
cloneModules : function()
{
this.cloneModule('Pman.Core');
'fastcgi.server = ( ".php" => (( ' + "\n" +
' "bin-path" => "/usr/bin/php5-cgi",' + "\n" +
- ' "socket" => "/home/alan/www/php5.socket" ' + "\n" +
+ ' "socket" => "' + this.home + '/www/php5.socket" ' + "\n" +
' )))' + "\n" +
- 'server.document-root = "/home/alan/www/docs"' + "\n" +
- 'server.upload-dirs = ( "/home/alan/www/uploads" )' + "\n" +
- 'server.errorlog = "/home/alan/www/logs/error.log"' + "\n" +
+ 'server.document-root = "' + this.home + '/www/docs"' + "\n" +
+ 'server.upload-dirs = ( "' + this.home + '/www/uploads" )' + "\n" +
+ 'server.errorlog = "' + this.home + '/www/logs/error.log"' + "\n" +
'index-file.names = ( "index.php", "index.html",' + "\n" +
' "index.htm", "default.htm",' + "\n" +
'static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )' + "\n" +
'server.port = 8090' + "\n" +
'server.bind = "localhost"' + "\n" +
- 'server.pid-file = "/home/alan/www/run/lighttpd.pid"' + "\n" +
+ 'server.pid-file = "' + this.home + '/www/run/lighttpd.pid"' + "\n" +
'dir-listing.encoding = "utf-8"' + "\n" +
'server.dir-listing = "enable"' + "\n" +
- 'server.username = "alan"' + "\n" +
- 'server.groupname = "alan"' + "\n" +
+ 'server.username = "' + this.user + '"' + "\n" +
+ 'server.groupname = "' + this.user + '"' + "\n" +
- 'compress.cache-dir = "/home/alan/cache/lighttpd/compress/"' + "\n" +
+ 'compress.cache-dir = "' + this.home + '/cache/lighttpd/compress/"' + "\n" +
'compress.filetype = ("text/plain", "text/html", "application/x-javascript", "text/css")' + "\n" +
'include_shell "/usr/share/lighttpd/create-mime.assign.pl"' + "\n" +
'include_shell "/usr/share/lighttpd/include-conf-enabled.pl"' + "\n"