[Mono-aspnet-list] fastcgi-mono-server on different machine

jam jam at utmp.net
Sat Mar 6 04:43:12 EST 2010


Hello,

I was trying to set my ASP environment on two machines:
   A - apache server
   B - fastcgi server

On server B I compiled mono and xsp (2.6).

I created simple index.aspx page and it works with xsp. But I want fastcgi..

index.aspx is located on B server in directory /home/user/www

I start fasctcgi-mono-server with command:

exec env -i \
PATH="/home/user/mono/bin:$PATH" \
LD_LIBRARY_PATH="/home/user/mono/lib:$LD_LIBRARY_PATH" \
TMP="/home/user/tmp" \
MONO_SHARED_DIR="/home/user/tmp" \
/home/user/mono/bin/fastcgi-mono-server2 /socket=tcp /port=4793 \
/address=0.0.0.0 /applications=/:/home/user/www /root=/home/user/www \
/printlog=True /loglevels=All /verbose=True

On server A I have apache, I don't have access to conf file, I con only
modify .htaccess file.

In debug log on server A I can see that fastcgi-mono-server reads
parameters, i.e.:
DOCUMENT_ROOT = /home2/user/www/user.net/htdocs
SCRIPT_FILENAME = /home2/user/www/user.net/htdocs/

But when I'm trying to open page user.net I got:


Server Error in '/' Application
The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make sure that
it is spelled correctly.

Requested URL: /


Can someone give me a hint what I'm missing? :-(
-- 
View this message in context: http://n4.nabble.com/fastcgi-mono-server-on-different-machine-tp1582717p1582717.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list