?

Log in

No account? Create an account
Fear of mod_rewrite - Lindsey Kuper [entries|archive|friends|userinfo]
Lindsey Kuper

[ website | composition.al ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Fear of mod_rewrite [Jan. 29th, 2005|01:52 am]
Lindsey Kuper
I'm Michael Jackson
I'm misunderstood
'cause I didn't
Have no childhood

-- some guy freestyling on the Red Line tonight. hee!

There's a lot going on at work. Like Ozzy, we're going through changes. I was at work for ten hours, and I'm going in tomorrow to work on this particular project some more. This reminds me a little of school, when we were working on the ride board, except I'd like to think that now I'm not so dumb.

LinkReply

Comments:
From: mrr
2005-01-29 05:33 pm (UTC)

i fear mod_rewrite

took me an hour or more to hack these out, all to redirect %0..com/%1 to www.obhost.net/%1 and some SSL redirects and to redirect support.obhost.net to /support.html.

it sucks.



commonapache2.conf:ReWriteRule /(.*) http://%1.obhost.net/$1 [L,R=303]
commonapache2.conf:ReWriteRule /(.*) http://www.obhost.net/support.html [L,R=303]

vhosts/vhosts.conf:RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]
vhosts/vhosts.conf:RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]
vhosts/vhosts.conf:RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]
vhosts/vhosts.conf:RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]
vhosts/vhosts.conf:RewriteRule ^/(.*) https://postfixadmin.obhost.net/$1 [R,L]
vhosts/vhosts.conf:RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]
(Reply) (Thread)
[User Picture]From: lindseykuper
2005-01-30 03:15 pm (UTC)

Re: i fear mod_rewrite

Man. I saw this support request the other day, and I didn't know what to say. It seems like a worthwhile thing that the user is trying to do, but...good luck, dude.
(Reply) (Parent) (Thread)
From: mrr
2005-01-31 06:07 am (UTC)

Re: i fear mod_rewrite

mod_rewrite can do anything.

but can you figure out mod_rewrite?

likely not!

hah.
(Reply) (Parent) (Thread)
[User Picture]From: lindseykuper
2005-01-31 03:35 pm (UTC)

Re: i fear mod_rewrite

And just to clarify, I'm not making fun of the user. Rather, I admire them for trying to do something cool that I'd be too chicken to attempt.
(Reply) (Parent) (Thread)