Re: [users@httpd] Redirecting limit for this URL exceeded.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joshua, thanks a lot.

I created an entry in that form and restarted Apache but, unfortunately,
it doesn't seem to work.

Here is what I exactly entered:

-----------
<VirtualHost *:80>
 ServerName cvfx.com
 Redirect / http://www.cvfx.com/
 </VirtualHost>
-----------

... and the existing entry for cvfx is as follows:

-----------
<VirtualHost 72.36.161.82>
ServerAlias www.cvfx.com
ServerAdmin webmaster@xxxxxxxx
DocumentRoot /home/cvfx/public_html
BytesLog domlogs/cvfx.com-bytes_log
ServerName www.cvfx.com

User cvfx
Group cvfx
CustomLog /usr/local/apache/domlogs/cvfx.com combined
ScriptAlias /cgi-bin/ /home/cvfx/public_html/cgi-bin/
</VirtualHost>
-----------

To test it, I browsed to docmo.com which is pointed to my nameservers,
ns1.cvfx.com and ns2.cvfx.com, but which has not been entered as a
virtualhost entry on this server.

Unfortunately, both "docmo.com" and "www.docmo.com" resulted in a Site
Not Found error. 

One question I have about doing this as a redirect is, will this remove
my PHP page's ability to know what domain the user originally wanted? 
That's a pretty important part of the service I want to offer.

I very much appreciate your help, thank you.

Donnacha



On Mon, 17 Oct 2005 17:54:04 -0400, "Joshua Slive" <jslive@xxxxxxxxx>
said:
> On 10/17/05, Mukarram Syed <muksyed@xxxxxxxxx> wrote:
> > <VirtualHost *:80>
> > ServerName esalton.com
> > ServerAlias www.esalton.com
> > Redirect / http://www.esalton.com/
> > </VirtualHost>
> 
> This is our second redirect-loop question today.  This is a
> redirection loop because the redirected URL hits the same Redirect as
> the original URL.  You want.
> 
>  <VirtualHost *:80>
>  ServerName esalton.com
>  Redirect / http://www.esalton.com/
>  </VirtualHost>
> 
> <VirtualHost *:80>
>   ServerAlias www.esalton.com
>  DocumentRoot ...
> </VirtualHost>
> 
> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux