You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "PINNI, BALANAND (SBCSI)" <bp...@sbc.com> on 2004/11/22 21:24:00 UTC

[users@httpd] URL redirect:

All-
Please help me with this question. Since I have more than one virtual
host that needs to re directed to its respective application url in each
case .How do I do that?

How can I redirect one url to another i.e.

Redirect http://abc.domain.com to http://abc.domain.com/hello/hello.html

The whole idea is redirecting Virtual cost to complete application url.

Thanks
Balanand Pinni

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


Re: [users@httpd] Solved: [users@httpd] php webmailer download hangs

Posted by Ralf Glauberman <rg...@michaeli-gymnasium.de>.
Well, there is one more question:
how can i turn off deflate-compression for only one file? or do i have to 
turn it off for the whole directory. the following didn't work, but the 
regex was just guessed, don't know regex syntax.
<Location />
  SetEnvIf Request_URI ^/webmail/download.php no-gzip
</Location>
or is there a php-statement i can put in the file?
the actual link looks like this:
https://www.domain.de/webmail/download.php?folder=inbox&ix=0&attach=2&sid={41A6549DCCAA5-41A6549DCD271-1101419789}&tid=0&lid=2
can anyone help?
Ralf

----- Original Message ----- 
From: "Ralf Glauberman" <rg...@michaeli-gymnasium.de>
To: <us...@httpd.apache.org>
Sent: Thursday, November 25, 2004 10:35 PM
Subject: [users@httpd] Solved: [users@httpd] php webmailer download hangs


> ok, to answer my own question, i finally solved the problem. i thought it 
> could be interesting, so i'll tell you what the problem was:
> the php-skript changed some headers and this did conflict, don't know why, 
> with the deflate-compression of apache, seem to be a problem of the 
> contentlength header.
> by
> Ralf
>
> ----- Original Message ----- 
> From: "Ralf Glauberman" <rg...@michaeli-gymnasium.de>
> To: <us...@httpd.apache.org>
> Sent: Wednesday, November 24, 2004 8:39 PM
> Subject: [users@httpd] php webmailer download hangs
>
>
>> hi,
>> i'm using the webmailer uebimiau, written in php. the problem is that 
>> when trying to download mail-attachments the download hangs at about 90% 
>> at every attachement. wanted to know if this could be an apache/php 
>> problem. i've been trying to find this bug for to long now, so i would 
>> really appreciate any suggestions.
>>
>> Apache 2.0.52, PHP 4.*
>> SuSE 9.0, 2.4 Kernel
>>
>> Ralf
>>
>>
>> ---------------------------------------------------------------------
>> 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@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


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


[users@httpd] Solved: [users@httpd] php webmailer download hangs

Posted by Ralf Glauberman <rg...@michaeli-gymnasium.de>.
ok, to answer my own question, i finally solved the problem. i thought it 
could be interesting, so i'll tell you what the problem was:
the php-skript changed some headers and this did conflict, don't know why, 
with the deflate-compression of apache, seem to be a problem of the 
contentlength header.
by
Ralf

----- Original Message ----- 
From: "Ralf Glauberman" <rg...@michaeli-gymnasium.de>
To: <us...@httpd.apache.org>
Sent: Wednesday, November 24, 2004 8:39 PM
Subject: [users@httpd] php webmailer download hangs


> hi,
> i'm using the webmailer uebimiau, written in php. the problem is that when 
> trying to download mail-attachments the download hangs at about 90% at 
> every attachement. wanted to know if this could be an apache/php problem. 
> i've been trying to find this bug for to long now, so i would really 
> appreciate any suggestions.
>
> Apache 2.0.52, PHP 4.*
> SuSE 9.0, 2.4 Kernel
>
> Ralf
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


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


[users@httpd] php webmailer download hangs

Posted by Ralf Glauberman <rg...@michaeli-gymnasium.de>.
hi,
i'm using the webmailer uebimiau, written in php. the problem is that when 
trying to download mail-attachments the download hangs at about 90% at every 
attachement. wanted to know if this could be an apache/php problem. i've 
been trying to find this bug for to long now, so i would really appreciate 
any suggestions.

Apache 2.0.52, PHP 4.*
SuSE 9.0, 2.4 Kernel

Ralf


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


Re: [users@httpd] URL redirect:

Posted by Ralf Glauberman <rg...@michaeli-gymnasium.de>.
it can aslo come later if php outputbuffering is active

----- Original Message ----- 
From: "The Disguised Jedi" <di...@gmail.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, November 24, 2004 12:14 AM
Subject: Re: [users@httpd] URL redirect:


> Also, if you use the PHP, the line there needs to come before ANYTHING
> is outputted to the browser.
>
>
> -- 
> The Disguised Jedi
> disguised.jedi@gmail.com
>
> PHP rocks!
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


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


Re: [users@httpd] URL redirect:

Posted by The Disguised Jedi <di...@gmail.com>.
Also, if you use the PHP, the line there needs to come before ANYTHING
is outputted to the browser.


-- 
The Disguised Jedi
disguised.jedi@gmail.com

PHP rocks!

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


Re: [users@httpd] URL redirect:

Posted by The Disguised Jedi <di...@gmail.com>.
Example in PHP...These go in the index for abc.domain.com

<?php header('Location: http://abc.domain.com/hello/hello'); ?>

HTML...goes in the same file...

<meta http-equiv="refresh" content="0;http://abc.domain.com/hello/hello">

The 0 can be set to whatever you want to delay the transfer X number
of seconds...

Hope it helps!

-- 
The Disguised Jedi
disguised.jedi@gmail.com

PHP rocks!

On Tue, 23 Nov 2004 20:03:29 +0100, Ralf Glauberman wrote:
> use a index page in your 
> documentroot to do that, you just need to set the correct header.

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


Re: [users@httpd] URL redirect:

Posted by Ralf Glauberman <rg...@michaeli-gymnasium.de>.
you meen redirecting a user who requests http://abc.domain.com/ to 
http://abc.domain.com/hello/hello.html but not redirecting a user requesting 
http://abc.domain.com/test.html at all? use a indextpage in your 
documentroot to do that, you just need to set the correct header.

----- Original Message ----- 
From: "PINNI, BALANAND (SBCSI)" <bp...@sbc.com>
To: <us...@httpd.apache.org>
Sent: Monday, November 22, 2004 9:24 PM
Subject: [users@httpd] URL redirect:



All-
Please help me with this question. Since I have more than one virtual
host that needs to re directed to its respective application url in each
case .How do I do that?

How can I redirect one url to another i.e.

Redirect http://abc.domain.com to http://abc.domain.com/hello/hello.html

The whole idea is redirecting Virtual cost to complete application url.

Thanks
Balanand Pinni

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


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