[Mono-list] Mono on CentOS 4 / Plesk 9

bcrooker britainc at fifthorder.com
Fri Feb 20 23:05:05 EST 2009

I have installed Mono, XSP and Mod_Mono on our VPS.  If I try to access the
XSP Test code (after copying it to a subfolder of our domain) we get the
following in the error log:

System.UnauthorizedAccessException: Access to the path
"/var/www/vhosts/mydomain.com/httpdocs" is denied.
  at System.IO.Directory.GetFileSystemEntries (System.String path,
System.String searchPattern, FileAttributes mask, FileAttributes attrs)
  at System.IO.Directory.GetFiles (System.String path, System.String
searchPattern) [0x00000]
  at System.IO.DirectoryInfo.GetFiles (System.String searchPattern)
  at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:GetFiles
  at Mono.WebServer.ModMonoWorker.CheckDirectory (System.IO.DirectoryInfo
info) [0x00000]
  at Mono.WebServer.ModMonoWorker.GetOrCreateApplication (System.String
vhost, Int32 port, System.String filepath, System.String virt) [0x00000]
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000]
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000]
[Fri Feb 20 22:59:09 2009] [error] (70014)End of file found: read_data
[Fri Feb 20 22:59:09 2009] [error] Command stream corrupted, last command
was -1

We are using the standard autohosting setup.

If I run XSP, I can browse to it using the 8080 port and it seems to work
View this message in context: http://www.nabble.com/Mono-on-CentOS-4---Plesk-9-tp22132612p22132612.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list