#twiki 2013-05-03,Fri

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***ChanServ sets mode: +o PeterThoeny [07:20]
....................... (idle for 1h50mn)
jdoe has quit IRC (*.net *.split) [09:10]
........... (idle for 50mn)
TerjeAndersenclear
brr
[10:00]
........................................... (idle for 3h34mn)
JamesDiDonatoHow do you change the logo on the top left from the default? [13:34]
............ (idle for 56mn)
TerjeAndersenJamesDiDona: Have you looked here: http://twiki.org/cgi-bin/view/TWiki/TWikiLogos (Under "Logo Customization") [14:30]
JamesDiDonatoyeah, Ive located where it needs to be changed in TWiki/TWikiPreferences, at the line Set WIKILOGOIMG =
but I am not sure what to put after
right now it is just %WIKILOGOIMG%
I have attached the logo I want to add to the Topic as a .png
[14:42]
TerjeAndersenTwiki.TWikiPreferences should be overridden by Main.TwikiPreferences btw
yes, and then do " * Set WIKILOGOIMG = yourimage.png"
[14:43]
.... (idle for 19mn)
JamesDiDonatodo I change the logo on the banner in TWikiPlatformSettings or DefaultWebPreferences [15:02]
TerjeAndersenWhich heading you put it under does not matter
i think
it's which topic you put the " * Set SETTING = ..." in that matters. Main.TwikiPreferences overridses TWiki.TWikiPreferences, and SomeWeb.WebPreferences overrides Main.TWikiPreferences
for the same setitng
[15:03]
JamesDiDonatookay, I want the logo to show up on all webs
so it should go under TWiki.TWikiPreferences
correcT?
[15:05]
TerjeAndersenNo, because as it says in that topic: "Don't edit this topic, changes will be lost on the next TWiki upgrade. Define new site-level settings, or overload below settings in Main.TWikiPreferences"
(that topic = TWiki.TwikiPreferences)
go to Main.TWikiPreferences, and it will be global i think
the setting
[15:06]
JamesDiDonatookay, so I need to edit the Main.TWikiPreferences topic and add in the image there to override the Twiki.TWikiPreferences image [15:13]
got it to work, thanks for your help [15:21]
................................... (idle for 2h53mn)
***ChanServ sets mode: +o PeterThoeny [18:14]
........................................................ (idle for 4h36mn)
syedrizviHi, I am trying to set up TWiki on my computer. I am wondering, if someone could help me with a quick question please. [22:50]
PeterThoenysyedrizvi: what os? [22:51]
syedrizviPeterThoeny: Scientific Linux [22:52]
PeterThoenyi don't know about the scientific part, but twiki can be installed on linux pretty easily
what is your q?
[22:53]
syedrizviI have the system downloaded and installed, as well as the apache server. My question is, do I need to change the DocumentRoot entry in the httpd.conf for the apache server? [22:54]
PeterThoenyno, keep that for your static html pages on that server [22:54]
syedrizviright now, it is /usr/local/apache2/htdocs [22:55]
PeterThoenyif you want to automatically redirect from the domain home to twiki you can do an apache rewrite or an http redirect meta tag
where is twiki installed?
[22:55]
syedrizvitwiki is installed at /var/local/twiki [22:55]
PeterThoenyok, good, it should not be in html doc root [22:56]
syedrizviThis is just for personal research use, I don't mean to make the server publicly avaiable [22:56]
PeterThoenyah [22:56]
syedrizviI am just not sure what I need to do to connect the TWiki system to the Apache server [22:57]
PeterThoenydid you use the apache config generator on twiki.org?
you can generate an apache twiki.conf file at http://twiki.org/cgi-bin/view/TWiki/ApacheConfigGenerator
[22:57]
syedrizviyes I did. Then I downloaded the text to a twiki.conf [22:58]
PeterThoenygood
did you restart apache?
[22:58]
syedrizviand at the end of the httpd.conf file, I added "Include /var/local/twiki/twiki.conf
Yes, I did restart apache
[22:59]
PeterThoenywell, apache typically has a directory where you put additional .conf files [22:59]
syedrizvioh, from what I read online, I thought I could have it anywhere and just provide the full path name [23:00]
PeterThoenyfor example, on redhat & centos, the primary conf file is at /etc/httpd/conf/httpd.conf, and user supplied conf files are in /etc/httpd/conf.d
after a restart, apache picks up the user supplied ones without extra settings
[23:01]
syedrizvioh, I will try that then [23:01]
PeterThoenywell, read the docs
directory structure on debian and other distros look differently
[23:01]
syedrizviEarlier I did come accross the etc/httpd/conf and etc/httpd/conf.d directory
So I know they exist and contain conf files for the server
I still get the "it works!" page when I go to "localhost"
I'll go to some more reading for the apache server. Thank you for your help
[23:03]
PeterThoenywell, that is expected
because your doc root is unchanged
what is your ScriptAlias in twiki.conf?
[23:08]
syedrizvithen should it be "/var/local/twiki/pub/Twiki" ?
ScriptAlias in twiki.conf is /var/local/twiki/bin/viewfile
[23:09]
PeterThoenythat is incorrect
should be something like:
ScriptAlias /do "/var/local/twiki/bin"
[23:10]
syedrizviOh I missed the first part, the whole line is: ScriptAlias /pub "/var/local/twiki/bin/viewfile" [23:10]
PeterThoenyand your alias is likely:
Alias /pub "/var/local/twiki/pub"
[23:11]
syedrizviAlias /pub/TWiki "/var/local/twiki/pub/TWiki"
Alias /pub/Sandbox "/var/local/twiki/pub/Sandbox"
[23:11]
PeterThoenyah, you are securing attachments [23:12]
syedrizviWould that cause issues? [23:12]
PeterThoenylook above, there should be another scriptalias [23:12]
syedrizviScriptAlias /do "/var/local/twiki/bin" [23:13]
PeterThoenyok, that looks good
did you set the /var/local/twiki/bin/LocalLib.cfg properly?
once you have that you can visit localhost/do/configure to configure twiki
[23:13]
syedrizvioh ok. [23:14]
PeterThoenyno issues with securing attachments, likely overkill on a personal twiki
only downside is that embedded images load slower
[23:15]
syedrizvifor LocalLib.cfg, the only line I had to change was, $twikiLibPath = "/var/local/twiki/lib"; right? [23:16]
PeterThoenycorrect [23:16]
syedrizviWonderful, it works! Thank you [23:17]
PeterThoenycool
once configured you can do teh redirect from your doc root to the twiki home
simply create an index.html that has a meta redirect tag in it
or, define an apache rewrite rule
[23:21]
syedrizviOne last thing, for the localhost/do/configure, I am supposed to see an actual HTML page right, instead of just text? [23:23]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)