New Zope site... maybe
I stumbled on this page today: www.desktoplinux.com A pretty nice-looking portal. I can't find any mention of what they're running, but something about it said "zope" to me... but netcraft says it's running apache. Well, OK, we know that doesn't necessarily mean it's not zope. Curious, I played around and discovered something: Take any page on their site. These, for example: http://www.desktoplinux.com/products/index.html http://www.desktoplinux.com/articles/AT9545254683.html Chop off .html, and replace it with /index_html: http://www.desktoplinux.com/products/index/index_html http://www.desktoplinux.com/articles/AT9545254683/index_html No matter what, you get the same thing as if you went to: http://www.desktoplinux.com/index_html Smells like Acquisition! -- paul winkler home: http://www.slinkp.com music: http://www.reacharms.com calendars: http://www.calendargalaxy.com
From: "Paul Winkler" <slinkp23@yahoo.com>
I stumbled on this page today: www.desktoplinux.com
A pretty nice-looking portal. I can't find any mention of what they're running, but something about it said "zope" to me...
Nope. Three immedeate giveaways: 1. They are using index.html files. Never seen a Zope site doing that. It would be majorly weird. 2. The polls are made via /cgi-bin/ . 3. Type /manage and see what happens... :-)
Chop off .html, and replace it with /index_html: http://www.desktoplinux.com/products/index/index_html http://www.desktoplinux.com/articles/AT9545254683/index_html
No matter what, you get the same thing as if you went to: http://www.desktoplinux.com/index_html
Yeah, but index_html is the default, so then you would get the same with /products/index_html as you would with /products/, not just /.
On Tue, Nov 20, 2001 at 08:33:48AM +0100, Lennart Regebro wrote:
From: "Paul Winkler" <slinkp23@yahoo.com>
I stumbled on this page today: www.desktoplinux.com
A pretty nice-looking portal. I can't find any mention of what they're running, but something about it said "zope" to me...
Nope.
I'm having doubts too... but I don't agree with all your arguments:
Three immedeate giveaways: 1. They are using index.html files. Never seen a Zope site doing that. It would be majorly weird.
Could be just a URL-rewriting scheme on a proxy server, for the purpose of familiar-looking URLs.
2. The polls are made via /cgi-bin/ .
Mix-n-match... they've got an apache front end, it's not hard to combine zope with cgi-bin stuff that way.
3. Type /manage and see what happens... :-)
Could be just hidden by proxy server. Redirect to a non-existent page.
Chop off .html, and replace it with /index_html: http://www.desktoplinux.com/products/index/index_html http://www.desktoplinux.com/articles/AT9545254683/index_html
No matter what, you get the same thing as if you went to: http://www.desktoplinux.com/index_html
Yeah, but index_html is the default, so then you would get the same with /products/index_html as you would with /products/, not just /.
Damn, you're right. OK, now I'm convinced. :) And I think figured out what's really going on with their site: I just discovered that all of the following are equivalent: http://www.desktoplinux.com/index.html http://www.desktoplinux.com/index_html http://www.desktoplinux.com/indexBhtml http://www.desktoplinux.com/biosadboisoiadbj/index_html http://www.desktoplinux.com/index_htmlaaaaaaaaab1adbasasbasdbwebaan23han.foo Looks like there is some kind of URL rewriting going on, and I'm betting it's using a very loose regular expression, like "/index.html". Try that with python's re.search().... it'll match all of the above. They forgot to escape the dot and to specify that "html" comes at the end. -- paul winkler home: http://www.slinkp.com music: http://www.reacharms.com calendars: http://www.calendargalaxy.com
Am Dienstag, 20. November 2001 09:15 schrieb Paul Winkler:
Looks like there is some kind of URL rewriting going on, and I'm betting it's using a very loose regular expression, like "/index.html". Try that with python's re.search().... it'll match all of the above. They forgot to escape the dot and to specify that "html" comes at the end.
hi, seems to be the "multiviews"-option in apache... bye, sven
Hi, Lennart Regebro wrote:
A pretty nice-looking portal. I can't find any mention of what they're running, but something about it said "zope" to me...
Nope. Three immedeate giveaways: 1. They are using index.html files. Never seen a Zope site doing that. It would be majorly weird.
http://multimedia.zawiw.uni-ulm.de/zope/ www.gemeinsamlernen.de and www.solill.net will migrate to this new server, but foreign links have to stay intact. So index.html has to be the name for the index files. markus -- Markus Schaber - http://www.schabi.de/ Check in to another world - test a _real_ OS.
Hi, --On Dienstag, 20. November 2001 12:01 +0100 Markus Schaber <markus.schaber@student.uni-ulm.de> wrote:
Hi,
Lennart Regebro wrote:
A pretty nice-looking portal. I can't find any mention of what they're running, but something about it said "zope" to me...
Nope. Three immedeate giveaways: 1. They are using index.html files. Never seen a Zope site doing that. It would be majorly weird.
http://multimedia.zawiw.uni-ulm.de/zope/
www.gemeinsamlernen.de and www.solill.net will migrate to this new server, but foreign links have to stay intact. So index.html has to be the name for the index files.
Hehe. Refering explicitely to index.html was ever and with every server bad style :-) Regards Tino
Hi, Tino Wildenhain wrote:
www.gemeinsamlernen.de and www.solill.net will migrate to this new server, but foreign links have to stay intact. So index.html has to be the name for the index files.
Hehe. Refering explicitely to index.html was ever and with every server bad style :-)
Well - delivering an index file when pointing to a directory is somehow a "hack" the web server does. You can easily configure apache to make it always deliver the directory listing, regardless of any files inside the directory. So the directory/ and directory/index.html may be two really different contents. And I personally prefer to point directly to the file. Additionally, I don't have much influence on the way other people create external links to our webpages :-( markus -- Markus Schaber - http://www.schabi.de/ Check in to another world - test a _real_ OS.
Hi, again ;) --On Dienstag, 20. November 2001 12:43 +0100 Markus Schaber <markus.schaber@student.uni-ulm.de> wrote:
Hi,
Tino Wildenhain wrote:
www.gemeinsamlernen.de and www.solill.net will migrate to this new server, but foreign links have to stay intact. So index.html has to be the name for the index files.
Hehe. Refering explicitely to index.html was ever and with every server bad style :-)
Well - delivering an index file when pointing to a directory is somehow a "hack" the web server does. You can easily configure apache to make it always deliver the directory listing, regardless of any files inside the directory.
Sure. One can. But this is not the purpose of such a mechanism ;) Its meant to have nice looking URLs and index.html is not so nice ;) Furthermore no one uses http://foo.bar.com/index.html when refering to a site. So why using http://foo.bar.com/foo/index.html ?
So the directory/ and directory/index.html may be two really different contents. And I personally prefer to point directly to the file.
This makes it hard for Apaches content-negotiation either :-)
Additionally, I don't have much influence on the way other people create external links to our webpages :-(
No one will invent link names. If one uses index.html (s)he just copied a reference from your site. If you dont use links to index.html, no one else will :) Regards Tino fight-the-ugly-url-task-force ;))
On Tue, Nov 20, 2001 at 01:37:30PM +0100, Tino Wildenhain wrote:
No one will invent link names. If one uses index.html (s)he just copied a reference from your site. If you dont use links to index.html, no one else will :)
It doesn't matter what links you use - as long as people can copy a URL from the location bar and email it to their friends, they will do so. And I sometimes find links to index.html or frameset.html in google search results. -- paul winkler home: http://www.slinkp.com music: http://www.reacharms.com calendars: http://www.calendargalaxy.com
From: "Markus Schaber" <markus.schaber@student.uni-ulm.de>
So the directory/ and directory/index.html may be two really different contents. And I personally prefer to point directly to the file.
Sure, but now we are talking Zope. And with Zope, directory/ and directory/index_html is usually the same thing (and should IMO always be the same thing).
Additionally, I don't have much influence on the way other people create external links to our webpages :-(
Exactly. Thats why redirections are A Good Thing. But they should be done right. There is no reason to configure the web so that the new site has exactly the same URL's as the old. The old rather should redirect the old URLs to the correct place, instead of redirecting the new URL's to the old place. See for example http://www.regebro.nu/lennart/NetWare.html, which redirects you to http://lennart.regebro.nu/netware/ No problemo. Very nice, and very easy to do with Zope. That is the best way to handle old link: Make sure they work, by redirecting them to the new links. Transparent for the user, easy for the webmanagers and gives you the correct, new URL.
Hi, Am Tue, 20 Nov 2001 17:07:04 +0100 schrieb Lennart Regebro:
Additionally, I don't have much influence on the way other people create external links to our webpages :-(
Exactly. Thats why redirections are A Good Thing. But they should be done right. There is no reason to configure the web so that the new site has exactly the same URL's as the old. The old rather should redirect the old URLs to the correct place, instead of redirecting the new URL's to the old place.
See for example http://www.regebro.nu/lennart/NetWare.html, which redirects you to http://lennart.regebro.nu/netware/ No problemo. Very nice, and very easy to do with Zope. That is the best way to handle old link: Make sure they work, by redirecting them to the new links. Transparent for the user, easy for the webmanagers and gives you the correct, new URL.
That's correct. But in my case, the users also wanted to keep the known index.html idiom instead of index_html when creading pages. :-( Gruß, Markus -- You don't have to be Microsoft to suck... but it helps. (Tim Hammerquist in comp.lang.python)
Markus Schaber wrote:
Hi,
Lennart Regebro wrote:
A pretty nice-looking portal. I can't find any mention of what they're running, but something about it said "zope" to me...
Nope. Three immedeate giveaways: 1. They are using index.html files. Never seen a Zope site doing that. It would be majorly weird.
http://multimedia.zawiw.uni-ulm.de/zope/
www.gemeinsamlernen.de and www.solill.net will migrate to this new server, but foreign links have to stay intact. So index.html has to be the name for the index files
Hmm, why don't you just drop an index.html in the root of the server, which contains just something like: <dtml-call "RESPONSE.redirect(PARENTS[0].absolute_url() + '/index_html')"> cheers, oliver
Hi, Am Tue, 20 Nov 2001 13:12:54 +0100 schrieb Oliver Bleutgen:
1. They are using index.html files. Never seen a Zope site doing that. It would be majorly weird.
http://multimedia.zawiw.uni-ulm.de/zope/
www.gemeinsamlernen.de and www.solill.net will migrate to this new server, but foreign links have to stay intact. So index.html has to be the name for the index files
Hmm, why don't you just drop an index.html in the root of the server,
which contains just something like:
<dtml-call "RESPONSE.redirect(PARENTS[0].absolute_url() + '/index_html')">
I just did it the other way round, thus enabling the users to use the common known index.html when creating the pages. You know, this was not an actual problem, only an exampel for a Zope server using index.html :-) Gruß, Markus -- You don't have to be Microsoft to suck... but it helps. (Tim Hammerquist in comp.lang.python)
From: "Markus Schaber" <markus.schaber@student.uni-ulm.de>
I just did it the other way round, thus enabling the users to use the common known index.html when creating the pages.
But, but, but... Then you are going to override index_hml, and then you can't use that as a template container! In fact, what you then are doing is using Zope as if it was a fileserver. That seems weird to me, since you don't use the power of Zope full out... Ah well, no matter. In december we will revolutionize the CM industry. Hold your breath. :-)
Hi, Am Tue, 20 Nov 2001 16:37:29 +0100 schrieb Lennart Regebro:
From: "Markus Schaber" <markus.schaber@student.uni-ulm.de>
I just did it the other way round, thus enabling the users to use the common known index.html when creating the pages.
But, but, but... Then you are going to override index_hml, and then you can't use that as a template container! In fact, what you then are doing is using Zope as if it was a fileserver. That seems weird to me, since you don't use the power of Zope full out...
Well - all our pages are of an own class (developed as a small product, I am going to open-source it as soon as it is stable and well documented). This class manages the layout using a configurable Template, and it also manages multilingual multi-part content, this means every pages content can exist in several languages, and each of this languages can consist of several parts. Markus -- You don't have to be Microsoft to suck... but it helps. (Tim Hammerquist in comp.lang.python)
From: "Markus Schaber" <markus.schaber@student.uni-ulm.de>
www.gemeinsamlernen.de and www.solill.net will migrate to this new server, but foreign links have to stay intact. So index.html has to be the name for the index files.
When I needed this I just put a index.html in the root that did a <dtml-var index_html>. that way old links still work, but you don't have to do any kind of useless magic, like redirecting index_html. Both foo/index.html, foo/index_html and foo/ are valid and give the same result.
Hi, Am Tue, 20 Nov 2001 13:21:57 +0100 schrieb Lennart Regebro:
www.gemeinsamlernen.de and www.solill.net will migrate to this new server, but foreign links have to stay intact. So index.html has to be the name for the index files.
When I needed this I just put a index.html in the root that did a <dtml-var index_html>. that way old links still work, but you don't have to do any kind of useless magic, like redirecting index_html. Both foo/index.html, foo/index_html and foo/ are valid and give the same result.
I asked the users whether they would prefer index.html or index_html, and they said index.html would be better. There were 2 main reasons: - index.html is better known from "conventional" web servers - some IE-versions do strange things with mime types when the endings are not in the windows way. Markus -- You don't have to be Microsoft to suck... but it helps. (Tim Hammerquist in comp.lang.python)
participants (6)
-
Lennart Regebro -
Markus Schaber -
Oliver Bleutgen -
Paul Winkler -
Sven Schupp -
Tino Wildenhain