Hello,
Why don't you say what you're trying instead.
All my pages requests must go to one unique file: index.php into website
root.
I need a subdomain, and all requests for pages from subdomain must go to
index.php into website root not subdomain folder.
And you absolutely must
use the
1. http://subdomain.site.com the url should stay as is it (no
redirection) but the internal processing should load file index.php from
site root (URL: www.site.com/index.php); so in file paths terms should
load index.php from the parent of subdomain folder
2. http://subdomain.site.co
1. http://subdomain.site.comthe url should stay as is it (no
redirection) but the internal processing should load file index.php from
site root (URL: www.site.com/index.php); so in file paths terms should
load index.php from the parent of subdomain folder
2. http://subdomain.
Hello,
The website root is:
/home/site/domains/site.com/public_html
Cristian Bichis
I think this is impossible to answer without knowing what the
DocumentRoot of each of the two vhosts is. Please provide what your
file structure looks like,
On 11/4/05, Cristian Bichis <[EM
?p=parameter from site root (URL: www.site.com/index.php); so
in file paths terms should load index.php from the parent of subdomain
folder
How it should look main .htaccess then ? I mean RewriteRule, RewriteCond
aso...
Best regards,
Cristian Bichis
Can't set httpd.conf because it's not my server, and i don't have access
to httpd.conf
Thanks,
Cristian
Cristian Bichis wrote:
RewriteRule ^/usr/home/domain1/domains/domain1\.com/public_html/(.*)$
/usr/home/domain2/domains/domain2\.com/public_html/$1
RewriteRules app
Hello,
I am trying to use exactly the same source files code for 2 websites
hosted into 2 hosting user accounts (let's say domain1.com and
domain2.com), i am on Direct Admin platform.
So, when i want to load http://www.domain2.com/somecode.php i want to
be used somecode.php file from