Windows Web Hosting, Web Technologies, etc
Archive for August, 2005
/blog/ or /blogs/ or what? where do I go…
Aug 26th
So I setup my fancy blog and am good to go. So I announce to my fellow geeks "hey I got a blog" and here's the address: http://www.jesscoburn.com/blog/ but only one problem. My blog is actually at http://www.jesscoburn.com/blogs/ !!! DOH!!
Well, actually this isn’t a problem. By utilizing ISAPI-rewrite from helicontech (http://www.helicontech.com) I can rewrite this url and auto-magically redirect the urls.
So I created a file named httpd.ini in my root folder and in there I placed the following content:
[ISAPI_Rewrite]
RewriteRule ^/blog/(.*) /blogs/$1 [RP]
The [ISAPI_Rewrite] line says this is an ISAPI_Rewrite rule so pay attention (you need this).
The next line is the rule. It translates as follows: ^/blog/(.*) says grab any queries that (^) start with /blog/ and (.*) have anything after them and redirect them to /blogs/ and place the anything that was behind /blog/ back in there. The [RP] says issue this to the browser as a permanent redirect (appearantly search engines like this or so say the guys that translate the clay tablets that all things search engine are inscribed on.
Hello World! My First Blog Post
Aug 1st
The first official geek log er… um… uh… I mean blog post will be on this blog application. The blog is using Community Server by Telligent Systems and blog hosting by Applied Innovations. To create the blog was pretty simply thanks to the AppliedI.net support team:
1. I simply had a SQL2000 database created for me.
2. I uploaded the contents of the community server web folder to my wwwroot folder and opened a support ticket to have my web user given full permissions on the blogs and photos folders.
3. I edited the file installer/default.aspx and changed the line: bool INSTALLER_ENABLED = false; to: bool INSTALLER_ENABLED = true; to enable the installer.
4. I browsed to http://jesscoburn.com/installer/default.aspx and ran through the wizard.
5. After the wizard finished I created a blog group named myblogs and a blog within the group named myblog
6. I then created a gallery group named mygallerys and a gallery named myphotos
7. I headed over to: http://www.qgyen.net/csaddins/singlesite/ I edited Blog Url to blogs instead of blog and left all the other settings as default and clicked the generate! button (I was able to leave it as default because I had created my blog and gallery with the same names it uses by default).
8. I copy and pasted the output of this script into my SiteUrls.Config file replacing the content in it and that was it. My blog and gallery now lives.
Enjoy and if you decide to create a blog I hope you select Applied Innovations (www.appliedi.net) as your hosting provider as they provide low cost, affordable asp.net hosting on the windows 2003 platform and have extensive experience helping web developers setup and host communityserver blogs.
Jess