Mono/Ubuntu/Lighttpd and Mojoportal

mojoPortal is no longer supported on mono. This forum is here for archival purposes.

This thread is closed to new posts. You must sign in to post in the forums.
10/30/2009 12:16:39 AM
Gravatar
Total Posts 101

Mono/Ubuntu/Lighttpd and Mojoportal

Hi,

Anyone seen/explain whats happening with Ubuntu 9.04+Lighttpd+Mono 2.4.2.3 (monoxide) and Mojoportal 2.3.1.9 ?

The Setup/Default is displaying the length of each line at the beginning of each line. (see below)

=======================================

247 mojoPortal Content Management System

Welcome to mojoPortal Setup

16 Probing system...

20 File system permissions ok.

23 SQLite database connection ok.

39 database permissions are sufficient to alter schema.

etc...

========================================

 

Mono Config steps for Ubuntu 9.04 (assuming lighttpd installed already).

 



vi /etc/apt/sources.list

 

deb http://ppa.launchpad.net/directhex/monoxide/ubuntu jaunty main

deb-src http://ppa.launchpad.net/directhex/monoxide/ubuntu jaunty main

 

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 23DC003A

 

apt-get update

 

apt-get install mono-complete

apt-get install mono-xsp

apt-get install mono-fastcgi-server2

 

vi /etc/lighttpd/conf-available/10-fastcgi.conf

 

---- Paste the content below into the fastcgi.

 

index-file.names += ( "index.aspx", "default.aspx", "index.php", "default.php" )

var.mono_dir = "/usr/"

var.mono_shared_dir = "/tmp/"

var.mono_fastcgi_server = mono_dir + "bin/" + "fastcgi-mono-server2"

var.mono_fcgi_root = server.document-root

var.mono_fcgi_applications = "/:."

 

server.modules += ( "mod_fastcgi" )

 

 

fastcgi.map-extensions = (

".asmx" => ".aspx",

".ashx" => ".aspx",

".asax" => ".aspx",

".ascx" => ".aspx",

".soap" => ".aspx",

".rem" => ".aspx",

".axd" => ".aspx",

".cs" => ".aspx",

".config" => ".aspx",

".dll" => ".aspx"

)

 

$HTTP["url"] !~ "\.php$" {

fastcgi.server = (

"" => ((

"socket" => mono_shared_dir + "fastcgi-mono-server",

"bin-path" => mono_fastcgi_server,

"bin-environment" => (

"PATH" => "/bin:/usr/bin:" + mono_dir + "bin",

"LD_LIBRARY_PATH" => mono_dir + "lib:",

"MONO_SHARED_DIR" => mono_shared_dir,

"MONO_FCGI_LOGLEVELS" => "Standard",

"MONO_FCGI_LOGFILE" => mono_shared_dir + "fastcgi.log",

"MONO_FCGI_ROOT" => mono_fcgi_root,

"MONO_FCGI_APPLICATIONS" => mono_fcgi_applications

),

"max-procs" => 1,

"check-local" => "disable"

))

)

}

 

fastcgi.server = (

".php" => ((

"socket" => "/tmp/php-fastcgi",

"bin-path" => "/usr/bin/php-cgi",

"bin-environment" => (

"PHP_FCGI_CHILDREN" => "16",

"PHP_FCGI_MAX_REQUESTS" => "10000"

)

))

)

 

 

---- Restart lighttp to load changes

 

/etc/init.d/lighttpd stop

/etc/init.d/lighttpd start

 

 

You must sign in to post in the forums. This thread is closed to new posts.