[Mono-aspnet-list] mono mvc3 problem

Alberto León leontiscar at gmail.com
Wed Oct 24 21:45:05 UTC 2012


Seems apache can't access to root or index in an MVC3 application

[Wed Oct 17 23:26:57 2012] [error] [client 85.55.45.215] (13)Permission
denied: access to / denied
[Wed Oct 17 23:26:58 2012] [error] [client 85.55.45.215] (13)Permission
denied: access to / denied
[Wed Oct 17 23:26:58 2012] [error] [client 85.55.45.215] (13)Permission
denied: access to / denied
[Wed Oct 17 23:29:07 2012] [error] [client 85.55.45.215] (13)Permission
denied: access to /Refresh.html denied
[Wed Oct 17 23:33:34 2012] [error] [client 85.55.45.215] (13)Permission
denied: access to /Refresh.html denied
[Wed Oct 17 23:33:38 2012] [error] [client 85.55.45.215] (13)Permission
denied: access to /index.php denied
[Wed Oct 17 23:33:38 2012] [error] [client 85.55.45.215] (13)Permission
denied: access to /index.html denied
[Wed Oct 17 23:33:38 2012] [error] [client 85.55.45.215] (13)Permission
denied: access to /index.html.var denied
[Wed Oct 17 23:33:38 2012] [error] [client 85.55.45.215] (13)Permission
denied: access to /index.aspx denied
[Wed Oct 17 23:33:38 2012] [error] [client 85.55.45.215] (13)Permission
denied: access to /Default.aspx denied
[Wed Oct 17 23:33:38 2012] [error] [client 85.55.45.215] (13)Permission
denied: access to /default.aspx denied

I'm triying to install Orchard

This is my conf file

<VirtualHost *:80>
    ServerAdmin root at localhost
    ServerName www.mydomain.com

    # Change the path below to suit your configuration
    DocumentRoot /var/www/www.mydomain.com/public_html

    # The paths used here should be common for all Linux distributions
    ErrorLog /var/www/www.mydomain.com/logs/error.log
    CustomLog /var/www/www.mydomain.com/logs/access.log combined

    HostnameLookups Off
    UseCanonicalName Off
    ServerSignature On

    # Make ABSOLUTELY sure that the path in double quotes ends with a slash!
    Alias / "/var/www/www.mydomain.com/public_html/"

    AddMonoApplications OrchardDemo "/:/var/www/www.mydomain.com/public_html
"

    # Orchard is a .NET 4.0 application. If your Mono was installed in a
different prefix, replace /usr/bin/ with that prefix below.
    MonoServerPath www.mydomain.com /usr/local/mod-mono-server4

    # Helps when you get stack traces
    MonoDebug www.mydomain.com True

    # Orchard assumes a case-insensitive filesystem
    MonoIOMAP www.mydomain.com all

    <Directory "/var/www/www.mydomain.com/public_html">
    SetHandler mono
    MonoSetServerAlias www.mydomain.com
    </Directory>
</VirtualHost>


-- 

http://stackoverflow.com/users/690958/alberto-leon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20121024/35460d10/attachment.html>


More information about the Mono-aspnet-list mailing list