[Mono-aspnet-list] mono mvc3 problem

Pablo Ruiz pablo.ruiz at gmail.com
Wed Oct 24 22:18:48 UTC 2012


Either you are missing a chmod/chown on some files/folders, or you need to
tweak (or disable) selinux.

Greets

On Wed, Oct 24, 2012 at 11:45 PM, Alberto León <leontiscar at gmail.com> wrote:

> 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
>
>
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20121025/d812a910/attachment-0001.html>


More information about the Mono-aspnet-list mailing list