Ok, I tried your method and it worked fine for me! I don't think that
I need to spend much time debugging rewriterules so I will stay with
it.
Thanks in advance!
2007/5/2, Joshua Slive <[EMAIL PROTECTED]>:
On 5/2/07, Dmitry Hazin <[EMAIL PROTECTED]> wrote:
> Yes, that was my mistake. Anyway, wit
On 5/2/07, Dmitry Hazin <[EMAIL PROTECTED]> wrote:
Yes, that was my mistake. Anyway, without that line it didn't work too :(
It seems that apache doesn't read RewriteRule directive after it had
read ServerAlias one..
No, that's not true. As I said, if you want to debug mod_rewite you
need to us
Yes, that was my mistake. Anyway, without that line it didn't work too :(
It seems that apache doesn't read RewriteRule directive after it had
read ServerAlias one..
What do you mean "the technique of having two s"?
We do have 2 virtualhosts: one for www.site.com and one for www.site.ru
Do you sup
On 5/2/07, Dmitry Hazin <[EMAIL PROTECTED]> wrote:
I tried the following directives to force redirect:
Well, I think the technique of having two s is clearer,
but anyway...
RewriteCond %{HTTP_HOST} ^xx\.site\.com [NC]
RewriteCond %{HTTP_HOST} ^$
RewriteRule ^/(.*) http://www.site
I tried the following directives to force redirect:
RewriteCond %{HTTP_HOST} ^xx\.site\.com [NC]
RewriteCond %{HTTP_HOST} ^$
RewriteRule ^/(.*) http://www.site.ru/some/location/$1 [L,R=301]
But still no success; it opens the index page of the
http://www.site.ru when typing 'xx.site.c
On 4/30/07, Dmitry Hazin <[EMAIL PROTECTED]> wrote:
What is the correct way to configure apache so it will redirect from
xx.site.com to http://www.site.ru/some/location ?
See:
http://wiki.apache.org/httpd/Recipes/CanonicalHostNames
Joshua.
Hi there,
I searched for a while but couldn't point out what is the right way to
do the following:
We have the following virtualhost configuration:
...
ServerName www.site.ru
DocumentRoot /home/www/ru.site.www
ServerAlias xx.site.com
...
What I need is to redirect from http://x
: Thursday, January 11, 2007 11:11 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] ServerAlias with Apache 2.0.40
Hi all,
I'm tryint to test one virtual host with some alias.
My conf is:
ServerName www.nombre.es
ServerAlias www.nombre.net www.nombre.com www.nombre.org
I've s
users@httpd.apache.org
> Subject: [EMAIL PROTECTED] ServerAlias with Apache 2.0.40
>
> Hi all,
> I'm tryint to test one virtual host with some alias.
> My conf is:
>
> ServerName www.nombre.es
> ServerAlias www.nombre.net www.nombre.com www.nombre.org
>
>
&
> -Original Message-
> From: cristina [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 11, 2007 11:11 AM
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] ServerAlias with Apache 2.0.40
>
> Hi all,
> I'm tryint to test one virtual host
Hi all,
I'm tryint to test one virtual host with some alias.
My conf is:
ServerName www.nombre.es
ServerAlias www.nombre.net www.nombre.com www.nombre.org
I've seen that I could use ServerAlias with the same domain:
www1.nombre.es www2.nombre.es and so on. But my question is if I can use
> -Original Message-
> From: OOzy Pal [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 5:21 PM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] ServerAlias
>
> On 6/9/06, Rainer Sokoll <[EMAIL PROTECTED]> wrote:
> > On Fri, Jun 09, 2
On 6/9/06, Rainer Sokoll <[EMAIL PROTECTED]> wrote:
On Fri, Jun 09, 2006 at 06:00:27PM +0300, OOzy Pal wrote:
> When I type admin.b1.com in Firefox or Lynx, I get SERVER NOT FOUND error
Since there is no A record (DNS) for admin.b1.com:
~ >host admin.b1.com
Host admin.b1.com not found: 3(NXDOM
On Fri, Jun 09, 2006 at 06:00:27PM +0300, OOzy Pal wrote:
> When I type admin.b1.com in Firefox or Lynx, I get SERVER NOT FOUND error
Since there is no A record (DNS) for admin.b1.com:
~ >host admin.b1.com
Host admin.b1.com not found: 3(NXDOMAIN)
Rainer
When I type admin.b1.com in Firefox or Lynx, I get SERVER NOT FOUND error
My VH is as follows:
NameVirtualHost *
Options FollowSymLinks
AllowOverride None
Allow from All
DirectoryIndex index.php
ServerName www.b1.com
ServerAlias admin.b1.com
D
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael D Schleif wrote:
> Apache/1.3.33
>
> ServerAlias
>
> [A] Is there a limit to how long a ServerAlias can be? Characters?
> Words?
If it's a valid hostname, you can use it in ServerAlias.
>
> [B] Can I use multiple (more than one) Serve
Apache/1.3.33
ServerAlias
[A] Is there a limit to how long a ServerAlias can be? Characters?
Words?
[B] Can I use multiple (more than one) ServerAlias line? For large
numbers of aliases, this may improve readability and manageability.
What do you think?
--
Best Regards,
mds
mds res
17 matches
Mail list logo