| [00:02:02] |
* |
whereami has joined #trac |
| [00:02:45] |
* |
Hydra_ has quit IRC |
| [00:02:46] |
* |
Hydra^ is now known as Hydra_ |
| [00:04:22] |
<whereami> |
i'm trying to install TracPoll from trac hacks. i ran 'python setup.py install', and added tracpoll.* = enable to trac.ini, and restarted apache, but it's not working. the plugin doesn't even show up in webadmin. the egg is in site-packages though. |
| [00:05:11] |
<alect> |
= enabled |
| [00:05:37] |
<whereami> |
yah, that's what i have. |
| [00:06:54] |
<alect> |
@logging |
| [00:06:54] |
<evil_twin> |
alect: "logging" is http://projects.edgewall.com/trac/wiki/TracLogging <-- Enable debug logging to file, ensure your environments log/ directory is writeable by your web server user, check for errors. |
| [00:12:44] |
<whereami> |
alect, http://rafb.net/paste/results/znExfk89.html |
| [00:13:24] |
<luks> |
ouch, trac 0.10 now converts commit messages like [project @ 549379] to wiki links :/ |
| [00:19:16] |
<whereami> |
alect, the important error seems to be: ImportError: cannot import name WikiMacroBase |
| [00:20:19] |
<alect> |
whereami: ahm, that is a 0.10ism |
| [00:20:26] |
<alect> |
whereami: one moment, i'll fix it |
| [00:21:52] |
<alect> |
luks: you're flirting with danger using that kind of text in any trac-wiki formatted text :) |
| [00:22:49] |
<luks> |
tailor adds that by default to all commit messages |
| [00:22:59] |
<alect> |
whereami: ok, try the latest snapshot |
| [00:23:01] |
<luks> |
and i just upgraded trac and was a bit suprised :) |
| [00:23:07] |
<alect> |
luks: what's tailor? |
| [00:23:21] |
<luks> |
a tool to convert VCS repositories |
| [00:23:26] |
<luks> |
svn -> bzr in my case |
| [00:23:31] |
<alect> |
aah |
| [00:24:29] |
<alect> |
actually that won't work whereami..wait a sec' |
| [00:24:29] |
* |
peppelorum has joined #trac |
| [00:25:02] |
<alect> |
right, try r843 |
| [00:26:21] |
<whereami> |
alect, lol, i started getting 500 errors, you scared me. |
| [00:28:10] |
<whereami> |
alect, that seems to be working now, thanks! |
| [00:29:02] |
<alect> |
np |
| [00:34:01] |
<asmodai> |
alect: dude |
| [00:34:10] |
<alect> |
hey hey |
| [00:35:34] |
<asmodai> |
morning ;) |
| [00:36:10] |
<asmodai> |
All's well? |
| [00:36:17] |
<alect> |
yeah not bad |
| [00:36:19] |
<alect> |
you? |
| [00:36:35] |
<alect> |
i'm working on #1890 atm |
| [00:38:56] |
<asmodai> |
just woke up |
| [00:39:03] |
<asmodai> |
going to beat the CSS some more |
| [00:39:29] |
<asmodai> |
'Cause a part of it is annoying me |
| [00:39:56] |
<asmodai> |
Opera 9 when I tested it had this horizontal bar and a friend at Opera using Opera 9 didn't :S |
| [00:40:07] |
<alect> |
heh |
| [00:40:14] |
<alect> |
css "standards" eh |
| [00:40:21] |
<asmodai> |
*grin* |
| [00:40:28] |
<asmodai> |
In general opera and firefox act pretty ok |
| [00:40:42] |
<alect> |
yeah |
| [00:49:08] |
<asmodai> |
mm |
| [00:49:13] |
<asmodai> |
interesting ticket yea |
| [00:50:15] |
<asmodai> |
alect: So what you have in mind to solve this? |
| [00:51:26] |
<dilinger> |
boorad: ping? |
| [00:51:58] |
<alect> |
asmodai: not sure yet... |
| [00:52:25] |
<alect> |
i was going to just add checks to ensure that users couldn't impersonate others |
| [00:53:51] |
* |
Marlun has joined #trac |
| [00:54:06] |
<Marlun> |
If theres more then one version of python installed on my computer, which version does trac use? |
| [00:54:08] |
<asmodai> |
alect: *nod* |
| [00:54:29] |
<asmodai> |
alect: That's one of the reasons you typically see: restrict account to this-or-that IP address |
| [00:55:14] |
<asmodai> |
alect: Another one might be to add a [logged in] or [authenticated] behind usernames in comments etc after they logged in |
| [00:56:01] |
<alect> |
yeah |
| [00:57:04] |
<alect> |
i've never been really fond of trac's authentication behaviour |
| [00:57:09] |
<alect> |
seems too....loose |
| [01:03:59] |
* |
lowkey has quit IRC |
| [01:05:21] |
<dilinger> |
anyone here have python-mysqldb installed? |
| [01:05:28] |
<dilinger> |
a version older than 1.2.1, that is |
| [01:06:12] |
* |
contingencyplan has joined #trac |
| [01:06:55] |
* |
contingencyplan_ has joined #trac |
| [01:07:39] |
<dilinger> |
hm. in theory, i have p.e.c commit access.. |
| [01:08:10] |
<dilinger> |
ah, there we go |
| [01:09:50] |
<alect> |
not i, sorry |
| [01:10:00] |
* |
cboos has joined #trac |
| [01:14:21] |
<dilinger> |
what repository url should i be using? svn+ssh://dilinger@svn.edgewall.com/repos/trac/trunk ? |
| [01:15:07] |
<alect> |
https:// |
| [01:15:46] |
<dilinger> |
oh. |
| [01:15:47] |
<dilinger> |
thanks |
| [01:16:01] |
<dilinger> |
and, uh, ignore my numerous ssh login attempts :) |
| [01:17:29] |
<alect> |
hehe |
| [01:21:27] |
* |
contingencyplan_ has quit IRC |
| [01:30:40] |
<asmodai> |
alect: I don't like it either |
| [01:30:49] |
<asmodai> |
alect: especially the .htpasswd authentication |
| [01:31:16] |
<asmodai> |
alect: highly annoying whereas it could just be put in the database. |
| [01:36:57] |
* |
s0undt3c1 has joined #trac |
| [01:38:12] |
* |
Marlun has quit IRC |
| [01:47:44] |
* |
prisoner has quit IRC |
| [01:48:26] |
* |
s0undt3ch has quit IRC |
| [01:48:38] |
* |
s0undt3c1 is now known as s0undt3ch |
| [01:49:44] |
* |
MasterC has joined #trac |
| [02:16:54] |
* |
tuxipuxi has joined #trac |
| [02:24:44] |
<alect> |
tumtetum |
| [02:28:23] |
* |
asmodai hands alect his amavisd.conf |
| [02:28:24] |
<asmodai> |
KILL IT |
| [02:28:28] |
<alect> |
haha |
| [02:29:17] |
<alect> |
actually i lied before, i use clamav |
| [02:31:58] |
<asmodai> |
You lied? |
| [02:32:57] |
<alect> |
i think i said i also use amavis |
| [02:34:06] |
<asmodai> |
ah ok |
| [02:34:54] |
* |
MarcelH has joined #trac |
| [02:36:47] |
* |
MarcelH has quit IRC |
| [02:38:11] |
* |
Marcel has joined #trac |
| [03:17:03] |
* |
Riccc has joined #trac |
| [03:35:30] |
* |
Riccc`plula has quit IRC |
| [04:02:20] |
* |
Blackhex has joined #trac |
| [04:02:47] |
<Blackhex> |
prologic: hi, are you here? |
| [04:13:07] |
<prologic> |
yeh |
| [04:13:50] |
<Blackhex> |
prologic: could you please upgrade my environment? |
| [04:14:00] |
<prologic> |
sure |
| [04:14:22] |
<Blackhex> |
prologic: and there is some permission problem that i couldn't upload attachments |
| [04:23:21] |
* |
gmcinnes has joined #trac |
| [04:28:51] |
<OCG> |
how do i setup apache to work with trac ... do i trac-admin /var/svn/project1 initenv ? or do i set that as where i want trac to create its db? |
| [04:29:56] |
<Blackhex> |
OCG: trac-admin path-to-database |
| [04:30:33] |
<Blackhex> |
path to svn repository you set only in trac.ini |
| [04:30:50] |
<OCG> |
ok. thats where i was confused ;] |
| [04:31:14] |
<Blackhex> |
but you'l be asked for it |
| [04:46:47] |
* |
danielo has joined #trac |
| [05:03:32] |
* |
asmodai just fed 2 adult and 5 young swans ;) |
| [05:04:50] |
<alect> |
hey cool :) |
| [05:04:54] |
<alect> |
white swans or black ones? |
| [05:12:41] |
* |
imajes has joined #trac |
| [05:16:37] |
<asmodai> |
White |
| [05:16:40] |
* |
asmodai took photos |
| [05:17:12] |
<Blackhex> |
alect: when I'll implement http://trac-hacks.org/ticket/431 could I commit it immediately or should I wait when there will be more changes? |
| [05:19:10] |
<alect> |
yeah go for it |
| [05:20:12] |
<Blackhex> |
alect: ok |
| [05:28:57] |
* |
mac__ has quit IRC |
| [05:29:32] |
<alect> |
blackhex: did whatsisface get back to you about the other plugin you had patches for? |
| [05:30:25] |
<Blackhex> |
whatisface? |
| [05:33:43] |
<Blackhex> |
alect: if you mean what is new about doxygen plugin, so I send another e-mail to Jason Parks as you suggest but I did't receive answer. |
| [05:35:12] |
<alect> |
hmm |
| [05:51:38] |
* |
cboos has quit IRC |
| [06:29:45] |
<Blackhex> |
gtg, see you |
| [06:32:57] |
* |
Blackhex has quit IRC |
| [06:35:30] |
* |
imajes has quit IRC |
| [06:44:27] |
* |
jborg has joined #trac |
| [06:47:02] |
* |
ZyX has joined #trac |
| [06:47:06] |
<ZyX> |
hi |
| [06:48:02] |
<ZyX> |
is there a global way to change timestamp format from MM/DD/YY to DD/MM/YYYY or YYYY-MM-DD ? |
| [06:49:56] |
<ZyX> |
http://projects.edgewall.com/trac/wiki/TracFaq#how-do-i-change-the-format-used-for-displaying-date-and-time :) |
| [06:54:31] |
* |
ZyX has quit IRC |
| [06:59:11] |
* |
vmx_ has joined #trac |
| [07:01:27] |
* |
vmx has quit IRC |
| [07:24:48] |
* |
agile has joined #trac |
| [07:44:05] |
* |
MasterC has quit IRC |
| [07:52:29] |
* |
soloturn has joined #trac |
| [07:52:38] |
<monsti> |
hi |
| [07:55:44] |
<monsti> |
i want my customers add bugs/requests in trac - but i dont want to give them trac access - is there a solution available for this? |
| [07:55:47] |
<monsti> |
e.g. by creating a 2nd page and using xmlrpc? |
| [07:56:04] |
<alect> |
email2trac |
| [07:56:07] |
<alect> |
is one |
| [07:56:16] |
<alect> |
you could also use xmlrpc |
| [07:57:10] |
<monsti> |
email2trac sounds nice |
| [08:05:58] |
<monsti> |
any idea how to organize testcases in trac? |
| [08:07:15] |
<monsti> |
we created a wiki page testcases and added a table with a list of testcases e.g. wiki:1testcase1 ... description ... wiki:testcase2 ... description |
| [08:07:42] |
<monsti> |
this is simple but not very scalable |
| [08:10:42] |
<prologic> |
use the TagsPlugin and just create a page per test case |
| [08:10:49] |
<prologic> |
eg: TestCases/TestCaseOne |
| [08:11:00] |
<prologic> |
then use [[ListTags(testcases)]] :) |
| [08:12:30] |
<monsti> |
tags are metatags for a wikipage? |
| [08:13:13] |
<prologic> |
the TagsPlugins provides a nice simple wiki category feature |
| [08:13:28] |
<prologic> |
you could scale up easily doing this then, don't have to fiddle with the table |
| [08:13:32] |
<monsti> |
ahh ok |
| [08:13:34] |
<prologic> |
just write up the new TestCase page |
| [08:13:57] |
<monsti> |
namespaces for wiki |
| [08:14:04] |
<prologic> |
yeah |
| [08:14:52] |
<prologic> |
you may also find the ChooseTemplate usefull |
| [08:16:41] |
<monsti> |
checking |
| [08:17:27] |
<monsti> |
any url? |
| [08:17:36] |
* |
whereami has left #trac |
| [08:18:11] |
<prologic> |
hold up |
| [08:18:36] |
<monsti> |
email2trac = 100% what i need ;) |
| [08:18:50] |
<prologic> |
ahh |
| [08:18:55] |
<prologic> |
it's on MacroBazaar |
| [08:19:06] |
<prologic> |
on Trac's wiki |
| [08:19:46] |
<monsti> |
checking |
| [08:25:56] |
* |
prisoner has joined #trac |
| [08:46:33] |
* |
tuxipuxi is now known as tuxi|mexico |
| [08:59:46] |
<alect> |
email2trac is annoying |
| [09:23:48] |
* |
ChanServ has quit IRC |
| [09:24:15] |
* |
ChanServ has joined #trac |
| [09:24:15] |
* |
irc.freenode.net sets mode: +o ChanServ |
| [09:26:35] |
* |
mgalvin has joined #trac |
| [09:36:57] |
* |
superbenk has quit IRC |
| [09:49:04] |
* |
Guard][an has quit IRC |
| [09:57:10] |
* |
Guard][an has joined #trac |
| [10:39:04] |
* |
ged has quit IRC |
| [10:39:50] |
* |
ged has joined #trac |
| [10:51:26] |
<monsti> |
The following error occurred while trying to extract file(s) to the Python egg |
| [10:51:26] |
<monsti> |
cache: |
| [10:51:26] |
<monsti> |
[Errno 13] Permission denied: '/root/.python-eggs' |
| [10:51:31] |
<monsti> |
any idea? |
| [10:51:42] |
<monsti> |
gentoo uses a tracd user |
| [10:53:31] |
<alect> |
@plugins |
| [10:53:31] |
<evil_twin> |
alect: "plugins" is http://projects.edgewall.com/trac/wiki/TracPlugins |
| [10:59:18] |
<monsti> |
some "export" expression was missing in a gentoo start script for enviornments |
| [11:00:48] |
<monsti> |
is there an easy wy to create custom reports with a short description under each ticked? |
| [11:00:54] |
<monsti> |
ticket sorry |
| [11:01:14] |
<monsti> |
"custom query" offers this option |
| [11:31:58] |
* |
MasterC has joined #trac |
| [11:38:32] |
* |
tuxi|mexico is now known as tuxi|neutral |
| [11:55:36] |
* |
tuxi|neutral is now known as tuxi|portugal |
| [11:58:31] |
* |
eblot has joined #trac |
| [12:01:00] |
* |
neoxed has quit IRC |
| [12:02:25] |
* |
imajes has joined #trac |
| [12:05:17] |
* |
MasterC has quit IRC |
| [12:12:24] |
* |
danp has left #trac |
| [12:16:11] |
* |
neoxed has joined #Trac |
| [12:16:25] |
* |
neoxed_ has joined #Trac |
| [12:16:28] |
* |
neoxed has quit IRC |
| [12:16:38] |
* |
neoxed has joined #Trac |
| [12:24:40] |
* |
mac__ has joined #trac |
| [12:44:38] |
* |
vmx_ is now known as vmx |
| [12:52:16] |
* |
cmlenz has joined #trac |
| [12:55:49] |
* |
jrydberg has joined #trac |
| [12:55:53] |
* |
imajes has quit IRC |
| [13:08:27] |
* |
jam has joined #trac |
| [13:10:39] |
* |
jam has quit IRC |
| [13:22:26] |
* |
peppelorum has quit IRC |
| [13:46:26] |
* |
tuxi|portugal is now known as tuxipuxi |
| [13:53:55] |
* |
_idostyle has joined #trac |
| [13:56:36] |
* |
coderanger_ has joined #trac |
| [13:57:34] |
<coderanger_> |
alo y'alls |
| [14:00:53] |
* |
bdash has quit IRC |
| [14:11:22] |
* |
idostyle has quit IRC |
| [14:11:31] |
* |
_idostyle is now known as idostyle |
| [14:27:42] |
* |
lowkey has joined #trac |
| [14:31:57] |
* |
jborg has quit IRC |
| [14:46:15] |
<boorad> |
dilinger: pong |
| [14:53:07] |
* |
bnovc is now known as bnovc^ |
| [14:53:18] |
* |
imajes has joined #trac |
| [14:54:16] |
* |
bnovc^ is now known as bnovc |
| [14:55:42] |
* |
maxb has joined #trac |
| [14:55:59] |
<maxb> |
Is there a way to dump out all the HDF for a request? |
| [14:56:30] |
<maxb> |
I want to see if there's anything in the HDF I can use to tell whether the user is authenticated or not. |
| [14:57:02] |
<boorad> |
add ?hdfdump=1 to your request |
| [14:57:24] |
<maxb> |
excellent! |
| [15:02:10] |
<coderanger_> |
maxb: req.authname |
| [15:02:27] |
<maxb> |
No, trac.authname |
| [15:02:47] |
<coderanger_> |
Thats a python variable, not an hdf variable ;-) |
| [15:04:29] |
<coderanger_> |
If you are looking to write something new, I wouldn't make it use the hdf for things like that |
| [15:04:52] |
* |
cmlenz has quit IRC |
| [15:05:20] |
<maxb> |
I think I'd find it pretty hard to conditionally include a part of a template without using HDF. |
| [15:06:20] |
<coderanger_> |
templates are okay, i just mean if you were doing it in code |
| [15:06:48] |
<coderanger_> |
just looking to the upcoming template switch |
| [15:38:06] |
<coderanger_> |
alect: ping |
| [15:39:29] |
<coderanger_> |
still early over there I support |
| [15:39:31] |
<coderanger_> |
*suppose |
| [16:02:42] |
* |
maxb has quit IRC |
| [16:04:00] |
* |
maxb_ has joined #trac |
| [16:04:02] |
* |
maxb_ is now known as maxb |
| [16:10:47] |
* |
imajes has quit IRC |
| [16:30:12] |
<maxb> |
Hmm.. I just tried to use AccountManagerPlugin, and changed my password - it produced duplicate entries in the htpasswd file for my user. |
| [16:33:31] |
* |
eblot has left #trac |
| [16:33:40] |
* |
Marcel has quit IRC |
| [16:34:52] |
<coderanger_> |
maxb: I think there is a ticket about that |
| [16:35:18] |
<maxb> |
Its a pretty serious 'first impressions' bug. |
| [16:35:36] |
<maxb> |
Now I'm rather disturbed about letting it play with my password file. |
| [16:36:56] |
* |
tat_ has joined #trac |
| [16:37:26] |
<tat_> |
hello, is it possibill to download tarballs from the svn with trac ? |
| [16:42:07] |
<coderanger_> |
tat_: tarballs no, zipfiles yes (trunk only) |
| [16:42:52] |
<tat_> |
do i need a plugin to do so ? |
| [16:42:55] |
<coderanger_> |
No |
| [16:43:12] |
<tat_> |
i need to setup a trunk ? |
| [16:45:31] |
<coderanger_> |
I mean that the feature is only available in the current development version |
| [16:47:37] |
<tat_> |
is there no plugin to download tarballs from the svn :( |
| [16:49:52] |
<coderanger_> |
no |
| [16:50:11] |
<coderanger_> |
zipfiles are easier to work with, and better supported on most platforms |
| [16:55:57] |
<tat_> |
that's true. |
| [16:57:44] |
<tat_> |
i jsut installed the downlaod plugin, so i will put my tarballs there, maybe i can hack a cgi bin which makes a tarball from the last revision and link it from the wiki, this is probably the best way . |
| [16:58:03] |
<coderanger_> |
tat_: email alec about it |
| [16:58:17] |
<coderanger_> |
he used to do it as a post-commit-script |
| [16:58:25] |
<coderanger_> |
before Trac itself supported it |
| [16:58:45] |
<tat_> |
coderanger_ : do you got it's email ? |
| [16:59:00] |
<tat_> |
coderanger_ : or know where i can find it ? |
| [16:59:29] |
<coderanger_> |
http://trac-hacks.org/wiki/athomas |
| [16:59:44] |
<coderanger_> |
alec@trac-hacks.org |
| [17:00:21] |
<tat_> |
coderanger_ : and i don't wanne bug you, but you know if there is a multiLanguge plugin for trac ? |
| [17:00:43] |
<coderanger_> |
tat_: No, though there is a French translation |
| [17:03:22] |
<tat_> |
coderanger_ : i mean a multiLanguage support for the wiki, my project is documented in english and spanish and i would like to have a way of swapping in the wikki between the two languages |
| [17:03:37] |
<coderanger_> |
Ahh, no, though it has been suggested |
| [17:03:53] |
<coderanger_> |
The wiki system is not currently flexible enough to do that easily |
| [17:07:48] |
* |
mac__ has quit IRC |
| [17:09:09] |
<coderanger_> |
Feel free to do it though ;-) |
| [17:10:31] |
<tat_> |
yes features features features, i think this problem has any code hacker, the queue never ends, anyway i like trac the way it is and i think it's the best envireoment to hack free code :) |
| [17:12:03] |
<tat_> |
i have sero experience in python, and on top i'm bussy like hell so i think there is a very small chance that i will make that one working (0_0)(-_0) |
| [17:19:32] |
* |
tuxipuxi has quit IRC |
| [17:55:10] |
* |
imajes has joined #trac |
| [18:00:53] |
* |
jrydberg has quit IRC |
| [18:01:31] |
<bnovc> |
how can i change the path trac thinks its at? |
| [18:01:43] |
<bnovc> |
i modified it in trac.ini but it still tries the old one |
| [18:03:41] |
<coderanger_> |
TracUriRoot |
| [18:05:19] |
<bnovc> |
coderanger_, how can i modify that? the only place grep finds it is in trac.db |
| [18:05:35] |
<coderanger_> |
You set it in the webserver config |
| [18:05:57] |
<coderanger_> |
either the env var TRAC_URI_ROOT, or the mod_python option TracUriRoot |
| [18:06:33] |
<bnovc> |
ok i'll try that, thanks |
| [18:08:47] |
<bnovc> |
coderanger_, SetEnv TracUriRoot "/" |
| [18:08:52] |
<coderanger_> |
no |
| [18:08:52] |
<bnovc> |
oh, TRAC_URI_ROOT |
| [18:08:57] |
<coderanger_> |
yeah |
| [18:09:31] |
<bnovc> |
SetEnv TRAC_URI_ROOT "/" .. still tries to load from /gs-trac/..stuff |
| [18:12:45] |
<bnovc> |
coderanger_, is there another place i should look into? |
| [18:13:05] |
<coderanger_> |
You restarted the server? |
| [18:13:16] |
<bnovc> |
yes |
| [18:13:21] |
<coderanger_> |
hmm |
| [18:13:29] |
<bnovc> |
there is no mention of TRAC_URI_ROOT in my trac instance or the trac script directory |
| [18:13:30] |
<bnovc> |
in any files |
| [18:13:55] |
<coderanger_> |
Its not generally needed, apache usually figure it out on its own |
| [18:14:14] |
<coderanger_> |
Can you pastebin your trac.ini? |
| [18:15:12] |
<bnovc> |
sure |
| [18:15:13] |
<bnovc> |
one second |
| [18:15:36] |
<bnovc> |
coderanger_, http://home.bnovc.com/trac.ini |
| [18:15:53] |
<bnovc> |
i'm trying to get it to load at genericselect.com |
| [18:16:02] |
<bnovc> |
which is redirect to http://home.bnovc.com/gs-trac |
| [18:17:09] |
<coderanger_> |
Try setting [trac] \n base_url = / |
| [18:17:14] |
<bnovc> |
k |
| [18:17:48] |
<bnovc> |
its set, no different |
| [18:19:57] |
<coderanger_> |
wait, are these two different tracs? |
| [18:20:06] |
<coderanger_> |
or is one proxying to the other |
| [18:20:29] |
<bnovc> |
coderanger_, same trac |
| [18:20:37] |
<bnovc> |
genericselect.com is being rewriten to home.bnovc.com |
| [18:20:50] |
* |
tat_ has quit IRC |
| [18:21:14] |
<coderanger_> |
can I see the vhost for this |
| [18:21:29] |
<bnovc> |
i didn't setup a vhost |
| [18:21:33] |
<bnovc> |
i used mod_rewrite |
| [18:22:12] |
<coderanger_> |
Thats going to confuse things greatly |
| [18:22:31] |
<coderanger_> |
You can't have the same trac at two different paths |
| [18:22:31] |
<bnovc> |
i wasn't sure how else to do it so i did that :) |
| [18:22:42] |
<bnovc> |
i don't care if its accessible at home.bnovc.com |
| [18:22:55] |
<coderanger_> |
Then you want to use a vhost ;-) |
| [18:23:19] |
<bnovc> |
i can't just set it to use / instead of /gs-trac ? |
| [18:23:47] |
<coderanger_> |
No, because after the rewrite, Trac will be very confused at the conflicting path_info and TRAC_URI_ROOT |
| [18:23:56] |
<coderanger_> |
I would guess there are errors in your log right now |
| [18:24:38] |
<bnovc> |
humph |
| [18:24:48] |
<bnovc> |
ok i'll google how to do a virtual host |
| [18:26:32] |
<bnovc> |
there is probably a way to set the DNS for the domain to go to home.bnovc.com/gs-trac |
| [18:26:33] |
<bnovc> |
i just didnt know how |
| [18:27:29] |
<coderanger_> |
No, DNS is just for resolving names to IPs |
| [18:27:44] |
<bnovc> |
what is the preferred way of doing this then? |
| [18:28:00] |
<bnovc> |
i would want the DNS to point to the same ip as home.bnovc.com and use a virtual host there? |
| [18:28:23] |
<coderanger_> |
yes |
| [18:28:37] |
<coderanger_> |
you put each domain in a vhost |
| [18:29:04] |
<coderanger_> |
and then apache uses the Host: header and the ServerName directive to figure out which to use for a request |
| [18:30:00] |
<bnovc> |
i currently just have <VirtualHost *>...everything</ so i assume that can't stay anymore |
| [18:30:35] |
<coderanger_> |
No, that stays |
| [18:30:41] |
<coderanger_> |
You just make another |
| [18:30:55] |
<coderanger_> |
with a different SeverName |
| [18:32:19] |
<bnovc> |
damn it, DNS won't update to my ip |
| [18:32:35] |
<coderanger_> |
How were you serving the site before? |
| [18:32:37] |
<bnovc> |
i think my computer is just caching |
| [18:32:52] |
<bnovc> |
coderanger_, it was directed to the same ip as the DNS (not home.bnovc.com) and that had an apache rewrite |
| [18:34:07] |
<bnovc> |
guess i have to wait 48 hours for my ISP to update my dns |
| [18:35:20] |
<coderanger_> |
DNS in general takes 24-48 to fully update |
| [18:35:45] |
<coderanger_> |
Most servers will cache entries for at least that long |
| [18:35:52] |
<bnovc> |
i changed genericselect.com. A to my ip versus that one |
| [18:35:56] |
* |
bnovc sigh |
| [18:36:06] |
<bnovc> |
so much waiting involved |
| [18:36:22] |
<bnovc> |
i suppose i could just hack trac's files to directly point to right place |
| [18:36:23] |
<bnovc> |
force it to |
| [18:38:18] |
<bnovc> |
coderanger_, is there a way i can force my computer to know the new location? |
| [18:38:24] |
<bnovc> |
so i can finish setting this up |
| [18:38:30] |
<coderanger_> |
/etc/hosts |
| [18:40:07] |
<bnovc> |
do i need to restart something afteward? 64.136.219.176 genericselect.com |
| [18:41:21] |
<coderanger_> |
No |
| [18:41:31] |
<boorad> |
anyone know how to include a .css file, but just for one project? |
| [18:41:35] |
<coderanger_> |
UNIX doesn't do the whole "restart to do everything" |
| [18:41:44] |
<bnovc> |
coderanger_, i meant restart some daemon |
| [18:41:53] |
<bnovc> |
boorad, there is a templates directory with header |
| [18:41:54] |
<coderanger_> |
boorad: Two options, site_css.cs |
| [18:41:57] |
<bnovc> |
can add <link ...?> |
| [18:42:05] |
<coderanger_> |
or SysCss plugin on TracHacks |
| [18:42:09] |
<boorad> |
site_css.cs is global, iirc |
| [18:42:26] |
<coderanger_> |
boorad: Its a CS temple, so it looks up the load path for it |
| [18:42:41] |
<coderanger_> |
if it finds it in /path/to/env/templates itl use that one |
| [18:42:53] |
<bnovc> |
coderanger_, ping genericselect.com should show 64.. now then, correct? |
| [18:42:56] |
<boorad> |
k, lemme give it a whirl - thx |
| [18:44:00] |
<coderanger_> |
bnovc: Yes |
| [18:44:09] |
<bnovc> |
well, it doesn't :( |
| [18:45:58] |
<coderanger_> |
bnovc: Um, what does /etc/nsswitch.conf say for hosts? |
| [18:46:25] |
<bnovc> |
i don't have an nsswitch.conf |
| [18:47:30] |
<coderanger_> |
What kind of system is this? |
| [18:47:45] |
<bnovc> |
OSX |
| [18:47:48] |
<coderanger_> |
Ohhhhh |
| [18:47:54] |
<coderanger_> |
That explains it |
| [18:47:59] |
<bnovc> |
home.bnovc.com is debian, i'm using an OSX computer |
| [18:48:08] |
<coderanger_> |
Apple kind of changed all that stuff |
| [18:48:24] |
<coderanger_> |
No easy way to alter the hosts data |
| [18:48:36] |
<bnovc> |
so i just have to wait to do this? |
| [18:48:51] |
<coderanger_> |
Yep |
| [18:49:08] |
<bnovc> |
arg.. |
| [18:49:28] |
<bnovc> |
is there any way i can test setting up apache without being able to access it through the domain |
| [18:50:18] |
<coderanger_> |
Not really, since vhost dispatching is all based on hostnames |
| [18:50:34] |
<coderanger_> |
there is some way to fool it using paths, but that wouldn't help in this case |
| [18:55:25] |
<bnovc> |
coderanger_, could you tell me how i modify this so only that domain goes to trac? http://rafb.net/paste/results/xM6yRB40.html |
| [18:55:56] |
<coderanger_> |
Flip the order |
| [18:56:04] |
<coderanger_> |
the first vhost is also the default on |
| [18:56:12] |
<bnovc> |
oh ok |
| [18:56:50] |
<bnovc> |
well that worked...i don't know if genericselect.com is working now though |
| [19:01:10] |
* |
mac__ has joined #trac |
| [19:12:33] |
<bnovc> |
coderanger_, main page works with this setup but all the other pages are hosed...is this correct? http://home.bnovc.com/httpd.conf |
| [19:15:11] |
<coderanger_> |
Which vhost isnt working? |
| [19:17:11] |
<bnovc> |
coderanger_, the bottom one |
| [19:17:20] |
<bnovc> |
trac loads on the main page but all subdirectories die |
| [19:17:27] |
<bnovc> |
you can see it on genericselect.com if you add it to your hosts file |
| [ |