↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When |
---|---|---|
*** | ChanServ sets mode: +o PeterThoeny | [07:20] |
....................... (idle for 1h50mn) | ||
jdoe has quit IRC (*.net *.split) | [09:10] | |
........... (idle for 50mn) | ||
TerjeAndersen | clear
brr | [10:00] |
........................................... (idle for 3h34mn) | ||
JamesDiDonato | How do you change the logo on the top left from the default? | [13:34] |
............ (idle for 56mn) | ||
TerjeAndersen | JamesDiDona: Have you looked here: http://twiki.org/cgi-bin/view/TWiki/TWikiLogos (Under "Logo Customization") | [14:30] |
JamesDiDonato | yeah, 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] |
TerjeAndersen | Twiki.TWikiPreferences should be overridden by Main.TwikiPreferences btw
yes, and then do " * Set WIKILOGOIMG = yourimage.png" | [14:43] |
.... (idle for 19mn) | ||
JamesDiDonato | do I change the logo on the banner in TWikiPlatformSettings or DefaultWebPreferences | [15:02] |
TerjeAndersen | Which 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] |
JamesDiDonato | okay, I want the logo to show up on all webs
so it should go under TWiki.TWikiPreferences correcT? | [15:05] |
TerjeAndersen | No, 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] |
JamesDiDonato | okay, 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) | ||
syedrizvi | Hi, 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] |
PeterThoeny | syedrizvi: what os? | [22:51] |
syedrizvi | PeterThoeny: Scientific Linux | [22:52] |
PeterThoeny | i don't know about the scientific part, but twiki can be installed on linux pretty easily
what is your q? | [22:53] |
syedrizvi | I 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] |
PeterThoeny | no, keep that for your static html pages on that server | [22:54] |
syedrizvi | right now, it is /usr/local/apache2/htdocs | [22:55] |
PeterThoeny | if 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] |
syedrizvi | twiki is installed at /var/local/twiki | [22:55] |
PeterThoeny | ok, good, it should not be in html doc root | [22:56] |
syedrizvi | This is just for personal research use, I don't mean to make the server publicly avaiable | [22:56] |
PeterThoeny | ah | [22:56] |
syedrizvi | I am just not sure what I need to do to connect the TWiki system to the Apache server | [22:57] |
PeterThoeny | did 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] |
syedrizvi | yes I did. Then I downloaded the text to a twiki.conf | [22:58] |
PeterThoeny | good
did you restart apache? | [22:58] |
syedrizvi | and at the end of the httpd.conf file, I added "Include /var/local/twiki/twiki.conf
Yes, I did restart apache | [22:59] |
PeterThoeny | well, apache typically has a directory where you put additional .conf files | [22:59] |
syedrizvi | oh, from what I read online, I thought I could have it anywhere and just provide the full path name | [23:00] |
PeterThoeny | for 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] |
syedrizvi | oh, I will try that then | [23:01] |
PeterThoeny | well, read the docs
directory structure on debian and other distros look differently | [23:01] |
syedrizvi | Earlier 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] |
PeterThoeny | well, that is expected
because your doc root is unchanged what is your ScriptAlias in twiki.conf? | [23:08] |
syedrizvi | then should it be "/var/local/twiki/pub/Twiki" ?
ScriptAlias in twiki.conf is /var/local/twiki/bin/viewfile | [23:09] |
PeterThoeny | that is incorrect
should be something like: ScriptAlias /do "/var/local/twiki/bin" | [23:10] |
syedrizvi | Oh I missed the first part, the whole line is: ScriptAlias /pub "/var/local/twiki/bin/viewfile" | [23:10] |
PeterThoeny | and your alias is likely:
Alias /pub "/var/local/twiki/pub" | [23:11] |
syedrizvi | Alias /pub/TWiki "/var/local/twiki/pub/TWiki"
Alias /pub/Sandbox "/var/local/twiki/pub/Sandbox" | [23:11] |
PeterThoeny | ah, you are securing attachments | [23:12] |
syedrizvi | Would that cause issues? | [23:12] |
PeterThoeny | look above, there should be another scriptalias | [23:12] |
syedrizvi | ScriptAlias /do "/var/local/twiki/bin" | [23:13] |
PeterThoeny | ok, 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] |
syedrizvi | oh ok. | [23:14] |
PeterThoeny | no issues with securing attachments, likely overkill on a personal twiki
only downside is that embedded images load slower | [23:15] |
syedrizvi | for LocalLib.cfg, the only line I had to change was, $twikiLibPath = "/var/local/twiki/lib"; right? | [23:16] |
PeterThoeny | correct | [23:16] |
syedrizvi | Wonderful, it works! Thank you | [23:17] |
PeterThoeny | cool
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] |
syedrizvi | One 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) |