After a full install of Slackware64-14.2 to a Virtual-Machine, I updated via slackpkg,
Code:
slackpkg update &&
slackpkg install-new &&
slackpkg upgrade-all
I then installed sbotools and synced to the SlackBuilds.org repository,
Code:
installpkg sbotools-2.3.tar.gz &&
sbosnap fetch
then used sbotools to install mono and xsp,
Code:
sboinstall mono &&
sboinstall xsp
and copied the contents of /usr/lib64/xsp/test to /var/www/htdocs,
Code:
rm -R /var/www/htdocs/* &&
cp -R /usr/lib64/xsp/test/* /var/www/htdocs/
Then I installed mod_mono following the instructions found here:
https://github.com/mono/mod_mono/blob/master/INSTALL.
Code:
tar xvfz mod_mono-*.tar.gz
cd mod_mono-X.Y.Z
./configure --prefix=/usr
make
make install
Then added these lines of code to /etc/httpd/httpd.conf,
Code:
########## Mono stuff ##########
Include /etc/httpd/mod_mono.conf
<Location /mono>
SetHandler mono-ctrl
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
and here's a look at my /etc/httpd/mod_mono.conf it has not been modified,
Code:
# mod_mono.conf
# Achtung! This file may be overwritten
# Use 'include mod_mono.conf' from other configuration file
# to load mod_mono module.
<IfModule !mod_mono.c>
LoadModule mono_module /usr/lib64/httpd/modules/mod_mono.so
</IfModule>
<IfModule mod_headers.c>
Header set X-Powered-By "Mono"
</IfModule>
AddType application/x-asp-net .aspx
AddType application/x-asp-net .asmx
AddType application/x-asp-net .ashx
AddType application/x-asp-net .asax
AddType application/x-asp-net .ascx
AddType application/x-asp-net .soap
AddType application/x-asp-net .rem
AddType application/x-asp-net .axd
AddType application/x-asp-net .cs
AddType application/x-asp-net .vb
AddType application/x-asp-net .master
AddType application/x-asp-net .sitemap
AddType application/x-asp-net .resources
AddType application/x-asp-net .skin
AddType application/x-asp-net .browser
AddType application/x-asp-net .webinfo
AddType application/x-asp-net .resx
AddType application/x-asp-net .licx
AddType application/x-asp-net .csproj
AddType application/x-asp-net .vbproj
AddType application/x-asp-net .config
AddType application/x-asp-net .Config
AddType application/x-asp-net .dll
DirectoryIndex index.aspx
DirectoryIndex Default.aspx
DirectoryIndex default.aspx
I am able to access the mod_mono Control Panel in my web-browser, but any other requests sent, such as 127.0.0.1/index.aspx end with a "503 Service Unavailable". Any help? I've been stuck here for several days. Also, I know that mcs compiler works, because I have compiled a simple hello_world.exe written in C# and it works, also, when I ran xsp in the /var/www/htdocs directory, I was able to view the aspx in my web-browser as described here:
http://www.mono-project.com/docs/web/aspnet/