Fixed broken links/unintended redirects
This commit is contained in:
parent
2f8754fc15
commit
b1d144d753
|
@ -57,6 +57,6 @@ foreach($aCategories as $iThisCat) {
|
||||||
This is another option, and is probably what I'll use for single-language posts, or posts where the embedded language may not be crucial.
|
This is another option, and is probably what I'll use for single-language posts, or posts where the embedded language may not be crucial.
|
||||||
|
|
||||||
|
|
||||||
[wp-syntax]: //wordpress.org/extend/plugins/wp-syntax/ "WP Syntax Plugin"
|
[wp-syntax]: //wordpress.org/plugins/wp-syntax/ "WP Syntax Plugin"
|
||||||
[GeSHi]: //qbnz.com/highlighter/ "GeSHi"
|
[GeSHi]: http://qbnz.com/highlighter/ "GeSHi"
|
||||||
[Jekyll]: //jekyllrb.com "Jekyll"
|
[Jekyll]: //jekyllrb.com "Jekyll"
|
||||||
|
|
|
@ -26,6 +26,6 @@ So how do you do it? It's actually pretty easy, using the [Code Markup][] WordPr
|
||||||
A big "atta boy" to [Bennet McElwee][] for a fantastic plugin!
|
A big "atta boy" to [Bennet McElwee][] for a fantastic plugin!
|
||||||
|
|
||||||
|
|
||||||
[TinyMCE]: //tinymce.moxiecode.com "TinyMCE"
|
[TinyMCE]: //www.tinymce.com "TinyMCE"
|
||||||
[Code Markup]: //www.thunderguy.com/semicolon/wordpress/code-markup-wordpress-plugin "Code Markup Plug-in - Semicolon"
|
[Code Markup]: //thunderguy.com/semicolon/wordpress/code-markup-wordpress-plugin/ "Code Markup Plug-in - Semicolon"
|
||||||
[Bennet McElwee]: //www.thunderguy.com/semicolon/ "Semicolon - by Bennett McElwee"
|
[Bennet McElwee]: //thunderguy.com/semicolon/ "Semicolon - by Bennett McElwee"
|
||||||
|
|
|
@ -25,4 +25,4 @@ Now, you can easily create a DTS script through SQL Server to push or pull data
|
||||||
Happy migrating!
|
Happy migrating!
|
||||||
|
|
||||||
|
|
||||||
[ic]: //www.oracle.com/technology/tech/oci/instantclient/index.html "Download Oracle Instant Client"
|
[ic]: http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html "Download Oracle Instant Client"
|
||||||
|
|
|
@ -16,4 +16,4 @@ Version 2.3 of WordPress, the blogging software I use to produce this blog (as w
|
||||||
There's lots more information on the [WordPress Development Blog][dev] - I won't go into the details here. I'm confident this will be a smooth upgrade. I just wanted to let you know in case some things look strange, I'm on it.
|
There's lots more information on the [WordPress Development Blog][dev] - I won't go into the details here. I'm confident this will be a smooth upgrade. I just wanted to let you know in case some things look strange, I'm on it.
|
||||||
|
|
||||||
|
|
||||||
[dev]: //wordpress.org/development "Development Blog - WordPress.org"
|
[dev]: //wordpress.org/news/ "Development Blog - WordPress.org"
|
||||||
|
|
|
@ -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.
|
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**
|
* **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.
|
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.
|
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"
|
[erlc]: http://erlc.com "The Ethics and Religious Liberty Commission of the Southern Baptist Convention"
|
||||||
[sbc]: //www.sbc.net "Southern Baptist Convention"
|
[sbc]: http://www.sbc.net "Southern Baptist Convention"
|
||||||
[site]: //www.4040prayer.com "40/40 Prayer Vigil"
|
[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
|
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`)...
|
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
|
techblog.djs-consulting.com:/:/path/to/install/base/for/this/site
|
||||||
{% endcodeblock %}
|
{% 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 %}
|
{% codeblock monoserve lang:shell %}
|
||||||
#/bin/bash
|
#/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.
|
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]: http://www.mono-project.com/docs/web/fastcgi/ "FastCGI • Mono Project"
|
||||||
[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"
|
|
||||||
|
|
|
@ -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.
|
* 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.
|
* 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!
|
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"
|
[WordPress]: //wordpress.org "WordPress"
|
||||||
[BlogEngine.NET]: //dotnetblogengine.net "BlogEngine.NET"
|
[BlogEngine.NET]: http://dnbe.net/docs/ "BlogEngine.NET"
|
||||||
|
|
|
@ -24,4 +24,4 @@ To run it, click the Windows icon on the bottom left of the task bar, type "cmd"
|
||||||
Finally, Microsoft has released [Microsoft Security Essentials][mse], an anti-virus/anti-malware program for Windows XP through 7. If you're tired of "buy the real version" nags or renewing subscriptions, this is the tool for you. It's a tool that many feel should have been included in Windows for a long time (though the reasons why it hasn't been are outside the scope of this how-to), it works well, and it's free.
|
Finally, Microsoft has released [Microsoft Security Essentials][mse], an anti-virus/anti-malware program for Windows XP through 7. If you're tired of "buy the real version" nags or renewing subscriptions, this is the tool for you. It's a tool that many feel should have been included in Windows for a long time (though the reasons why it hasn't been are outside the scope of this how-to), it works well, and it's free.
|
||||||
|
|
||||||
|
|
||||||
[mse]: //www.microsoft.com/security/pc-security/mse.aspx "Microsoft Security Essentials"
|
[mse]: //www.microsoft.com/en-us/safety/pc-security/microsoft-security-essentials.aspx "Microsoft Security Essentials"
|
||||||
|
|
|
@ -43,4 +43,4 @@ So, there you have it. Enjoy!
|
||||||
|
|
||||||
[Tech Blog 2.0]: /2010/tech-blog-2-0.html "Tech Blog 2.0 • DJS Consulting Tech Blog"
|
[Tech Blog 2.0]: /2010/tech-blog-2-0.html "Tech Blog 2.0 • DJS Consulting Tech Blog"
|
||||||
[WordPress]: //wordpress.org "WordPress"
|
[WordPress]: //wordpress.org "WordPress"
|
||||||
[BlogEngine]: //dotnetblogengine.net "BlogEngine.NET"
|
[BlogEngine]: http://dnbe.net/docs/ "BlogEngine.NET"
|
||||||
|
|
|
@ -27,12 +27,12 @@ Back in 2010, we wrote a [web service][post] for the [40/40 Prayer Vigil][4040]
|
||||||
|
|
||||||
This year, we have developed a reusable web service that should hold up for 2014 and beyond. _(Acronym alert - non-programmers skip the next sentence.)_ This one has a <acronym title="Representational State Translation">REST</acronym> <acronym title="Application Programming Interface">API</acronym> instead of <acronym title="Simple Object Access Protocol">SOAP</acronym> and <acronym title="Web Services Definition Language">WSDL</acronym>, and supports <acronym title="Extensible Markup Language">XML</acronym>, <acronym title="JavaScript Object Notation">JSON</acronym>, and <acronym title="HyperText Markup Language">HTML</acronym> output formats. This year, it also supports both English and Español.
|
This year, we have developed a reusable web service that should hold up for 2014 and beyond. _(Acronym alert - non-programmers skip the next sentence.)_ This one has a <acronym title="Representational State Translation">REST</acronym> <acronym title="Application Programming Interface">API</acronym> instead of <acronym title="Simple Object Access Protocol">SOAP</acronym> and <acronym title="Web Services Definition Language">WSDL</acronym>, and supports <acronym title="Extensible Markup Language">XML</acronym>, <acronym title="JavaScript Object Notation">JSON</acronym>, and <acronym title="HyperText Markup Language">HTML</acronym> output formats. This year, it also supports both English and Español.
|
||||||
|
|
||||||
The REST API start page <del>is</del> _(UPDATE: was)_ at http://services.djs-consulting.com/FortyForty. The prayer guides require an output format, a language, the Scripture version, whether the guide is for a day or an hour, and the day or hour number. There are lookup transactions for lists of available output formats, languages, and Scripture versions, and lookups for converting a date to a day number and a date/time to an hour number.
|
The REST API start page is <del>at this URL</del> no longer active. The prayer guides require an output format, a language, the Scripture version, whether the guide is for a day or an hour, and the day or hour number. There are lookup transactions for lists of available output formats, languages, and Scripture versions, and lookups for converting a date to a day number and a date/time to an hour number.
|
||||||
|
|
||||||
There will be a WordPress plug-in shortly that will utilize this to display the current day or hour's prayer guide directly on your blog; we'll make another post when that is available. Also, starting September 26th (the first day of the vigil), it will be available for display with no login required at the Hoffmantown Prayer and [PrayerTracker][pt] websites. Developers, the service is available now; if you want to write code to utilize the service, you've got 3 months to make it work!
|
There will be a WordPress plug-in shortly that will utilize this to display the current day or hour's prayer guide directly on your blog; we'll make another post when that is available. Also, starting September 26th (the first day of the vigil), it will be available for display with no login required at the Hoffmantown Prayer and [PrayerTracker][pt] websites. Developers, the service is available now; if you want to write code to utilize the service, you've got 3 months to make it work!
|
||||||
|
|
||||||
|
|
||||||
[post]: /2010/4040-web-service.html "40/40 Web Service • DJS Consulting Tech Blog"
|
[post]: /2010/4040-web-service.html "40/40 Web Service • DJS Consulting Tech Blog"
|
||||||
[4040]: //erlc.com/4040 "40/40 Prayer Vigil • ERLC"
|
[4040]: //4040prayer.wordpress.com "40/40 Prayer Vigil"
|
||||||
[erlc]: //erlc.com "Ethics and Religious Liberty Commission"
|
[erlc]: http://erlc.com "Ethics and Religious Liberty Commission"
|
||||||
[pt]: //prayer.djs-consulting.com "PrayerTracker"
|
[pt]: //prayer.djs-consulting.com "PrayerTracker"
|
||||||
|
|
|
@ -16,5 +16,5 @@ The plugin provides a widget that utilizes [the web service about which we previ
|
||||||
Version 2012.0 is the version that's up there now. The Spanish translations of the options menu is not done yet, but you can specify Spanish prayer guides. Version 2012.1 will contain the localized options menu. If you run into any problems using it, you can submit issues against it at its WordPress Plugin Directory page.
|
Version 2012.0 is the version that's up there now. The Spanish translations of the options menu is not done yet, but you can specify Spanish prayer guides. Version 2012.1 will contain the localized options menu. If you run into any problems using it, you can submit issues against it at its WordPress Plugin Directory page.
|
||||||
|
|
||||||
|
|
||||||
[pi]: //wordpress.org/extend/plugins/4040-prayer-vigil/ "40/40 Prayer Vigil • WordPress Plugin Directory"
|
[pi]: //wordpress.org/plugins/4040-prayer-vigil/ "40/40 Prayer Vigil • WordPress Plugin Directory"
|
||||||
[post]: /2012/4040-web-service-for-2012.html "40/40 Web Service for 2012 • DJS Consulting Tech Blog"
|
[post]: /2012/4040-web-service-for-2012.html "40/40 Web Service for 2012 • DJS Consulting Tech Blog"
|
||||||
|
|
|
@ -76,4 +76,4 @@ public class ExampleClass
|
||||||
{% endcodeblock %}
|
{% endcodeblock %}
|
||||||
|
|
||||||
|
|
||||||
[async]: //msdn.microsoft.com/EN-US/library/vstudio/hh191443(v=vs.110).aspx "Asynchronous Programming with Async and Await - MSDN"
|
[async]: //msdn.microsoft.com/EN-US/library/hh191443(v=vs.110).aspx "Asynchronous Programming with Async and Await - MSDN"
|
||||||
|
|
|
@ -12,5 +12,5 @@ We at DJS Consulting love Linux! Below are the resources we provide.
|
||||||
|
|
||||||
[averatec]: /linux/installing-wbel4-rhel4-on-an-averatec-6200-laptop/
|
[averatec]: /linux/installing-wbel4-rhel4-on-an-averatec-6200-laptop/
|
||||||
[xine]: /linux/xine-rpms-for-el-x86_64-architecture/
|
[xine]: /linux/xine-rpms-for-el-x86_64-architecture/
|
||||||
[repo]: //hosted.djs-consulting.com/software
|
[repo]: //hosted.djs-consulting.com/software/
|
||||||
[posts]: /category/linux/
|
[posts]: /category/linux/
|
|
@ -5,7 +5,7 @@ footer#footer(role='contentinfo')
|
||||||
| Design Inspired by #[a(target='_blank' href='//www.cryoutcreations.eu' title='Mantra Theme by Cryout Creations') Mantra]
|
| Design Inspired by #[a(target='_blank' href='//www.cryoutcreations.eu' title='Mantra Theme by Cryout Creations') Mantra]
|
||||||
div(style='text-align:center;clear:both;padding-top:4px;').
|
div(style='text-align:center;clear:both;padding-top:4px;').
|
||||||
#[a(href='/' title='DJS Consulting Tech Blog' rel='home') DJS Consulting Tech Blog] | Generated by
|
#[a(href='/' title='DJS Consulting Tech Blog' rel='home') DJS Consulting Tech Blog] | Generated by
|
||||||
#[a(href='//hexo.io' title='Hexo') Hexo] | Served by #[a(href='//nginx.com' title='nginx') nginx] | Secured by
|
#[a(href='//hexo.io' title='Hexo') Hexo] | Served by #[a(href='//www.nginx.com' title='nginx') nginx] | Secured by
|
||||||
#[a(href='//letsencrypt.org') Let's Encrypt]
|
#[a(href='//letsencrypt.org') Let's Encrypt]
|
||||||
#sfooter.socials
|
#sfooter.socials
|
||||||
a(target='_blank' rel='nofollow' href='/feed.xml' class='socialicons social-RSS' title='RSS'): img(alt='RSS' src='/img/social-rss.png')
|
a(target='_blank' rel='nofollow' href='/feed.xml' class='socialicons social-RSS' title='RSS'): img(alt='RSS' src='/img/social-rss.png')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user