John, I'm having a similar problem.

I just bought a new domain last night (which will bring my total to two),
and the problem is that I've only got one webroot.

So both http://domain1.com and http://domain2.com point to the same root
folder.

I can check for the existence of "domain2" in the http_referer and then do a
cflocation to the subfolder that will act as domain2's root and will contain
domain2's site information, but then I get
http://domain2.com/subfolder/index.cfm instead of
http://domain2.com/index.cfm.

I called my hosting company and they told me that the only ways to overcome
this would be through URL rewriting, or by maintaining both sites out of the
same root. The latter option sounds like a train wreck waiting to happen. I
did some preliminary searching for URL rewriting last night, but most of the
solutions seem to involve a level of control over the web server that I'm
not sure I've got.

I feel like if I could set up an IIS virtual directory, that I'd be good,
but I don't think I have the ability to do that. What's the simplest way to
do URL rewriting -- that can be accomplished by someone using a hosting
company (mine's crystaltech)?

Thanks,
Chris

(John, I hope you don't feel like I'm hijacking your thread...)

On 8/16/07, Marlon Moyer <[EMAIL PROTECTED]> wrote:
>
> .htaccess is an Apache thing....
>
> I've not had a lot of good luck with URL rewriting on IIS.  There are
> a couple of filters out there that can do it, but it seems most say
> they're not for production.
>
> On 8/16/07, John Ivanoff <[EMAIL PROTECTED]> wrote:
> > Let's say on my web site I have a employees section.
> > intranet/employees
> > which you can search for employees.
> >
> > I would like to make a
> > intranet/employee/ivanoff
> > and return results for the variable ivanoff
> >
> > I have figured out how to do
> > intranet/employee/index.cfm/ivanoff
> > and get the results I want
> >
> > Is this something I need to do on the webserver? .htaccess file?
> > I'm using an IIS server.
> >
> > so in a nut shell i guess what I need to do is instead of looking for
> > a folder (ivanoff) I need to make it a query string.
> >
> > Thanks
> > John
> >
> > _______________________________________________
> > Reply to DFWCFUG:
> >   [email protected]
> > Subscribe/Unsubscribe:
> >   http://lists1.safesecureweb.com/mailman/listinfo/list
> > List Archives:
> >     http://www.mail-archive.com/list%40list.dfwcfug.org/
> >   http://www.mail-archive.com/list%40dfwcfug.org/
> > DFWCFUG Sponsors:
> >   www.instantspot.com/
> >   www.teksystems.com/
> >
>
>
> --
> "Constant over stimu-lation numbs me
> and I wouldn't have
> It any other way."
>
> _______________________________________________
> Reply to DFWCFUG:
>   [email protected]
> Subscribe/Unsubscribe:
>   http://lists1.safesecureweb.com/mailman/listinfo/list
> List Archives:
>     http://www.mail-archive.com/list%40list.dfwcfug.org/
>   http://www.mail-archive.com/list%40dfwcfug.org/
> DFWCFUG Sponsors:
>   www.instantspot.com/
>   www.teksystems.com/
>



-- 
http://cjordan.us
_______________________________________________
Reply to DFWCFUG: 
  [email protected]
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
    http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.instantspot.com/
  www.teksystems.com/

Reply via email to