Subdomains are first a DNS issue... The first place you have to go is
your DNS config, since users.body-builders.org wouldn't exist without an
A or CNAME record.
I don't know if mod_rewrite can do anything about the subdomains like
that, if it can't, you will have to add VirtualHost directives to
httpd.conf for each subdomain.
--Matt
-----Original Message-----
From: BRACK [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 09, 2001 12:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] mod_rewrite
I have a website URL www.body-builders.org and users have URLs
like www.body-builders.org/user According to the virtual hosting
rules I can do any configuration tweaks by .htaccess file.
What I want to do is to offer my users URLs like users.body-
builders.org Is it possible to do with rewrite rules in .htaccess?
I tried this in my .htaccess but it doesnt help -
RewriteEngine on
RewriteCond %{HTTP_HOST} ^users\.body-builders\.org$
RewriteRule ^.*$ http://www.body-
builders.org/users/indexr.php [L]
Youri
PS there are three lines in code.
<>< <>< <>< <>< God is our provider ><> ><> ><> ><>
http://www.body-builders.org
New!!! - http://body-builders.org/index.php?links=1
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]