Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.

Commit

Permalink
2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Browse files Browse the repository at this point in the history
	* man/mod_mono.8.in:
	* INSTALL: add documentation about the control panel. Patch by Matthew
	Law.


svn path=/trunk/mod_mono/; revision=53645
  • Loading branch information
gonzalop committed Nov 29, 2005
1 parent 38dcc8a commit de9f800
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -1,3 +1,9 @@
2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* man/mod_mono.8.in:
* INSTALL: add documentation about the control panel. Patch by Matthew
Law.

2005-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* src/mod_mono.c: make auto-hosting work in apache 1.3.
Expand Down
27 changes: 26 additions & 1 deletion INSTALL
Expand Up @@ -119,7 +119,32 @@ Installing mod_mono
so that the default paths for locating mono and mod-mono-server
are set to /usr/local/bin/mono and so on.


The mod_mono Control Panel
--------------------------

mod_mono provides a simple web-based control panel for restarting the
mod-mono-server, which is useful when assemblies need to be reloaded
from disk after they have been changed. To activate the control panel,
place the following in your httpd.conf:

<Location /mono>
SetHandler mono-ctrl
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>

The control panel is then accessible at http://yourdomain.com/mono.
Clicking the link to restart mod-mono-server will immediately restart
it.

The Order/Deny/Allow access controls above restrict access to the
control panel to the computer with IP address 127.0.0.1. Replace this
(or add more Allow lines) with the IP address of your own computer so
that you can access the control panel. You can also use Apache's
htaccess features to password protect it, too.



APPENDIX A: Typical configuration without virtual hosts
--------------------------------------------------------
Expand Down
25 changes: 25 additions & 0 deletions man/mod_mono.8.in
Expand Up @@ -164,6 +164,31 @@ and all the .webapp files found in the directory /var/www/webapp will be
loaded.
.PP
Refer to monodoc documentation on configuring mod_mono for more examples.
.SH THE MOD_MONO CONTROL PANEL
.PP
mod_mono provides a simple web-based control panel for restarting the
mod-mono-server, which is useful when assemblies need to be reloaded
from disk after they have been changed. To activate the control panel,
place the following in your httpd.conf:

.nf
<Location /mono>
SetHandler mono-ctrl
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
.fi

The control panel is then accessible at http://yourdomain.com/mono.
Clicking the link to restart mod-mono-server will immediately restart
it.

The Order/Deny/Allow access controls above restrict access to the
control panel to the computer with IP address 127.0.0.1. Replace this
(or add more Allow lines) with the IP address of your own computer so
that you can access the control panel. You can also use Apache's
htaccess features to password protect it, too.
.SH ENVIRONMENT VARIABLES
.PP
It may modify MONO_PATH, PATH and MONO_SHARED_DIR when starting
Expand Down

0 comments on commit de9f800

Please sign in to comment.