Hi,

With thanks to Rafael, the postgres stuff is working.

Just one thing left with mod_mono (on suse 9.2):

in my error_log i get:
[Thu Mar 24 06:28:12 2005] [error] Not running mod-mono-server.exe because no MonoApplications, MonoApplicationsConfigFile or MonoApplicationConfigDir specified.


But in my /etc/apache2/vhosts.d/mojo.e-media.com.au.conf file i have the following which is a combination of the vhosts template and the man mod_mono sample:

<VirtualHost mojo.e-media.com.au:80>
   ServerAdmin [EMAIL PROTECTED]
   ServerName mojo.e-media.com.au
   DocumentRoot /srv/www/vhosts/mojo.e-media.com.au
   ErrorLog /var/log/apache2/mojo.e-media.com.au-error_log
   CustomLog /var/log/apache2/mojo.e-media.com.au-access_log combined
   HostnameLookups Off
   UseCanonicalName Off
   ServerSignature On

   <IfModule mod_userdir.c>
       UserDir public_html
       Include /etc/apache2/mod_userdir.conf
   </IfModule>

   Alias /demo "/usr/share/doc/xsp/test"
   MonoApplications "/demo:/usr/share/doc/xsp/test"
   <Location /demo>
       SetHandler mono
   </Location>

   <Directory "/srv/www/vhosts/mojo.e-media.com.au">
       Options Indexes FollowSymLinks
       AllowOverride None
       Order allow,deny
       Allow from all
   </Directory>
</VirtualHost>


My html pages show fine, it is only when i try to view the demo page that i get a 403 and the following in my vhost log:
[Thu Mar 24 06:49:10 2005] [error] [client 192.168.104.209] (13)Permission denied: access to /demo/ denied


But this looks more like its cascading from the initial startup problem.

Can you put the MonoApplications directive within a VirtualHost element ? or are there any other steps needed to make it work in this way ?

Regards,
Nik
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to