Can not run mp with xsp.exe on Debian Linux: Web.config issue + patch

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/5/2006 6:55:46 PM
Gravatar
Total Posts 23

Re: Can not run mp with xsp.exe on Debian Linux: Web.config issue + patch

The content that belongs here is too complex to display securely.
2/7/2006 2:44:42 AM
Gravatar
Total Posts 18409

Re: Can not run mp with xsp.exe on Debian Linux: Web.config issue + patch

Hi Alexander,

Thanks for the info. I will add this to the web.config but commented out with instructions to un-comment and edit if running on xsp without apache.

Cheers,

Joe
2/7/2006 10:17:16 AM
Gravatar
Total Posts 148

Re: Can not run mp with xsp.exe on Debian Linux: Web.config issue + patch

Please don't add that to the Web.config.  The webapp config file used by xsp (typically with a .webapp extension) and the Web.config file are not intended to be the same thing and combining them might not work with future versions of xsp.  From the xsp man page:

WEBAPP FILE FORMAT
       The format of the .webapp files used for --appconfigfile and --appcon-
       figdir is:

      
       <web-application>
               {appname}
               {virtual host for application}
               {port for the application}
               {virtual directory in apache}
               {physical path to aspx files}
              
               {true|false}
       </web-application>
      

       You can include any number of <web-application> nodes, one per ASP.NET
       application to run.

       There’s a sample.webapp file in the XSP samples directory.

If you don't want to write a webapp config file, you can use (with an unmodified Web.config):

/opt/mono-1.1.13.2/bin/xsp --applications '/:/var/www/mojoportal/mojoportal/'  --root /var/www/mojoportal/mojoportal --verbose --nonstop &

BTW, I removed the --port option you had since 80 is the default.  I also removed the --https option you had because I don't think it will do anything unless you use some of the other options to specify the cert/key to use.

Hope that helps,

--Dean
2/7/2006 4:54:15 PM
Gravatar
Total Posts 18409

Re: Can not run mp with xsp.exe on Debian Linux: Web.config issue + patch

Thanks Dean,

I thought there was something like that for xsp but didn't get the chance to look it up. I was only going to add it in comments but I won't add it since its not needed.

Cheers,

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