Search this site: [Advanced Search]
 

Messages: 1 of 1. Pages: 1
Comments/Replies (0) appear below in chronological order. Comment form is at bottom of page.
Detail on Directory Browsing and File Rendering (#421)
Posted: 8/15/2002; 8:14 AM by Terry Frazier
Reply | Trackback URL | Weblog Permalink
Notes on blocking /gems folder browsing and on rendering text files.
Follow-up to Directory Browsing with Radio.

A couple people have written in about my directory browsing post earlier today. Some thoughts:

Rogers Cadenhead reports that "The Python Community Server, the open source clone of the Radio Community Server at http://www.pycs.net, turns off directory browsing by default."

If you put index.txt in your "gems" folder, nothing will happen. This is because the "gems" folder disables a function in Radio called "rendering" - by which Radio transforms a simple text file into an HTML file and then uploads it to your web site. The gems folder is for any files you specifically want Radio to leave alone... so we need to create an HTML file called index.html that we can save in the gems folder. I've created one - download gems_index.txt (right-click, select "save as") and save it into your gems folder. Rename it index.html (in the gems folder), change the URL from http://your.blog.here/ to your blog URL, and Radio will take care of the rest.

By the way - rendering is a little-known feature in Radio. Create a folder in the "www" folder in Radio. Save a text file in there, wait a few seconds, then go to your web site. You'll have a file formatted with your site template - containing the text from the text file. Play with it a bit - it's a great way to save e-mails to the web, create static files for your web site (it's how I created the about page for this site), and other easy ways to add HTML pages to your site without thinking about it. [tins ::: Rick Klau's weblog]

Total Messages: 1. Pages: 1

Trackbacks

What other weblogs are saying about this topic. Trackback URL: http://www.terryfrazier.com/421/trackback

Reply to message #421...

You must logon before posting a reply

You must login to your account to post a comment. If you do not have an account you can create one here. It's a bit inconvenient but only takes a moment and helps control spam and other bad actors.