
March 11th, 2012, 11:16 AM
|
 |
mod_dev_shed
|
|
Join Date: Sep 2002
Location: Atlanta, GA
|
|
Assuming newsite is a non-existent folder in /var/www/vhosts/example.com/httpdocs:
Code:
example.com/.htaccess
RewriteRule ^newsite(/.*)?$ /originalsite/subfolder$1 [L]
You may need to also have the following:
Code:
example.com/originalsite/subfolder/.htaccess
RewriteEngine Off
__________________
# Jeremy
Explain your problem instead of asking how to do what you decided was the solution.
|