On 11/4/05, Cristian Bichis <[EMAIL PROTECTED]> wrote:
> 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.com/parameter         the url should stay as is
> it (no redirection) but the internal processing should load file
> index.php?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

RewriteRule (.*) index.php?p=$1

I don't really see what is complicated here.

Joshua.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to