Fixed broken links/unintended redirects
This commit is contained in:
@@ -15,7 +15,7 @@ summary: A web service to support the 2010 40/40 Prayer Vigil
|
||||
|
||||
The [Ethics and Religious Liberty Commission][erlc] of the [Southern Baptist Convention][sbc] is holding a "[40/40 Prayer Vigil][site]," encouraging prayer through the end of October. While some of the prayer is focused on the upcoming elections, the focus is on national revival. They have produced a prayer guide, which details suggestions for prayer over the course of 40 days, beginning September 20th, and for 40 hours, beginning October 29th at 4pm.
|
||||
|
||||
We have created a web service to break this guide up into day and hour-sized chunks. The service <del>is</del> _(UPDATE: was)_ at http://services.djs-consulting.com/FortyForty.asmx. There are several ways to retrieve this information.
|
||||
We have created a web service to break this guide up into day and hour-sized chunks. The service is <del>at this URL</del> no longer active. There are several ways to retrieve this information.
|
||||
|
||||
* **GetDay**
|
||||
This gets one of the 40 days, by the day number. (September 20th is 1, September 21st is 2, etc.) The "day" parameter controls which day is returned.
|
||||
@@ -35,6 +35,6 @@ If you're not interested in consuming the web service, but you'd like to see the
|
||||
This web service will be discontinued at some point after December 31, 2010.
|
||||
|
||||
|
||||
[erlc]: //erlc.com "The Ethics and Religious Liberty Commission of the Southern Baptist Convention"
|
||||
[sbc]: //www.sbc.net "Southern Baptist Convention"
|
||||
[site]: //www.4040prayer.com "40/40 Prayer Vigil"
|
||||
[erlc]: http://erlc.com "The Ethics and Religious Liberty Commission of the Southern Baptist Convention"
|
||||
[sbc]: http://www.sbc.net "Southern Baptist Convention"
|
||||
[site]: //4040prayer.wordpress.com "40/40 Prayer Vigil"
|
||||
|
||||
@@ -16,7 +16,7 @@ tags:
|
||||
summary: A script that allows Mono web applications to be defined and started the way Apache and nginx enable and disable their sites
|
||||
---
|
||||
|
||||
We've begun running Mono on some DJS Consulting servers to enable us to support the .NET environment, in addition to the PHP environment most of our other applications use. While Ubuntu has nice packages (and [Badgerports][] even brings them up to the latest release), one thing that we were missing was a "conf.d"-type of configuration; my "/applications=" clause of the command was getting really, really long. We decided to see if we could create something similar to Apache / Nginx's sites-available/sites-enabled paradigm, and we have succeeded!
|
||||
We've begun running Mono on some DJS Consulting servers to enable us to support the .NET environment, in addition to the PHP environment most of our other applications use. While Ubuntu has nice packages (and Badgerports even <del>brings</del> brought them up to the latest release), one thing that we were missing was a "conf.d"-type of configuration; my "/applications=" clause of the command was getting really, really long. We decided to see if we could create something similar to Apache / Nginx's sites-available/sites-enabled paradigm, and we have succeeded!
|
||||
|
||||
To begin, you'll need to create the directories `/etc/mono/fcgi/apps-available` and `/etc/mono/fcgi/apps-enabled`. These directories will hold files that will be used define applications. The intent of these directories is to put the actual files in `apps-available`, then symlink the ones that are enabled from `apps-enabled`. These files have no name restrictions, but do not put an extra newline character in them. The script will concatenate the contents of that file to create the [MONO_FCGI_APPLICATIONS environment variable][env], which tells the server what applications exist. (The syntax is the same as that for the "/applications=" clause - `[domain]:[URL path]:[filesystem path]`.) Here's how the site you're reading now is configured (from the file `djs-consulting.com.techblog.conf`)...
|
||||
|
||||
@@ -24,7 +24,7 @@ To begin, you'll need to create the directories `/etc/mono/fcgi/apps-available`
|
||||
techblog.djs-consulting.com:/:/path/to/install/base/for/this/site
|
||||
{% endcodeblock %}
|
||||
|
||||
Finally, what brings it all together is a shell script. This should be named "monoserve" and placed in `/etc/init.d`. (This borrows heavily from [this script][scr], which we used until we wrote this one.) Note the group of variables surrounded by the "make changes here" notes - these are the values that are used in starting the server. They are at the top so that you can easily modify this for your own needs.
|
||||
Finally, what brings it all together is a shell script. This should be named "monoserve" and placed in `/etc/init.d`. (This borrows heavily from <del>this script</del> a script we found online, which we used until we wrote this one.) Note the group of variables surrounded by the "make changes here" notes - these are the values that are used in starting the server. They are at the top so that you can easily modify this for your own needs.
|
||||
|
||||
{% codeblock monoserve lang:shell %}
|
||||
#/bin/bash
|
||||
@@ -132,6 +132,4 @@ exit 0
|
||||
This needs to be owned by root and be executable (`chmod +x monoserve`). You can use `update-rc.d monoserve defaults` to set this to start at boot.
|
||||
|
||||
|
||||
[Badgerports]: //badgerports.org "Badgerports"
|
||||
[env]: //www.mono-project.com/FastCGI "FastCGI • Mono Project"
|
||||
[scr]: //tomi.developmententity.sk/Blog/Post/2 "Linux startup script for mono FastCGI server • Keep Coding"
|
||||
[env]: http://www.mono-project.com/docs/web/fastcgi/ "FastCGI • Mono Project"
|
||||
|
||||
@@ -22,7 +22,7 @@ After three years on [WordPress][], the DJS Consulting Tech Blog has moved to [B
|
||||
* Since I first looked at Mono (Linux's implementation of the .NET framework), it has matured significantly. It supports most of C# 4.0 already, which was released earlier this year.
|
||||
* BlogEngine.NET is a rapidly-maturing blog platform, and the project has a stated goal of 100% compatibility with Mono. This is good, because you can mention Mono problems to the team, and you're not dismissed because you're running Linux.
|
||||
|
||||
As part of the move, the URL has changed; the new link is <https://techblog.djs-consulting.com>. I have implemented redirection for each post, the category and category feed links, and the main blog feed and home page from the old URL, so you may not have even realized that you're looking at the new site. The DJS Consulting Software Repository remains at <https://hosted.djs-consulting.com/software>.
|
||||
As part of the move, the URL has changed; the new link is <https://techblog.djs-consulting.com>. I have implemented redirection for each post, the category and category feed links, and the main blog feed and home page from the old URL, so you may not have even realized that you're looking at the new site. The DJS Consulting Software Repository remains at <https://hosted.djs-consulting.com/software/>.
|
||||
|
||||
I'm looking forward to this new setup!
|
||||
|
||||
@@ -30,4 +30,4 @@ _(NOTE: The next-to-last paragraph was updated with correct links as of February
|
||||
|
||||
|
||||
[WordPress]: //wordpress.org "WordPress"
|
||||
[BlogEngine.NET]: //dotnetblogengine.net "BlogEngine.NET"
|
||||
[BlogEngine.NET]: http://dnbe.net/docs/ "BlogEngine.NET"
|
||||
|
||||
Reference in New Issue
Block a user