http rewrite help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I am using the following rewrite rule to redirect a
alias to a specific application:

RewriteCond %{HTTP_HOST} ^.*survey.*$ [NC]
RewriteRule ^/$ http://survey.store.com.us/Survey/$1
[R]


server name is company.store.com
alias is survey.store.com

When users click on the survey url, they are directed
to the appliation, but the host and domain return to
the actual server name (company.store.com)

ie:
click on http://survey.store.com.us
and user is directed to
http://company.store.com.us/Survey/

We want users to see the alias, not the actual server
name.  How do we do this?

we want http://survey.store.com.us/Survey/

Thanks.




 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux