-Original Message-
From: Chris Arnold [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 13, 2007 7:16 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] domain.com/~user - user.domain.com
I have a vhost like this also (does not work):
You should fix you VH config
What does does not work mean???
Takes me to the main page
Couple of points:
- do you have mod_rewrite? (cf. IfModule...)
Yes
- why does this need to go in a .htaccess file?
B/C i can not get a vhost working so i thought this might work
It will only be used if the directory is accessed - are
On Nov 12, 2007 4:46 PM, Antonio Piu [EMAIL PROTECTED] wrote:
Want I want to do is the following:
If someone accesses http://user.domain.com/ he shall be redirected to
http://www.domain.com/~user/
From http://www.easymodrewrite.com/example-subdomains without having
tested it, this should
Want I want to do is the following:
If someone accesses http://user.domain.com/ he shall be redirected to
http://www.domain.com/~user/
From http://www.easymodrewrite.com/example-subdomains without having
tested it, this should work:
RewriteEngine On
RewriteBase /
RewriteCond
According to the page referenced:
http://www.easymodrewrite.com/example-subdomains
*This code should be placed in the htaccess file in the root of your
domain, i.e.* domain.com/.htaccess
.
On Nov 12, 2007 1:30 PM, Antonio Piu [EMAIL PROTECTED] wrote:
Want I want to do is the following:
Want I want to do is the following:
If someone accesses http://user.domain.com/ he shall be
redirected to
http://www.domain.com/~user/
From http://www.easymodrewrite.com/example-subdomains without having
tested it, this should work:
RewriteEngine On
RewriteBase /
Thanks! but where I have to put this code? In which .htaccess?
I too would like to use this but when i put it in my htaccess file, it does not
work. Here is my htaccess with the supplied code in it. Maybe i am not finding
the right place to place this code?
Limit GET
order allow,deny
allow
-Original Message-
From: Chris Arnold [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 13, 2007 1:12 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] domain.com/~user - user.domain.com
Thanks! but where I have to put this code? In which .htaccess?
I too would like