=== lamont [n=lamont@mix.mmjgroup.com] has joined #ubuntu-server | ||
=== lamont [n=lamont@mix.mmjgroup.com] has joined #ubuntu-server | ||
=== ealden [n=ealden@ipdial-189-55.tri-isys.com] has joined #ubuntu-server | ||
=== spacey_ki [n=spacey@flits101-191.flits.rug.nl] has joined #ubuntu-server | ||
=== FlannelKing [n=flannel@crlsbd-cuda5-68-67-177-17.crlsca.adelphia.net] has joined #ubuntu-server | ||
FlannelKing | Alright guys, why doesn't my config setup (http://pastebin.ca/35053) allow the rewrites at the bottom of that page? | 07:35 |
---|---|---|
fabbione | FlannelKing: in none of your configs you load mod_rewrite. | 07:42 |
FlannelKing | yes, I do, its mods-enabled, standard ubuntu shindig | 07:43 |
FlannelKing | so, it gets loaded when mods-enabled/*.load gets loaded | 07:43 |
FlannelKing | I wish it was that simple | 07:43 |
fabbione | check errors.log? | 07:44 |
fabbione | works here | 07:44 |
fabbione | so the module does work | 07:44 |
fabbione | it has something to do with what you are trying to do | 07:44 |
fabbione | and imho you could just redirect instead of rewrite for what you are doing | 07:45 |
fabbione | also.. why are you using PT? | 07:46 |
fabbione | did you read what PT is for? | 07:46 |
FlannelKing | Pass Through, yeah, but that's not the important bit, since removing it stilld oesnt work | 07:47 |
FlannelKing | Ive tried numerous permutations and locations over the past week, can't et anything to work. | 07:47 |
FlannelKing | and I cant figure out why, and it appears no one really can. | 07:47 |
fabbione | what module do you load first? | 07:48 |
fabbione | mod_rewrite or mod_dav? | 07:48 |
fabbione | and try swapping them | 07:48 |
FlannelKing | um, they load in order, I think, so dav before rewrite | 07:48 |
FlannelKing | I assume they load in alphabetical order? | 07:48 |
fabbione | the load order is important | 07:48 |
fabbione | yes they shoul | 07:49 |
fabbione | should | 07:49 |
FlannelKing | I figured it wasnt, becaues all the loads get loaded, before the config files for any | 07:49 |
fabbione | try with something like: 01_mod_rewrite | 07:49 |
fabbione | and 02_mod_dav | 07:49 |
FlannelKing | yeah, | 07:49 |
fabbione | and swap them | 07:49 |
FlannelKing | let me try | 07:49 |
fabbione | i need to go for a shower | 07:49 |
fabbione | bbl | 07:49 |
FlannelKing | nope, still doesn't work | 07:51 |
fabbione | works here fine | 08:25 |
fabbione | i did add the same svn lines to my site | 08:26 |
fabbione | www.fabbione.net/svn/ | 08:26 |
fabbione | it redirects to /shower/ | 08:26 |
fabbione | RewriteEngine on | 08:26 |
fabbione | RewriteRule ^/svn$ /shower [PT] | 08:26 |
fabbione | RewriteRule ^/svn/$ /shower [PT] | 08:26 |
fabbione | RewriteRule ^/svn/index.html$ /shower [PT] | 08:26 |
fabbione | this is inside the virtualhost directive | 08:26 |
fabbione | so it's either where you stick the config bits | 08:27 |
fabbione | or interaction with mod_dav | 08:27 |
fabbione | for sure mod_rewrite works | 08:28 |
FlannelKing | is that default ubuntu configs? | 08:30 |
FlannelKing | with the SymLinks or whatnot | 08:30 |
FlannelKing | erm, do you have moddav? | 08:30 |
FlannelKing | yeah, well, it doesn't even work with other rewrites | 08:30 |
FlannelKing | if I try and rewrite ^/$ | 08:31 |
FlannelKing | and it still doesnt work | 08:31 |
fabbione | it's ubuntu yes | 08:31 |
fabbione | default config | 08:31 |
fabbione | other than the path to the website | 08:31 |
fabbione | no i don't have mod_dav | 08:31 |
fabbione | try one test case at a time | 08:31 |
fabbione | start from the default | 08:32 |
fabbione | and add rewrite | 08:32 |
fabbione | once rewrite works | 08:32 |
fabbione | add mod_dav | 08:32 |
fabbione | and see what happens | 08:32 |
FlannelKing | yeah, just means I have to start over from scratch. bother. | 08:32 |
fabbione | no just move the config file somewhere for later usage | 08:32 |
FlannelKing | oh, I know. | 08:32 |
FlannelKing | just means I have to remember what I did, and undo it. | 08:33 |
FlannelKing | to get back to default | 08:33 |
fabbione | reason why you never edit the default, but create a copy | 08:33 |
FlannelKing | but, thats a great idea, no idea why I didnt think of it sooner | 08:33 |
FlannelKing | you think removing my ssl site has anything to do with it? | 08:35 |
FlannelKing | erm, adding it | 08:35 |
FlannelKing | nevermind | 08:35 |
fabbione | start with the default | 08:37 |
fabbione | reallyl | 08:37 |
fabbione | add the rewrite | 08:37 |
fabbione | check it works | 08:37 |
fabbione | add mod_dav | 08:37 |
fabbione | once you get the basic done, the rest will work almost automagically | 08:38 |
FlannelKing | yeah | 08:38 |
fabbione | adding extra crap on top won't help and for sure you won't find anybody to help you later on | 08:38 |
FlannelKing | so, rewrite firsT? and where would I put the rewrite stuff? which file? | 08:38 |
fabbione | i did add it to my enable-sites/default (or whatever you have there) | 08:39 |
FlannelKing | alright | 08:39 |
fabbione | inside the <virtualhost> directive | 08:39 |
FlannelKing | outside of everything? | 08:39 |
FlannelKing | alright | 08:39 |
FlannelKing | so, back to default, now try rewrite first you say? | 08:39 |
fabbione | yes | 08:39 |
fabbione | create 2 empty dirs | 08:39 |
fabbione | in www area | 08:39 |
fabbione | foo and bar | 08:40 |
fabbione | check that you can rewrite from foo to bar | 08:40 |
fabbione | or something like that | 08:40 |
fabbione | nothing too fancy really | 08:40 |
fabbione | that will ensure your rewrite rules are working | 08:40 |
fabbione | and check all 3 of them | 08:40 |
fabbione | not just one | 08:40 |
FlannelKing | alright, modrewrite works | 08:42 |
FlannelKing | now, add the subversion/webdav stuff? | 08:43 |
FlannelKing | alright, that's when it breaks | 08:44 |
FlannelKing | so, is it because the dav_svn has a Location /svn in it? and it's usurping the url before it gets a chance? or what? | 08:45 |
fabbione | probably | 08:47 |
fabbione | i don't have mod_dav, so it might be that Location and rewrite ruls are in conflict | 08:47 |
FlannelKing | well, you can take a look at that conf file at my psatebin, | 08:47 |
FlannelKing | umm... | 08:47 |
FlannelKing | http://pastebin.ca/35053 | 08:48 |
fabbione | i already did.. to test, but i am not going to add mod_dav for testing on my production server | 08:48 |
FlannelKing | oh, right, and I dont expect you to | 08:48 |
FlannelKing | it just makes me wonder why no one else has this problem. | 08:48 |
FlannelKing | I guess Ill have to ask for their conf, or someting. | 08:48 |
fabbione | did you try to google? | 08:49 |
fabbione | or to check the docs on httpd.apache.org? | 08:49 |
fabbione | there is a deep tutorial on mod_rewrite | 08:49 |
fabbione | perhaps it's mentioned how to do it properly | 08:49 |
FlannelKing | yeah, Ive been learning a lot, but none of it helps | 08:49 |
fabbione | did you try #apache ? | 08:49 |
FlannelKing | daily | 08:49 |
FlannelKing | and #svn | 08:49 |
FlannelKing | thanks a lot fabbione, you've been much more of a help than countless others, even if it was just knocking some sense into me to stop me acting ignorant | 08:54 |
fabbione | no problem | 08:54 |
fabbione | time to start fixing the tivo :) | 08:55 |
fabbione | later | 08:55 |
FlannelKing | good luck | 08:55 |
=== whiprush [n=jorge@64.62.190.212] has joined #ubuntu-server | ||
fabbione | shawarma: ping? | 11:21 |
fabbione | unping | 11:23 |
=== Valandil [n=chrys@dslb-084-056-110-090.pools.arcor-ip.net] has joined #ubuntu-server | ||
=== segfault [i=carlos@ubuntu/member/segfault] has joined #ubuntu-server | ||
shawarma | fabbione: pong? | 02:10 |
shawarma | fabbione: er... unpong.. | 02:10 |
=== bosse_ [n=bosse@ad-lo-5.finet.se] has joined #ubuntu-server | ||
=== bosse_ [n=bosse@ad-lo-5.finet.se] has left #ubuntu-server ["Lmnar"] | ||
=== lbm [n=lbm@x1-6-00-13-10-7a-d1-e4.k233.webspeed.dk] has joined #ubuntu-server | ||
=== aidehua [i=edward@zubin.tropic.org.uk] has left #ubuntu-server [] | ||
=== Pygi [n=mario@83-131-240-232.adsl.net.t-com.hr] has joined #ubuntu-server | ||
=== ealden [n=ealden@ipdial-189-55.tri-isys.com] has joined #ubuntu-server | ||
=== MarioMeyer_ [n=meyer@ubuntu/member/mariomeyer] has joined #ubuntu-server | ||
Pygi | ho, cara | 05:01 |
Pygi | chara* | 05:01 |
MarioMeyer_ | heya | 05:02 |
=== Valandil [n=chrys@dslb-084-056-115-154.pools.arcor-ip.net] has joined #ubuntu-server | ||
=== Pygi [n=mario@83-131-247-215.adsl.net.t-com.hr] has joined #ubuntu-server | ||
=== hazmat [n=hazmat@c-67-164-12-219.hsd1.ca.comcast.net] has joined #ubuntu-server | ||
hazmat | does ubuntu have any scripts to manage the /etc/rc.* services | 11:05 |
shawarma | update-rc.d | 11:06 |
hazmat | shawarma, thanks | 11:07 |
shawarma | No problem. | 11:07 |
hazmat | also found rcconf from a google search | 11:07 |
shawarma | Hmm.. Never heard of it. | 11:08 |
hazmat | apparently just a front end to update-rc.d | 11:08 |
shawarma | hazmat: Right. | 11:09 |
fabbione | hey shawarma | 11:09 |
fabbione | shawarma: you got mails :) | 11:09 |
shawarma | fabbione: Hey there. | 11:09 |
Pygi | fabbione: ho, now your mail box :) | 11:09 |
shawarma | fabbione: Yeah, I saw them. Imported, and uploaded. | 11:09 |
fabbione | Pygi: ? | 11:10 |
shawarma | fabbione: Thanks. | 11:10 |
fabbione | shawarma: no problem | 11:10 |
Pygi | fabbione: ah, nothing, I was reffering to that you became a mail box :P | 11:10 |
Pygi | fabbione shawarma: you got mails :) | 11:10 |
=== fabbione nods | ||
Pygi | hah, yes, I'll stop talkin' now :P | 11:11 |
hazmat | the ubuntu server mailing list in the topic, isn't publicly advertised in the mailman index of either lists.ubuntu.com or lists.canonical.com... the only way to find out how to subscribe is to know mailman urls or subscription emails. | 11:22 |
fabbione | hazmat: yes it's a known issue | 11:23 |
Pygi | yup, we know... | 11:23 |
fabbione | just pick a list and change the url to ubuntu-server | 11:23 |
fabbione | it will work just fine | 11:23 |
=== mipe [n=michael@181-0-124-83.dsl.3u.net] has joined #ubuntu-server |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!