| | |
mod_rewrite subdomain
![]() |
i need to point all files in a subdomain to a different subdomain, but I *do not* want to redirect them, for intance
htp://abc.domain.com/file1.php
should really be:
htp://www.domain.com/subd/abc/file1.php
htp://abc.domain.com/file2.php
should really be:
htp://www.domain.com/subd/abc/file2.php
etc etc...
is this possible, and if so can i see an example? If it makes things easier i can write a unique htaccess file for every subdomain, I don't need it to be completly generic
htp://abc.domain.com/file1.php
should really be:
htp://www.domain.com/subd/abc/file1.php
htp://abc.domain.com/file2.php
should really be:
htp://www.domain.com/subd/abc/file2.php
etc etc...
is this possible, and if so can i see an example? If it makes things easier i can write a unique htaccess file for every subdomain, I don't need it to be completly generic
I always mess it up, I start simple and then want more and more and get things too complex and then it breaks. So I better not give tips
:cheesy: a vBulletin fan community @ vBulletin.nl :cheesy:
![]() |
Similar Threads
- .htaccess redirect for subdomain (*nix Software)
- vBulletin mod_rewrite (PHP)
- Apache mod_rewrite with Google Ads (Linux Servers and Apache)
- mod_rewrite in asp .net using vb (ASP.NET)
- mod_rewrite (Linux Servers and Apache)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: Assistance please..
- Next Thread: Pray for help on mod_rewrite rule
| Thread Tools | Search this Thread |
.net amazon apache bbc bluegene centos cisco citrix cloud cloudcomputing datacenters debian dell desktops development distributions distros drivers economy eeepc energy enterprise fedora fsf gadgets gentoo government gpl hardware hp hyper-v ibm jobs kindle knoppix kvm laptop laptops lawsuits ldap licensing limo linustorvalds linux linuxfoundation linuxmagazine magazines microserver microsoft mobile mobilephones netbook netbooks news novell olpc open openmoko openoffice opensolaris opensource opensuse openvz operatingsystems os patents pc pcworld plathome politics print qumranet redhat rhel robot russia sco server servers slackware software solaris source stallman sun supercomputer support tivo torvalds training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen





