Holy tamole!!!
I take a lot of my words from my earlier post and comments back! I got it running!
So what did I do wrong the first time?
This time I installed an Ubuntu 7.04 Desktop, the previous time I had installed the server version. (in retrospect I think it will work on a server edition too).
I followed Timani’s first post to the letter. Everything was fine and dandy and the xsp2 webserver was happily serving on port 8080. Only one small issue: his post says:
For the ASP.NET 2.0 environment
$ cd /usr/share/asp.net2-demos/
$ xsp2
$ sudo cp /usr/share/asp.net2-demos/index.aspx /usr/share/asp.net2-demos/index2.aspx
But this should be
For the ASP.NET 2.0 environment
$ cd /usr/share/asp.net2-demos/
$ sudo cp /usr/share/asp.net2-demos/index.aspx /usr/share/asp.net2-demos/index2.aspx
$ xsp2
Notice the cp statement comes before running the webserver.
Now came the time to get apache serving the aps.net apps
I headed over to Timani’s second post and again followed it rigidly.
Everything went fine until I got to sudo a2enmod mod_mono. This said the module was already enabled. Step 2 was also not needed. The module was loaded already.
After everything was done I pointed my browser to: http://localhost/AspOnApache/
Nothing nada zip
I was very dissapointed, again… A nice 503 greeted me, again… I thought this cannot be, what is the matter here.
So then, I looked very carefully at the configuration file /etc/apache2/apache2.conf. I noticed that from copy/pasting from Timani’s post some quotes (“) where replaced by a dot (.). Don’t ask, I dont know why.
After retouching the conf, I reloaded apache again and reloaded http://localhost/AspOnApache/ in my browser. WELL WELL!!! It shouted a parser error at me! At least apache wasn’t hicking up anymore.
In the aspx file, the same foul play as with the conf happened, so I gave the aspx some love and reloaded http://localhost/AspOnApache/ once more.
IT WORKS!!!
Last notes: thanks to Timani and Viraptor for gently kicking me in the rear end! Persistance does pay off!
What next? I’ll see if I can serve some small asp.net 2.0 app i created some time ago. I’ll post the results.
UPDATE: *** I’ve struggled some more these last few days, trying to get two apps of mine to run on the box. To no avail, I’m giving it up for now, due to too much work ***