Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# tdanz 9/13/2005 4:30 AM (edited 9/13/2005 4:32 AM)
Hi!

Maybe somebody can help me.
The URL to an article on the frontend like

http://remas.mono.danzl.org/3/section.aspx/6

works with XSP under Debian Linux.

But under apache 1.3 (on the same machine with the same configuration) the server response with

"page http://remas.mono.danzl.org/3/section.aspx/6 not found"

Does anybody know what to do?


(here is my configuration for Apache)
IfModule mod_mono.c
  MonoUnixSocket /tmp/.mod_mono_server
  MonoServerPath /usr/share/dotnet/bin/mod-mono-server.exe
  AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
  MonoApplicationsConfigDir /etc/mono-server
  MonoPath /usr/share/dotnet/lib:/usr/lib:
# start /etc/mono-server/conf.d/rmserver/10_rmserver
     Alias /rmserver "/var/kunden/webs/remas/cms"
       Directory /var/kunden/webs/remas/cms
          AddHandler mono .aspx .ashx .config .ascx .asmx .asax .cs
          IfModule mod_dir.c
              DirectoryIndex index.aspx Default.aspx
           /IfModule
       /Directory
# end /etc/mono-server/conf.d/rmserver/10_rmserver
/IfModule

If I use SetHandler mono instead of AddHandler than this behaviour works. But than I have sometimes the problems with the CSS styles.

cu
Thomas
# martijnb 9/13/2005 4:37 AM
This used to be a bug in mod_mono where urls with pathinfo parameters are not recognized as ASP.NET pages and the request is passed to Apache to serve it as a static page. Thought it was fixed though, but apparantly not :(.
# tdanz 9/13/2005 11:31 AM
hopefully it is fixed in the new 1.9 version ... but I do not have that until now.

we will see...(ci)
# martijnb 9/14/2005 1:18 AM
I wouldn't put my money on it that it's fixed. I reported this issue almost a year ago and it even made it into the mod_mono readme file. Maybe the mono guys consider this as 'by design'.