mod_rewrite help
The owner provides a free domain like say www.blah.com and the customers site is www.site.com
the custom could then go to http://www.blah.com/www.site.com and the document root for www.site.com is /usr/local/psa/home/vhosts/www.site.com/httpdocs i could make an entry for each site but i think this seems pointless so i wish to find a way to use one statement, any help woudl be appreciated.
Scott
AliasMatch ^/([^/]+)(/(.*))? /usr/local/psa/home/vhosts/$1/httpdocs
or:
AliasMatch ^/([^/]+)(/(.*))? /usr/local/psa/home/vhosts/$1/httpdocs/
Would be either way, and not need rewrite....
#If you have any other info about this subject , Please add it free.# |