[thelist] Consolidated email

Mohan Arun 437341 at gmail.com
Wed Nov 17 03:01:04 CST 2010


My query on cc-licensing:
Thanks all, for the responses clarifying the cc-licensing thing. So I
could offer a parallel license that specifies conditions for
commercial usage of derivatives.

* * *

Bill Moseley wrote:
> My question is this: is it possible to return a correct content type
> (applcation/json) and not have browsers ask to save? ?In other words, is
> there a better approach than using an incorrect text/* content type?

I may be wrong, but why not trigger the form submit using ajax, and
then read the return value (json) inside a function and then translate
the json into user-friendly message in javascript and then display
this message in the browser? I could be wrong, because I am not into
web development much.

* * *
Alex Beston wrote:
>>If I have:
>>http://www.example.com/folder/index.shtml
>>how do I convert it to -
>>http://www.example.com/folder/

You need URL rewrites in htaccess.

Something like this (I am not exactly sure about the syntax)

RewriteEngine on
RewriteRule ^http://www.example.com/folder/index\.shtml$
http://www.example.com/folder/

if you are only looking to serve index.shtml file if the /folder/ is
requested then you can specify this filename as "DirectoryIndex".

http://www.htaccess-guide.com/directoryindex-uses/

instead of naming individual files with different names, use
consistent file naming so this can be accomplished with DirectoryIndex
alone without needing RewriteRule's.

* * *

From: "Nan Harbison"

>>I have a client who wants mediawiki set up for their foundation. Is it as
>>simple to set up as some of the CMS software, like Drupal or Wordpress, you
>>have a page where you enter the db info and adjust some settings? When I
>>looked at some of the directions, it has all the linux/apache commands to
>>use, but I would be setting this up on a webhost.

The install instructions are here:
http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_install_MediaWiki.3F

frm this page:
http://www.mediawiki.org/wiki/Installation

"MediaWiki ships with an installation script which allows web-based
configuration"
So I think you wont need command line access to the host.

But for maintenance you are going to need command-line access: It says
"Local or command line access is needed for running maintenance scripts"


***** *****
Mohan Arun
www.mohanarun.com
*****  *****


More information about the thelist mailing list