[Mono-list] .ASP vs .ASPX
Robert Jordan
robertj at gmx.net
Tue Jan 19 16:44:36 EST 2010
On 09.01.2010 23:53, itchibahn wrote:
>
> I've just installed mod_mono on FreeBSD7 / Apache22. And the sample page
> comes up ok, but I changed the sample page extension to .asp from .aspx, and
> modified mod_mono.conf to reflect it (shown below), but it's not coming up.
> I made sure I restarted the Apache but no luck. I've tried "killall -HUP
> mono" to restart mono as well. Suggestion would be welcome...
>
> httpd.conf
> ...
> Include etc/apache22/Includes/*.conf
> ...
>
> Includes/mod_mono.conf
> ...
> AddType application/x-asp-net .asp
> AddType application/x-asp-net .aspx
> ...
> ...
> DirectoryIndex index.asp
> DirectoryIndex index.aspx
> ...
>
This is by far not enough. You have to scan etc/mono/2.0/web.config
for aspx reference and replicate these entries in the web.config of
your application.
But why do feel like having to change this extension?
Robert
More information about the Mono-list
mailing list