↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When |
---|---|---|
*** | ko6yq-lt has joined #twiki | [00:37] |
..................... (idle for 1h41mn) | ||
Cain` has joined #Twiki | [02:18] | |
.... (idle for 16mn) | ||
Cain has quit IRC (Read error: 110 (Connection timed out))
Cain` is now known as Cain | [02:34] | |
....... (idle for 34mn) | ||
McAldo has quit IRC (Read error: 145 (Connection timed out)) | [03:08] | |
.................. (idle for 1h27mn) | ||
ko6yq-lt has quit IRC ("Leaving.") | [04:35] | |
................................... (idle for 2h51mn) | ||
McAldo has joined #twiki | [07:26] | |
................................................................................. (idle for 6h43mn) | ||
McAldo has left "No matter how dark the night, somehow the Sun rises once again" | [14:09] | |
.......................... (idle for 2h8mn) | ||
zack101 has joined #TWIKI | [16:17] | |
............................... (idle for 2h32mn) | ||
TravisBarker has quit IRC ("Lost terminal") | [18:49] | |
............. (idle for 1h2mn) | ||
famast has joined #twiki | [19:51] | |
famast | Hi. What is the best way to have twiki redirect to /bin/view instead of the "readme,license,configure etc" page that you see when you first setup? | [19:53] |
mofino | with a index file containing a redirect or a webserver redirect | [19:54] |
famast | so just something in the apache conf? | [19:54] |
mofino | i told you what the something was :) | [19:55] |
famast | so just a "webserver redirect in the apache conf" | [19:56] |
mofino | you dont need to second guess what your reading | [19:57] |
famast | what if i'm using IIS? (i'm not, just a whatif situation). Then the solution would be an index file? What would this index file look like? | [19:57] |
mofino | most if not all webservers support some form of redirection | [19:58] |
famast | this is a common usecase yes? Why not put it in the installation docs? | [20:00] |
mofino | feel free to make a suggestion
besides, why can't the author expect some level of knowledge from the user? | [20:01] |
famast | Certainly the author can. Obviously you wouldn't want to have to discuss how to turn your computer on.....
but working with apache is not my dayjob. Or night job. So its not something I want to deal with more then I have too. | [20:04] |
mofino | i gave you two solutions... | [20:06] |
famast | and i'm still trying to look up redirect
do I need mod alias | [20:07] |
mofino | that's one solution
what is the other? | [20:07] |
famast | the index | [20:07] |
mofino | why not do that?
it's infinitely easier | [20:07] |
famast | so the contents of this index | [20:09] |
mofino | google is your friend | [20:09] |
famast | are we talking something involving perl | [20:09] |
mofino | holy christ
HTML i apologize, i guess i expect people to know certain things in advance | [20:09] |
famast | no no
thats fine i can handle an HTML redirect thanks | [20:10] |
mofino | no problem | [20:10] |
.... (idle for 15mn) | ||
famast | ok incase this is being recorded for later searching. Another solution is add the DirectoryIndex to your conf underneath your VirtualHost.... something like DirectoryIndex bin/view
mofino: The reason I dont like html redirect (and therefore the reason I was asking you to elaborate, incase you had a different solution not involving html) is that its messy.. I dont like sending redirects to browsers | [20:25] |
mofino | ?
that's how it done putting it HTML incurs a "speedbump" for lack of a better word since the redirect is coming in after the content but ultimately it's the same thing, one is slightly faster than the other but very very maginally man, can't spell | [20:28] |
famast | yea but I dont want the browser to request, receive a 3xx code, and then have to follow through with it. Not at least for the main home page. (For pages that actually have moved and someone bookmarked yes) | [20:32] |
mofino | well i can't help you
you are asking for the impossible | [20:34] |
famast | huh? why? I just gave the answer. And you did too, the 2nd option | [20:34] |
mofino | what answer? | [20:35] |
famast | change the conf
do a mod rewrite | [20:35] |
mofino | and what does that change?
do you even know what it does? | [20:35] |
famast | depends on what options you use | [20:35] |
mofino | haha
this is futile dont ask for help if you have " "better" ideas about the situation i suggest you learn what happens during an HTTP request | [20:35] |
famast | I'm not asking for help anymore. I needed help (honestly I did).
I just found another solution and wanted to put it out there | [20:36] |
mofino | what solution??
you can issue a redirect in two ways, by header or by content-header | [20:36] |
famast | DirectoryIndex bin/view in your conf | [20:37] |
mofino | that will work, but i personally wouldn't do that | [20:38] |
famast | why not? | [20:38] |
mofino | i tend to keep things explicit | [20:38] |
famast | DirectoryIndex /var/www/twiki/bin/view? :P | [20:38] |
mofino | same thing | [20:38] |
famast | i'm joking
what is implicit about this | [20:38] |
mofino | no redirect
redirects are extremely common leave off the / on any URL and it'll fill it in (pending it's a directory) it being the webserver | [20:39] |
famast | i'm not convinced the / is a redirect, and using live headers on something like twiki.org is not showing any 3xx. Like I said i don't have a problem with redirects. If you want to redirect http to https or http:// to http://www fine. Or for pages that moved, fine. But for a home page? It just seems odd. If anything you could argue that index.html is common, so its easier for an admin/dev to quickly associate your root page with index.ht
err /bin/view or whatever it is | [20:50] |
mofino | sec
sorry, it's not on the root of a domain, it's implied there it's only on directories and i agree that specifying a redirect is much clearer i think you nailed it right there http://twiki.org/cgi-bin should redirect | [20:53] |
famast | forbidden | [20:57] |
mofino | yes
but did you see the redirect? | [20:57] |
famast | i'm using live headers and its only showing a 403 | [20:59] |
mofino | so am i
and it shows both | [20:59] |
famast | OH yea I see
i refreshed and the / was on there | [21:00] |
mofino | ahh yeah | [21:00] |
famast | interesting. So maybe the browser adds it if it is just the domain (http://www.google.com)
alright well can't ponder about this all day. thanks again for the help | [21:05] |
mofino | yeah i think so
hehe ok, take care | [21:05] |
*** | famast has left | [21:05] |
........ (idle for 37mn) | ||
ko6yq-lt has joined #twiki | [21:42] | |
.............. (idle for 1h5mn) | ||
zack101 | ho
hi can i get some assistance on how to install Digest-SHA1 on solaris 10 x86-64bit im getting: WARNING: LICENSE is not a known parameter. - any ideas on thie one please? | [22:47] |
....... (idle for 33mn) | ||
*** | zack101 has quit IRC ("Leaving") | [23:23] |
↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |