OT: apache ip based virtual server example - mod_rewrite? | |
again, i know this is OT...just move along to the next post if it bugs you.
:)
i had been trying to have this:
project.66.204.32.110
from the client browser, map to a virtual host where the document root would
be:
c:/inetpub/wwwroot/project
i can't seem to get that to work and would love an example. however, in the
mean-time, is there a way to use mod_rewrite so that a client's browser
request in the form of: www.66.204.32.110/project
would map to whatever was after the first slash? such that i'd have virtual,
ip based hosts for: www.66.204.32.110/projectA www.66.204.32.110/projectB www.66.204.32.110/projectC
where the rewrite would make the document root (respectively)
c:/inetpub/wwwroot/projectA
c:/inetpub/wwwroot/projectB
c:/inetpub/wwwroot/projectC
i'm not sure which is the best approach, but i don't want to fork out $75
just to have a DNS entry that i can more easily make into name-based virtual
hosts. this is a development/prototyping server anyway...hence
"c:/<anything>". :)
tia,
me | | | | re: OT: apache ip based virtual server example - mod_rewrite?
Dale schreef: Quote:
again, i know this is OT...just move along to the next post if it bugs you.
:)
>
i had been trying to have this:
>
project.66.204.32.110
>
from the client browser, map to a virtual host where the document root would
be:
>
c:/inetpub/wwwroot/project
>
i can't seem to get that to work and would love an example. however, in the
mean-time, is there a way to use mod_rewrite so that a client's browser
request in the form of:
> www.66.204.32.110/project
>
would map to whatever was after the first slash? such that i'd have virtual,
ip based hosts for:
> www.66.204.32.110/projectA www.66.204.32.110/projectB www.66.204.32.110/projectC
>
where the rewrite would make the document root (respectively)
>
c:/inetpub/wwwroot/projectA
c:/inetpub/wwwroot/projectB
c:/inetpub/wwwroot/projectC
>
i'm not sure which is the best approach, but i don't want to fork out $75
just to have a DNS entry that i can more easily make into name-based virtual
hosts. this is a development/prototyping server anyway...hence
"c:/<anything>". :)
>
tia,
>
>
me
>
Hi Dale,
I was about to tell you you should post to alt.apache.configuration if
you have a question regarding mod_rewrite, only to notice you already did...
Please, in the future, do a crossposting to both groups, not a multipost.
If you DID a crosspost we could all see you posted to the right place,
and what is more, we wouldn't waste our time answering your question.
Crosspost = posting to all the relevant newsgroups in ONE post.
Multipost = posting to different newsgroups one after the other with the
same question.
Crossposting makes your audience lifes so much easier.
Thx.
Regards,
Erwin Moller
--
============================
Erwin Moller
Now dropping all postings from googlegroups.
Why? http://improve-usenet.org/
============================ | | | | re: OT: apache ip based virtual server example - mod_rewrite?
Erwin Moller wrote: Quote:
>
Dale schreef: Quote:
>again, i know this is OT...just move along to the next post if it bugs
>you. :)
>>
>i had been trying to have this:
>>
>project.66.204.32.110
>>
>from the client browser, map to a virtual host where the document root
>would be:
>>
>c:/inetpub/wwwroot/project
>>
>i can't seem to get that to work and would love an example. however,
>in the mean-time, is there a way to use mod_rewrite so that a client's
>browser request in the form of:
>>
> www.66.204.32.110/project
>>
>would map to whatever was after the first slash? such that i'd have
>virtual, ip based hosts for:
>>
> www.66.204.32.110/projectA
> www.66.204.32.110/projectB
> www.66.204.32.110/projectC
>>
>where the rewrite would make the document root (respectively)
>>
>c:/inetpub/wwwroot/projectA
>c:/inetpub/wwwroot/projectB
>c:/inetpub/wwwroot/projectC
>>
>i'm not sure which is the best approach, but i don't want to fork out
>$75 just to have a DNS entry that i can more easily make into
>name-based virtual hosts. this is a development/prototyping server
>anyway...hence "c:/<anything>". :)
>>
>tia,
>>
>>
>me
>
Hi Dale,
>
I was about to tell you you should post to alt.apache.configuration if
you have a question regarding mod_rewrite, only to notice you already
did...
>
Please, in the future, do a crossposting to both groups, not a multipost.
If you DID a crosspost we could all see you posted to the right place,
and what is more, we wouldn't waste our time answering your question.
>
Crosspost = posting to all the relevant newsgroups in ONE post.
Multipost = posting to different newsgroups one after the other with the
same question.
>
Crossposting makes your audience lifes so much easier.
>
Thx.
>
Regards,
Erwin Moller
>
Hi, Erwin,
Oh, is the stoopid troll at it again? Thinking this is his personal
support group for any question he wants to ask? And saying it's "OT"
somehow makes it OK?
The guy is a major fuckard, that's for sure. No wonder he won't use his
real name and keeps switching his aliases to get by people's filters.
Glad I found a filter which doesn't depend on his name.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. jstucklex@attglobal.net
================== | | | | re: OT: apache ip based virtual server example - mod_rewrite?
Jerry Stuckle schreef: Quote:
Erwin Moller wrote: Quote:
>>
>Dale schreef: Quote:
>>again, i know this is OT...just move along to the next post if it
>>bugs you. :)
>>>
>>i had been trying to have this:
>>>
>>project.66.204.32.110
>>>
>>from the client browser, map to a virtual host where the document
>>root would be:
>>>
>>c:/inetpub/wwwroot/project
>>>
>>i can't seem to get that to work and would love an example. however,
>>in the mean-time, is there a way to use mod_rewrite so that a
>>client's browser request in the form of:
>>>
>> www.66.204.32.110/project
>>>
>>would map to whatever was after the first slash? such that i'd have
>>virtual, ip based hosts for:
>>>
>> www.66.204.32.110/projectA
>> www.66.204.32.110/projectB
>> www.66.204.32.110/projectC
>>>
>>where the rewrite would make the document root (respectively)
>>>
>>c:/inetpub/wwwroot/projectA
>>c:/inetpub/wwwroot/projectB
>>c:/inetpub/wwwroot/projectC
>>>
>>i'm not sure which is the best approach, but i don't want to fork out
>>$75 just to have a DNS entry that i can more easily make into
>>name-based virtual hosts. this is a development/prototyping server
>>anyway...hence "c:/<anything>". :)
>>>
>>tia,
>>>
>>>
>>me
>>
>Hi Dale,
>>
>I was about to tell you you should post to alt.apache.configuration if
>you have a question regarding mod_rewrite, only to notice you already
>did...
>>
>Please, in the future, do a crossposting to both groups, not a multipost.
>If you DID a crosspost we could all see you posted to the right place,
>and what is more, we wouldn't waste our time answering your question.
>>
>Crosspost = posting to all the relevant newsgroups in ONE post.
>Multipost = posting to different newsgroups one after the other with
>the same question.
>>
>Crossposting makes your audience lifes so much easier.
>>
>Thx.
>>
>Regards,
>Erwin Moller
>>
>
Hi, Erwin,
>
Oh, is the stoopid troll at it again? Thinking this is his personal
support group for any question he wants to ask? And saying it's "OT"
somehow makes it OK?
Hi Jerry,
Yes, the Dale of the (amongst others) $_REQUEST fanclub. ;-) Quote:
>
The guy is a major fuckard, that's for sure. No wonder he won't use his
real name and keeps switching his aliases to get by people's filters.
Glad I found a filter which doesn't depend on his name.
LOL, he wrote in the $REQUEST fanclubthread something about that
namething. He changes his name only for you personally because he thinks
your filters use his name and he wants to be sure you read his posts for
some reason beyond my understanding.
Anyway, this Dale should stop multiposting.
Regards,
Erwin Moller
--
============================
Erwin Moller
Now dropping all postings from googlegroups.
Why? http://improve-usenet.org/
============================ | | | | re: OT: apache ip based virtual server example - mod_rewrite?
"Jerry Stuckle" <jstucklex@attglobal.netwrote in message
news:g8gv69$ppe$1@registered.motzarella.org... Quote:
Erwin Moller wrote: Quote:
>>
>Dale schreef: Quote:
>>again, i know this is OT...just move along to the next post if it bugs
>>you. :)
>>>
>>i had been trying to have this:
>>>
>>project.66.204.32.110
>>>
>>from the client browser, map to a virtual host where the document root
>>would be:
>>>
>>c:/inetpub/wwwroot/project
>>>
>>i can't seem to get that to work and would love an example. however, in
>>the mean-time, is there a way to use mod_rewrite so that a client's
>>browser request in the form of:
>>>
>> www.66.204.32.110/project
>>>
>>would map to whatever was after the first slash? such that i'd have
>>virtual, ip based hosts for:
>>>
>> www.66.204.32.110/projectA
>> www.66.204.32.110/projectB
>> www.66.204.32.110/projectC
>>>
>>where the rewrite would make the document root (respectively)
>>>
>>c:/inetpub/wwwroot/projectA
>>c:/inetpub/wwwroot/projectB
>>c:/inetpub/wwwroot/projectC
>>>
>>i'm not sure which is the best approach, but i don't want to fork out
>>$75 just to have a DNS entry that i can more easily make into name-based
>>virtual hosts. this is a development/prototyping server anyway...hence
>>"c:/<anything>". :)
>>>
>>tia,
>>>
>>>
>>me
>>
>Hi Dale,
>>
>I was about to tell you you should post to alt.apache.configuration if
>you have a question regarding mod_rewrite, only to notice you already
>did...
>>
>Please, in the future, do a crossposting to both groups, not a multipost.
>If you DID a crosspost we could all see you posted to the right place,
>and what is more, we wouldn't waste our time answering your question.
>>
>Crosspost = posting to all the relevant newsgroups in ONE post.
>Multipost = posting to different newsgroups one after the other with the
>same question.
>>
>Crossposting makes your audience lifes so much easier.
>>
>Thx.
>>
>Regards,
>Erwin Moller
>>
>
Hi, Erwin,
>
Oh, is the stoopid troll at it again? Thinking this is his personal
support group for any question he wants to ask? And saying it's "OT"
somehow makes it OK?
>
The guy is a major fuckard, that's for sure. No wonder he won't use his
real name and keeps switching his aliases to get by people's filters. Glad
I found a filter which doesn't depend on his name.
you mean you're glad you've finally figured out how the filters work...after
years of saying you could filter me at any time. LOL. you just finally
fessed up without realizing you're caught lying. i think that makes you the
major 'fuckard' [sic]. | | | | re: OT: apache ip based virtual server example - mod_rewrite?
"Erwin Moller"
<Since_humans_read_this_I_am_spammed_too_much@spam yourself.comwrote in
message news:48ac1e2f$0$188$e4fe514c@news.xs4all.nl... Quote:
>
Jerry Stuckle schreef: Quote:
>Erwin Moller wrote: Quote:
>>>
>>Dale schreef:
>>>again, i know this is OT...just move along to the next post if it bugs
>>>you. :)
>>>>
>>>i had been trying to have this:
>>>>
>>>project.66.204.32.110
>>>>
>>>from the client browser, map to a virtual host where the document root
>>>would be:
>>>>
>>>c:/inetpub/wwwroot/project
>>>>
>>>i can't seem to get that to work and would love an example. however, in
>>>the mean-time, is there a way to use mod_rewrite so that a client's
>>>browser request in the form of:
>>>>
>>> www.66.204.32.110/project
>>>>
>>>would map to whatever was after the first slash? such that i'd have
>>>virtual, ip based hosts for:
>>>>
>>> www.66.204.32.110/projectA
>>> www.66.204.32.110/projectB
>>> www.66.204.32.110/projectC
>>>>
>>>where the rewrite would make the document root (respectively)
>>>>
>>>c:/inetpub/wwwroot/projectA
>>>c:/inetpub/wwwroot/projectB
>>>c:/inetpub/wwwroot/projectC
>>>>
>>>i'm not sure which is the best approach, but i don't want to fork out
>>>$75 just to have a DNS entry that i can more easily make into
>>>name-based virtual hosts. this is a development/prototyping server
>>>anyway...hence "c:/<anything>". :)
>>>>
>>>tia,
>>>>
>>>>
>>>me
>>>
>>Hi Dale,
>>>
>>I was about to tell you you should post to alt.apache.configuration if
>>you have a question regarding mod_rewrite, only to notice you already
>>did...
>>>
>>Please, in the future, do a crossposting to both groups, not a
>>multipost.
>>If you DID a crosspost we could all see you posted to the right place,
>>and what is more, we wouldn't waste our time answering your question.
>>>
>>Crosspost = posting to all the relevant newsgroups in ONE post.
>>Multipost = posting to different newsgroups one after the other with the
>>same question.
>>>
>>Crossposting makes your audience lifes so much easier.
>>>
>>Thx.
>>>
>>Regards,
>>Erwin Moller
>>>
>>
>Hi, Erwin,
>>
>Oh, is the stoopid troll at it again? Thinking this is his personal
>support group for any question he wants to ask? And saying it's "OT"
>somehow makes it OK?
>
Hi Jerry,
>
Yes, the Dale of the (amongst others) $_REQUEST fanclub. ;-)
> Quote:
>>
>The guy is a major fuckard, that's for sure. No wonder he won't use his
>real name and keeps switching his aliases to get by people's filters.
>Glad I found a filter which doesn't depend on his name.
>
LOL, he wrote in the $REQUEST fanclubthread something about that
namething. He changes his name only for you personally because he thinks
your filters use his name and he wants to be sure you read his posts for
some reason beyond my understanding.
>
Anyway, this Dale should stop multiposting.
nah, i don't think i will.
as for $_REQUEST...well, i can't help it if you don't know what
loose-coupling is. how you take input should not in any way shape how you
process it. even in cli, if you've got a solid processing engine built, you
simply have to change the caller's code...NOT how the data is processed. oh
well, you are still young and inexperienced. i'll leave it at that.
cheers. | | | | re: OT: apache ip based virtual server example - mod_rewrite?
Dale schreef: Quote:
"Erwin Moller"
<Since_humans_read_this_I_am_spammed_too_much@spam yourself.comwrote in
message news:48ac1e2f$0$188$e4fe514c@news.xs4all.nl... Quote:
>Jerry Stuckle schreef: Quote:
>>Erwin Moller wrote:
>>>Dale schreef:
>>>>again, i know this is OT...just move along to the next post if it bugs
>>>>you. :)
>>>>>
>>>>i had been trying to have this:
>>>>>
>>>>project.66.204.32.110
>>>>>
>>>>from the client browser, map to a virtual host where the document root
>>>>would be:
>>>>>
>>>>c:/inetpub/wwwroot/project
>>>>>
>>>>i can't seem to get that to work and would love an example. however, in
>>>>the mean-time, is there a way to use mod_rewrite so that a client's
>>>>browser request in the form of:
>>>>>
>>>> www.66.204.32.110/project
>>>>>
>>>>would map to whatever was after the first slash? such that i'd have
>>>>virtual, ip based hosts for:
>>>>>
>>>> www.66.204.32.110/projectA
>>>> www.66.204.32.110/projectB
>>>> www.66.204.32.110/projectC
>>>>>
>>>>where the rewrite would make the document root (respectively)
>>>>>
>>>>c:/inetpub/wwwroot/projectA
>>>>c:/inetpub/wwwroot/projectB
>>>>c:/inetpub/wwwroot/projectC
>>>>>
>>>>i'm not sure which is the best approach, but i don't want to fork out
>>>>$75 just to have a DNS entry that i can more easily make into
>>>>name-based virtual hosts. this is a development/prototyping server
>>>>anyway...hence "c:/<anything>". :)
>>>>>
>>>>tia,
>>>>>
>>>>>
>>>>me
>>>Hi Dale,
>>>>
>>>I was about to tell you you should post to alt.apache.configuration if
>>>you have a question regarding mod_rewrite, only to notice you already
>>>did...
>>>>
>>>Please, in the future, do a crossposting to both groups, not a
>>>multipost.
>>>If you DID a crosspost we could all see you posted to the right place,
>>>and what is more, we wouldn't waste our time answering your question.
>>>>
>>>Crosspost = posting to all the relevant newsgroups in ONE post.
>>>Multipost = posting to different newsgroups one after the other with the
>>>same question.
>>>>
>>>Crossposting makes your audience lifes so much easier.
>>>>
>>>Thx.
>>>>
>>>Regards,
>>>Erwin Moller
>>>>
>>Hi, Erwin,
>>>
>>Oh, is the stoopid troll at it again? Thinking this is his personal
>>support group for any question he wants to ask? And saying it's "OT"
>>somehow makes it OK?
>Hi Jerry,
>>
>Yes, the Dale of the (amongst others) $_REQUEST fanclub. ;-)
>> Quote:
>>The guy is a major fuckard, that's for sure. No wonder he won't use his
>>real name and keeps switching his aliases to get by people's filters.
>>Glad I found a filter which doesn't depend on his name.
>LOL, he wrote in the $REQUEST fanclubthread something about that
>namething. He changes his name only for you personally because he thinks
>your filters use his name and he wants to be sure you read his posts for
>some reason beyond my understanding.
>>
>Anyway, this Dale should stop multiposting.
>
nah, i don't think i will.
Hi Dale/Barry,
Are you still (s)thinking you can troll me?
I won't take the bait. Quote:
>
as for $_REQUEST...well, i can't help it if you don't know what
loose-coupling is. how you take input should not in any way shape how you
process it. even in cli, if you've got a solid processing engine built, you
simply have to change the caller's code...NOT how the data is processed. oh
well, you are still young and inexperienced. i'll leave it at that.
>
cheers.
>
Forget it, I had 1 'discussion' with you in which you showed little to
none talent for logical analysis. Nor were you able to stick to the
subject at hand.
So I gave up on you and wonder why I tried to help you anyway with
sending you to the right place for mod_rewrite.
Now go working on your simple regular expression to get your basic job
done in mod_rewrite.
Don't forget to use a few design patterns and some of your famous
business logic.
I should have listened earlier to Jerry: You are a complete retard, not
worth my attention.
Erwin
PS: Dale, please start posting via Googlegroups.
--
============================
Erwin Moller
Now dropping all postings from googlegroups.
Why? http://improve-usenet.org/
============================ | | | | re: OT: apache ip based virtual server example - mod_rewrite?
"Erwin Moller"
<Since_humans_read_this_I_am_spammed_too_much@spam yourself.comwrote in
message news:48ad1b2f$0$190$e4fe514c@news.xs4all.nl... Quote:
>
Dale schreef: Quote:
>"Erwin Moller"
><Since_humans_read_this_I_am_spammed_too_much@spa myourself.comwrote in
>message news:48ac1e2f$0$188$e4fe514c@news.xs4all.nl... Quote:
>>Jerry Stuckle schreef:
>>>Erwin Moller wrote:
>>>>Dale schreef:
>>>>>again, i know this is OT...just move along to the next post if it
>>>>>bugs you. :)
>>>>>>
>>>>>i had been trying to have this:
>>>>>>
>>>>>project.66.204.32.110
>>>>>>
>>>>>from the client browser, map to a virtual host where the document
>>>>>root would be:
>>>>>>
>>>>>c:/inetpub/wwwroot/project
>>>>>>
>>>>>i can't seem to get that to work and would love an example. however,
>>>>>in the mean-time, is there a way to use mod_rewrite so that a
>>>>>client's browser request in the form of:
>>>>>>
>>>>> www.66.204.32.110/project
>>>>>>
>>>>>would map to whatever was after the first slash? such that i'd have
>>>>>virtual, ip based hosts for:
>>>>>>
>>>>> www.66.204.32.110/projectA
>>>>> www.66.204.32.110/projectB
>>>>> www.66.204.32.110/projectC
>>>>>>
>>>>>where the rewrite would make the document root (respectively)
>>>>>>
>>>>>c:/inetpub/wwwroot/projectA
>>>>>c:/inetpub/wwwroot/projectB
>>>>>c:/inetpub/wwwroot/projectC
>>>>>>
>>>>>i'm not sure which is the best approach, but i don't want to fork out
>>>>>$75 just to have a DNS entry that i can more easily make into
>>>>>name-based virtual hosts. this is a development/prototyping server
>>>>>anyway...hence "c:/<anything>". :)
>>>>>>
>>>>>tia,
>>>>>>
>>>>>>
>>>>>me
>>>>Hi Dale,
>>>>>
>>>>I was about to tell you you should post to alt.apache.configuration if
>>>>you have a question regarding mod_rewrite, only to notice you already
>>>>did...
>>>>>
>>>>Please, in the future, do a crossposting to both groups, not a
>>>>multipost.
>>>>If you DID a crosspost we could all see you posted to the right place,
>>>>and what is more, we wouldn't waste our time answering your question.
>>>>>
>>>>Crosspost = posting to all the relevant newsgroups in ONE post.
>>>>Multipost = posting to different newsgroups one after the other with
>>>>the same question.
>>>>>
>>>>Crossposting makes your audience lifes so much easier.
>>>>>
>>>>Thx.
>>>>>
>>>>Regards,
>>>>Erwin Moller
>>>>>
>>>Hi, Erwin,
>>>>
>>>Oh, is the stoopid troll at it again? Thinking this is his personal
>>>support group for any question he wants to ask? And saying it's "OT"
>>>somehow makes it OK?
>>Hi Jerry,
>>>
>>Yes, the Dale of the (amongst others) $_REQUEST fanclub. ;-)
>>>
>>>The guy is a major fuckard, that's for sure. No wonder he won't use
>>>his real name and keeps switching his aliases to get by people's
>>>filters. Glad I found a filter which doesn't depend on his name.
>>LOL, he wrote in the $REQUEST fanclubthread something about that
>>namething. He changes his name only for you personally because he thinks
>>your filters use his name and he wants to be sure you read his posts for
>>some reason beyond my understanding.
>>>
>>Anyway, this Dale should stop multiposting.
>>
>nah, i don't think i will.
>
Hi Dale/Barry,
>
Are you still (s)thinking you can troll me?
I won't take the bait.
who's trolling? you keep coming with the insults...not me. Quote: Quote:
>as for $_REQUEST...well, i can't help it if you don't know what
>loose-coupling is. how you take input should not in any way shape how you
>process it. even in cli, if you've got a solid processing engine built,
>you simply have to change the caller's code...NOT how the data is
>processed. oh well, you are still young and inexperienced. i'll leave it
>at that.
>>
>cheers.
>
Forget it, I had 1 'discussion' with you in which you showed little to
none talent for logical analysis. Nor were you able to stick to the
subject at hand.
So I gave up on you and wonder why I tried to help you anyway with sending
you to the right place for mod_rewrite.
are you kidding or just projecting?!!! for every accusation you just made,
provide a quote that supports it! as it is, you won't be able to do
so...proving you're a liar. Quote:
Now go working on your simple regular expression to get your basic job
done in mod_rewrite.
the regex is not the problem. but, you're an inexperienced idiot, so what
should i expect. Quote:
Don't forget to use a few design patterns and some of your famous business
logic.
and you keep on avoiding reading anything related to design patterns or just
plain ol' loose-coupling. Quote:
I should have listened earlier to Jerry: You are a complete retard, not
worth my attention.
yes, yes you are. |  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,418 network members.
|