You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mukarram Syed <mu...@yahoo.com> on 2006/01/26 02:10:50 UTC

[users@httpd] Yet another Redirect/ RedirectMatch question

 All,
I have been researching on this for the past 2 hours and haven't found a solution.
Here is my issue.  
I want to redirect http://maxim-toastmaster.com to http://www.esalton.com
This is what I have tried so far:

1.
<VirtualHost *:80>
  ServerName maxim-toastmaster.com
  RedirectMatch permanent ^/$ http://www.esalton.com/
</VirtualHost>

2.
<VirtualHost *:80>
  ServerName maxim-toastmaster.com
  Redirect permanent / http://www.esalton.com/
</VirtualHost>

3.
Redirect /maxim-toastmaster.com http://www.esalton.com/

None of these options worked.

I am sure many people have asked this question and answered them, but these are the answers I found and implemented them and they didn't work.
Appreciate your help.

Thanks

-Mukarram Syed.


				
---------------------------------
Bring words and photos together (easily) with
 PhotoMail  - it's free and works with your Yahoo! Mail.

Re: [users@httpd] Yet another Redirect/ RedirectMatch question

Posted by Mukarram Syed <mu...@yahoo.com>.
Since http://maxim-toastmaster.com DNS was under our control, I could change the A record to point to www.esalton.com and that worked rather than doing the redirects.
Thanks for all your help.

-Mukarram Syed.


Mukarram Syed <mu...@yahoo.com> wrote: Hi,
I am trying to reproduce the error that you all have mentioned in your emails to me.  
Where do you get the part where it says:
 
 [HTTP/1.1 *301 Moved Permanently*\r\nServer: 
 Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30:
 20 GMT\r\nContent-length: 0\r\n*Location: 
 http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]

I have used Live Http Headers and when I hit http://maxim-toastmaster.com I get the following:

http://www.esalton.com/store/application

GET /store/application HTTP/1.1
Host: www.esalton.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection:  keep-alive
Cookie: root.autoUserLoginId=muksyed; JSESSIONID=15BA62B88A1C9A40D8C02445B8D06E40.sprod1
If-Modified-Since: Mon, 22 Nov 2004 19:19:56 GMT
If-None-Match: "369b8e-649-bde1af00;b025fec0"

HTTP/1.x 404 Not Found
Date: Fri, 27 Jan 2006 22:42:58 GMT
Server: Apache/2.0.46 (Red Hat)
Last-Modified: Mon, 14 Nov 2005 18:22:29 GMT
Etag: "48264-649-8dc58340;8dc58340"
Accept-Ranges: bytes
Content-Length: 1609
Connection: close
Content-Type: text/html; charset=UTF-8

Please help.  I am confused.

Thanks very much for the help provided so far.

Mukarram Syed <mu...@yahoo.com> wrote: Thanks Anderson.

To answer the last part "
 Yet, it should work... Anyways, I think 
your best shot would be to redirect http://www.max-toastmaster.com/ 
directly to  http://www.esalton.com/control/main/ , instead of just 
http://www.esalton.com/ .
"

I tried that i.e.,

<VirtualHost *:80>
  ServerName maxim-toastmaster.com
  Redirect / http://www.esalton.com/control/main/
</VirtualHost>

It still doesn't work.

Thanks for your help.  They help narrow down to the problem immensely.

Regards

-Mukarram 

Anderson Miranda <an...@brasilenergia.com.br> wrote: Hi Syed, List...

First off, I'm getting the headers from my proxy log files (squid).

When I try to access http://www.esalton.com/ , I'm getting this:
[HTTP  /1.1  *302 Moved Temporarily*\r\nDate: Fri, 27 Jan 2006 20:31:52 
GMT\r\nServer: Apache/2.0.46 (Red Hat)\r\nSe
t-Cookie: JSESSIONID=448CA44547341BDABA5A08DA36180DAB.sprod1; 
Path=/\r\n*Locati  on:  http://www.esalton.com/control/main*\r\nCon
tent-Type: text/html;charset=ISO-8859-1\r\nContent-Length: 
0\r\nConnection: close\r\n\r]

which means you have, somewhere, a Temporary Redirection for the 
http://www.esalton.com/ address.

When I try to access http://www.maxim-toastmaster.com/ , I'm getting this:
[HTTP/1.1 *301 Moved Permanently*\r\nServer: 
Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30:
20 GMT\r\nContent-length: 0\r\n*Location: 
http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]

which means you have, somewhere, a Permanent Redirection for the 
http://www.maxim-toastmaster.com/ address.

I'm not 100% sure how HTTP protocol works with such redirections but, 
it's at least confusing to   have an  address permanently redirected to a 
second address and then, to have this second address temporarily 
redirected to a third one... Yet, it should work... Anyways, I think 
your   best  shot would be to redirect http://www.max-toastmaster.com/ 
directly to http://www.esalton.com/control/main/ , instead of just 
http://www.esalton.com/ .

Hope this all can help you.

Regards,
asm

______________________
Mukarram Syed escreveu:

>
> Thanks Joost.  This helps.  What do we do next since it is not 
> pointing to Apache.  It looks like someone else is displaying this 404 
> error page.
>
> Silly question...How did you look at the headers.  I downloaded http 
> liveheaders for firefox and when I opened it up, I am not seeing 
> anything in the headers.
> I know this is slightly out of scope, but I appreciate the help.
>
> thanks
> -Mukarram Syed.
>
> */Joost de   Heer  /* wrote:
>
>     Mukarram Syed wrote:
>     > Hi.
>     > Thanks for replying Joshua. Sorry for delay in responding back.
>      >
>     > Here is my redirect:
>     >
>     >
>     > ServerName maxim-toastmaster.com
>     > Redirect / http://www.esalton.com/
>     >
>
>     Here are the headers when I go to 'http://maxim-toastmaster.com':
>
>     HTTP/1.x 301 Moved Permanently
>     Server: Netscape-Enterprise/6.0
>     Date: Fri, 27 Jan 2006 09:51:16 GMT
>     Content-Length: 0
>     Location: http://www.esalton.com/store/application
>     Connection: close
>
>     I.e. a Sun ONE webserver is answering and not Apache....
>
>     Joost
>
>
>     ---------------------------------------------------------------------
>     The official User-To-User support forum of t  he  Apache HTTP Server
>     Project.
>     See 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
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> With a free 1 GB, there's more in store with Yahoo! Mail. 
>  




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See  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





Mukarram  Syed
muksyed@yahoo.com   

---------------------------------
 
  What are the most popular cars? Find out at Yahoo! Autos 



Mukarram Syed
muksyed@yahoo.com     

---------------------------------
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.



Mukarram Syed
muksyed@yahoo.com
		
---------------------------------
Do you Yahoo!?
 With a free 1 GB, there's more in store with Yahoo! Mail.

Re: [users@httpd] Yet another Redirect/ RedirectMatch question

Posted by Mukarram Syed <mu...@yahoo.com>.
Hi,
I am trying to reproduce the error that you all have mentioned in your emails to me.  
Where do you get the part where it says:
 
 [HTTP/1.1 *301 Moved Permanently*\r\nServer: 
 Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30:
 20 GMT\r\nContent-length: 0\r\n*Location: 
 http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]

I have used Live Http Headers and when I hit http://maxim-toastmaster.com I get the following:

http://www.esalton.com/store/application

GET /store/application HTTP/1.1
Host: www.esalton.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: root.autoUserLoginId=muksyed; JSESSIONID=15BA62B88A1C9A40D8C02445B8D06E40.sprod1
If-Modified-Since: Mon, 22 Nov 2004 19:19:56 GMT
If-None-Match: "369b8e-649-bde1af00;b025fec0"

HTTP/1.x 404 Not Found
Date: Fri, 27 Jan 2006 22:42:58 GMT
Server: Apache/2.0.46 (Red Hat)
Last-Modified: Mon, 14 Nov 2005 18:22:29 GMT
Etag: "48264-649-8dc58340;8dc58340"
Accept-Ranges: bytes
Content-Length: 1609
Connection: close
Content-Type: text/html; charset=UTF-8

Please help.  I am confused.

Thanks very much for the help provided so far.

Mukarram Syed <mu...@yahoo.com> wrote: Thanks Anderson.

To answer the last part "
 Yet, it should work... Anyways, I think 
your best shot would be to redirect http://www.max-toastmaster.com/ 
directly to http://www.esalton.com/control/main/ , instead of just 
http://www.esalton.com/ .
"

I tried that i.e.,

<VirtualHost *:80>
  ServerName maxim-toastmaster.com
  Redirect / http://www.esalton.com/control/main/
</VirtualHost>

It still doesn't work.

Thanks for your help.  They help narrow down to the problem immensely.

Regards

-Mukarram 

Anderson Miranda <an...@brasilenergia.com.br> wrote: Hi Syed, List...

First off, I'm getting the headers from my proxy log files (squid).

When I try to access http://www.esalton.com/ , I'm getting this:
[HTTP  /1.1  *302 Moved Temporarily*\r\nDate: Fri, 27 Jan 2006 20:31:52 
GMT\r\nServer: Apache/2.0.46 (Red Hat)\r\nSe
t-Cookie: JSESSIONID=448CA44547341BDABA5A08DA36180DAB.sprod1; 
Path=/\r\n*Location: http://www.esalton.com/control/main*\r\nCon
tent-Type: text/html;charset=ISO-8859-1\r\nContent-Length: 
0\r\nConnection: close\r\n\r]

which means you have, somewhere, a Temporary Redirection for the 
http://www.esalton.com/ address.

When I try to access http://www.maxim-toastmaster.com/ , I'm getting this:
[HTTP/1.1 *301 Moved Permanently*\r\nServer: 
Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30:
20 GMT\r\nContent-length: 0\r\n*Location: 
http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]

which means you have, somewhere, a Permanent Redirection for the 
http://www.maxim-toastmaster.com/ address.

I'm not 100% sure how HTTP protocol works with such redirections but, 
it's at least confusing to   have an  address permanently redirected to a 
second address and then, to have this second address temporarily 
redirected to a third one... Yet, it should work... Anyways, I think 
your best shot would be to redirect http://www.max-toastmaster.com/ 
directly to http://www.esalton.com/control/main/ , instead of just 
http://www.esalton.com/ .

Hope this all can help you.

Regards,
asm

______________________
Mukarram Syed escreveu:

>
> Thanks Joost.  This helps.  What do we do next since it is not 
> pointing to Apache.  It looks like someone else is displaying this 404 
> error page.
>
> Silly question...How did you look at the headers.  I downloaded http 
> liveheaders for firefox and when I opened it up, I am not seeing 
> anything in the headers.
> I know this is slightly out of scope, but I appreciate the help.
>
> thanks
> -Mukarram Syed.
>
> */Joost de   Heer  /* wrote:
>
>     Mukarram Syed wrote:
>     > Hi.
>     > Thanks for replying Joshua. Sorry for delay in responding back.
>     >
>     > Here is my redirect:
>     >
>     >
>     > ServerName maxim-toastmaster.com
>     > Redirect / http://www.esalton.com/
>     >
>
>     Here are the headers when I go to 'http://maxim-toastmaster.com':
>
>     HTTP/1.x 301 Moved Permanently
>     Server: Netscape-Enterprise/6.0
>     Date: Fri, 27 Jan 2006 09:51:16 GMT
>     Content-Length: 0
>     Location: http://www.esalton.com/store/application
>     Connection: close
>
>     I.e. a Sun ONE webserver is answering and not Apache....
>
>     Joost
>
>
>     ---------------------------------------------------------------------
>     The official User-To-User support forum of t  he  Apache HTTP Server
>     Project.
>     See 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
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> With a free 1 GB, there's more in store with Yahoo! Mail. 
>  




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See  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





Mukarram  Syed
muksyed@yahoo.com   

---------------------------------
 
  What are the most popular cars? Find out at Yahoo! Autos 



Mukarram Syed
muksyed@yahoo.com
			
---------------------------------
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.

Re: [users@httpd] Yet another Redirect/ RedirectMatch question

Posted by Mukarram Syed <mu...@yahoo.com>.
Thanks Anderson.

To answer the last part "
 Yet, it should work... Anyways, I think 
your best shot would be to redirect http://www.max-toastmaster.com/ 
directly to http://www.esalton.com/control/main/ , instead of just 
http://www.esalton.com/ .
"

I tried that i.e.,

<VirtualHost *:80>
  ServerName maxim-toastmaster.com
  Redirect / http://www.esalton.com/control/main/
</VirtualHost>

It still doesn't work.

Thanks for your help.  They help narrow down to the problem immensely.

Regards

-Mukarram 

Anderson Miranda <an...@brasilenergia.com.br> wrote: Hi Syed, List...

First off, I'm getting the headers from my proxy log files (squid).

When I try to access http://www.esalton.com/ , I'm getting this:
[HTTP/1.1 *302 Moved Temporarily*\r\nDate: Fri, 27 Jan 2006 20:31:52 
GMT\r\nServer: Apache/2.0.46 (Red Hat)\r\nSe
t-Cookie: JSESSIONID=448CA44547341BDABA5A08DA36180DAB.sprod1; 
Path=/\r\n*Location: http://www.esalton.com/control/main*\r\nCon
tent-Type: text/html;charset=ISO-8859-1\r\nContent-Length: 
0\r\nConnection: close\r\n\r]

which means you have, somewhere, a Temporary Redirection for the 
http://www.esalton.com/ address.

When I try to access http://www.maxim-toastmaster.com/ , I'm getting this:
[HTTP/1.1 *301 Moved Permanently*\r\nServer: 
Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30:
20 GMT\r\nContent-length: 0\r\n*Location: 
http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]

which means you have, somewhere, a Permanent Redirection for the 
http://www.maxim-toastmaster.com/ address.

I'm not 100% sure how HTTP protocol works with such redirections but, 
it's at least confusing to have an address permanently redirected to a 
second address and then, to have this second address temporarily 
redirected to a third one... Yet, it should work... Anyways, I think 
your best shot would be to redirect http://www.max-toastmaster.com/ 
directly to http://www.esalton.com/control/main/ , instead of just 
http://www.esalton.com/ .

Hope this all can help you.

Regards,
asm

______________________
Mukarram Syed escreveu:

>
> Thanks Joost.  This helps.  What do we do next since it is not 
> pointing to Apache.  It looks like someone else is displaying this 404 
> error page.
>
> Silly question...How did you look at the headers.  I downloaded http 
> liveheaders for firefox and when I opened it up, I am not seeing 
> anything in the headers.
> I know this is slightly out of scope, but I appreciate the help.
>
> thanks
> -Mukarram Syed.
>
> */Joost de Heer /* wrote:
>
>     Mukarram Syed wrote:
>     > Hi.
>     > Thanks for replying Joshua. Sorry for delay in responding back.
>     >
>     > Here is my redirect:
>     >
>     >
>     > ServerName maxim-toastmaster.com
>     > Redirect / http://www.esalton.com/
>     >
>
>     Here are the headers when I go to 'http://maxim-toastmaster.com':
>
>     HTTP/1.x 301 Moved Permanently
>     Server: Netscape-Enterprise/6.0
>     Date: Fri, 27 Jan 2006 09:51:16 GMT
>     Content-Length: 0
>     Location: http://www.esalton.com/store/application
>     Connection: close
>
>     I.e. a Sun ONE webserver is answering and not Apache....
>
>     Joost
>
>
>     ---------------------------------------------------------------------
>     The official User-To-User support forum of the Apache HTTP Server
>     Project.
>     See 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
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> With a free 1 GB, there's more in store with Yahoo! Mail. 
>  




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See  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





Mukarram Syed
muksyed@yahoo.com
		
---------------------------------
 
 What are the most popular cars? Find out at Yahoo! Autos 

Re: [users@httpd] Yet another Redirect/ RedirectMatch question

Posted by Anderson Miranda <an...@brasilenergia.com.br>.
Hi Syed, List...

First off, I'm getting the headers from my proxy log files (squid).

When I try to access http://www.esalton.com/ , I'm getting this:
[HTTP/1.1 *302 Moved Temporarily*\r\nDate: Fri, 27 Jan 2006 20:31:52 
GMT\r\nServer: Apache/2.0.46 (Red Hat)\r\nSe
t-Cookie: JSESSIONID=448CA44547341BDABA5A08DA36180DAB.sprod1; 
Path=/\r\n*Location: http://www.esalton.com/control/main*\r\nCon
tent-Type: text/html;charset=ISO-8859-1\r\nContent-Length: 
0\r\nConnection: close\r\n\r]

which means you have, somewhere, a Temporary Redirection for the 
http://www.esalton.com/ address.

When I try to access http://www.maxim-toastmaster.com/ , I'm getting this:
[HTTP/1.1 *301 Moved Permanently*\r\nServer: 
Netscape-Enterprise/6.0\r\nDate: Fri, 27 Jan 2006 20:30:
20 GMT\r\nContent-length: 0\r\n*Location: 
http://www.esalton.com/store/application*\r\nConnection: keep-alive\r\n\r]

which means you have, somewhere, a Permanent Redirection for the 
http://www.maxim-toastmaster.com/ address.

I'm not 100% sure how HTTP protocol works with such redirections but, 
it's at least confusing to have an address permanently redirected to a 
second address and then, to have this second address temporarily 
redirected to a third one... Yet, it should work... Anyways, I think 
your best shot would be to redirect http://www.max-toastmaster.com/ 
directly to http://www.esalton.com/control/main/ , instead of just 
http://www.esalton.com/ .

Hope this all can help you.

Regards,
asm

______________________
Mukarram Syed escreveu:

>
> Thanks Joost.  This helps.  What do we do next since it is not 
> pointing to Apache.  It looks like someone else is displaying this 404 
> error page.
>
> Silly question...How did you look at the headers.  I downloaded http 
> liveheaders for firefox and when I opened it up, I am not seeing 
> anything in the headers.
> I know this is slightly out of scope, but I appreciate the help.
>
> thanks
> -Mukarram Syed.
>
> */Joost de Heer <sa...@xs4all.nl>/* wrote:
>
>     Mukarram Syed wrote:
>     > Hi.
>     > Thanks for replying Joshua. Sorry for delay in responding back.
>     >
>     > Here is my redirect:
>     >
>     >
>     > ServerName maxim-toastmaster.com
>     > Redirect / http://www.esalton.com/
>     >
>
>     Here are the headers when I go to 'http://maxim-toastmaster.com':
>
>     HTTP/1.x 301 Moved Permanently
>     Server: Netscape-Enterprise/6.0
>     Date: Fri, 27 Jan 2006 09:51:16 GMT
>     Content-Length: 0
>     Location: http://www.esalton.com/store/application
>     Connection: close
>
>     I.e. a Sun ONE webserver is answering and not Apache....
>
>     Joost
>
>
>     ---------------------------------------------------------------------
>     The official User-To-User support forum of the Apache HTTP Server
>     Project.
>     See 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
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> With a free 1 GB, there's more in store with Yahoo! Mail. 
> <http://us.rd.yahoo.com/mail_us/taglines/mailstorage/*http://mail.yahoo.com/> 




---------------------------------------------------------------------
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] Yet another Redirect/ RedirectMatch question

Posted by Mukarram Syed <mu...@yahoo.com>.
Thanks Joost.  This helps.  What do we do next since it is not pointing to Apache.  It looks like someone else is displaying this 404 error page.

Silly question...How did you look at the headers.  I downloaded http liveheaders for firefox and when I opened it up, I am not seeing anything in the headers.
I know this is slightly out of scope, but I appreciate the help.

thanks
-Mukarram Syed.

Joost de Heer <sa...@xs4all.nl> wrote: Mukarram Syed wrote:
> Hi.
> Thanks for replying Joshua.  Sorry for delay in responding back.
>
> Here is my redirect:
>
> 
> ServerName maxim-toastmaster.com
> Redirect / http://www.esalton.com/
> 

Here are the headers when I go to 'http://maxim-toastmaster.com':

HTTP/1.x 301 Moved Permanently
Server: Netscape-Enterprise/6.0
Date: Fri, 27 Jan 2006 09:51:16 GMT
Content-Length: 0
Location: http://www.esalton.com/store/application
Connection: close

I.e. a Sun ONE webserver is answering and not Apache....

Joost


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See  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




		
---------------------------------
Do you Yahoo!?
 With a free 1 GB, there's more in store with Yahoo! Mail.

Re: [users@httpd] Yet another Redirect/ RedirectMatch question

Posted by Joost de Heer <sa...@xs4all.nl>.
Mukarram Syed wrote:
> Hi.
> Thanks for replying Joshua.  Sorry for delay in responding back.
>
> Here is my redirect:
>
> <VirtualHost *:80>
> ServerName maxim-toastmaster.com
> Redirect / http://www.esalton.com/
> </VirtualHost>

Here are the headers when I go to 'http://maxim-toastmaster.com':

HTTP/1.x 301 Moved Permanently
Server: Netscape-Enterprise/6.0
Date: Fri, 27 Jan 2006 09:51:16 GMT
Content-Length: 0
Location: http://www.esalton.com/store/application
Connection: close

I.e. a Sun ONE webserver is answering and not Apache....

Joost


---------------------------------------------------------------------
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] problem hosting a webpage in apache(asap)

Posted by David Wolever <wo...@gmail.com>.
Get xampp.
http://www.apachefriends.org/en/xampp.html
While it downloads, read the docs:
http://www.apachefriends.org/en/faq-xampp.html
When its finished downloading, you should be five minutes away from
being up and running.
Good luck,
David

On 1/27/06, mohan devanoor <mo...@yahoo.com> wrote:
> can ny body help me please.
> i need to host a hello.html page on apache server and access it.
> please any body help me out how to do it andd access it
>
>
>
>  ________________________________
> Bring words and photos together (easily) with
>  PhotoMail - it's free and works with Yahoo! Mail.
>
>

---------------------------------------------------------------------
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] problem hosting a webpage in apache(asap)

Posted by Aman Raheja <ar...@techquotes.com>.
Mohan
Please refer to the Reference manual and ask any specific questions you 
might - anything you do not understand or have issues with.
Newbies are helped on this list but minimum effort is expected. Please 
refer to the documentation on httpd.apache.org for the version you are 
using.
Regards
Aman

mohan devanoor wrote:

> can ny body help me please.
> i need to host a hello.html page on apache server and access it.
> please any body help me out how to do it andd access it
>  
>  
>
> ------------------------------------------------------------------------
> Bring words and photos together (easily) with
> PhotoMail 
> <http://us.rd.yahoo.com/mail_us/taglines/PMHM3/*http://photomail.mail.yahoo.com> 
> - it's free and works with Yahoo! Mail. 



-- 

---------------------------------------------
Aman Raheja
Security+, Linux+ Certified.
http://www.techquotes.com
PGP Key http://www.techquotes.com/araheja.asc
---------------------------------------------



---------------------------------------------------------------------
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] problem hosting a webpage in apache(asap)..

Posted by mohan devanoor <mo...@yahoo.com>.
hi sanjay , i have put it. 
  but how to access.
  i have tried 
  http://localhost/hello.html
  http://localhost/htdocs/hello.html
   
    HTTP 404 - File not found
Internet Explorer  is displayed.


   
   
   
   
  
sanjay <sk...@apptility.com> wrote:
  Hi Mohan,

Put the hello.html page in the document folder of your apache server.
Typically in windows its htdocs and in Linux its /var/www/html

mohan devanoor wrote:

> can ny body help me please.
> i need to host a hello.html page on apache server and access it.
> please any body help me out how to do it andd access it
> 
> 
>
> ------------------------------------------------------------------------
> Bring words and photos together (easily) with
> PhotoMail 
> 
> - it's free and works with Yahoo! Mail. 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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

  


		
---------------------------------
Do you Yahoo!?
 With a free 1 GB, there's more in store with Yahoo! Mail.

Re: [users@httpd] problem hosting a webpage in apache(asap)

Posted by sanjay <sk...@apptility.com>.
Hi Mohan,

Put the hello.html page in the document folder of your apache server.
Typically in windows its htdocs and in Linux its /var/www/html

mohan devanoor wrote:

> can ny body help me please.
> i need to host a hello.html page on apache server and access it.
> please any body help me out how to do it andd access it
>  
>  
>
> ------------------------------------------------------------------------
> Bring words and photos together (easily) with
> PhotoMail 
> <http://us.rd.yahoo.com/mail_us/taglines/PMHM3/*http://photomail.mail.yahoo.com> 
> - it's free and works with Yahoo! Mail. 



---------------------------------------------------------------------
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] problem hosting a webpage in apache(asap)

Posted by mohan devanoor <mo...@yahoo.com>.
can ny body help me please.
  i need to host a hello.html page on apache server and access it.
  please any body help me out how to do it andd access it 
   
   

		
---------------------------------
Bring words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.

Re: [users@httpd] Yet another Redirect/ RedirectMatch question

Posted by Mukarram Syed <mu...@yahoo.com>.
We have another Redirect in our configuration:

RedirectMatch /store/application/(.*) http://www.esalton.com/control/main/

As you might know, this works like anything going to http://www.esalton.com/store/application/ would get redirected to http://www.esalton.com/control/main/
(Note the / after application.  So if you have http://www.esalton.com/store/application/blah would get redirected to http://www.esalton.com/control/main/


I tried to emulate this by....

<VirtualHost *:80>
ServerName maxim-toastmaster.com
RedirectMatch /store/(.*) http://www.esalton.com/
</VirtualHost>

Unfortunately, this didn't work as well.

I think I am getting close to my goal, but can't nail it yet.

Please help.

Thanks




Mukarram Syed <mu...@yahoo.com> wrote: Thisis what I tried and it still didn't work.  I just thought I would share my ideas with you.

Since http://maxim-toastmaster.com is redirecting to http://www.esalton.com/store/application (404 error page), I tried to modify my below redirect.

<VirtualHost *:80>
ServerName maxim-toastmaster.com
Redirect /store/application http://www.esalton.com/
</VirtualHost>

Mukarram Syed <mu...@yahoo.com> wrote: Hi.
Thanks for replying Joshua.  Sorry for delay in responding back.

Here is my redirect:

<VirtualHost *:80>
ServerName maxim-toastmaster.com
Redirect / http://www.esalton.com/
</VirtualHost>

What is happening is that when I connect to http://maxim-toastmaster.com
I am being redirected to a 404 error page  http://www.esalton.com/store/application.  
This is an old page we had in our httpd.conf file and we removed it over a year ago.
The IP address for maxim-toastmaster.com is owned by us.
I don't know what the problem might be and why is it redirecting to the other location.  

BTW, the NameVirtualHost is setup:
NameVirtualHost *:80

Appreciate you help. 

Thanks


Joshua Slive <jo...@slive.ca> wrote: On 1/25/06, Mukarram Sy  ed   wrote:
>  All,
> I have been researching on this for the past 2 hours and haven't found a
> solution.
> Here is my issue.
> I want to redirect http://maxim-toastmaster.com to http://www.esalton.com
> This is what I have tried so far:
>
> 1.
> 
>   ServerName  maxim-toastmaster.com
>   RedirectMatch permanent ^/$ http://www.esalton.com/
> 
>
> 2.
> 
>   ServerName maxim-toastmaster.com
>   Redirect permanent / http://www.esalton.com/
> 
>
> 3.
> Redirect /maxim-toastmaster.com http://www.esalton.com/
>
> None of these options worked.

Not a good problem description.  What exactly happened when you tried
them?  Either of the first two examples should work, although they
affect a different set of URLs.  The last one is wrong.

One thing   to look  at: Make sure you have a NameVirtualHost *:80 directive.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See  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





Mukarram Syed
muksyed@yahoo.com   

---------------------------------
Do you Yahoo!?
  With a free 1 GB, there's more in store with Yahoo! Mail.



Mukarram Syed
muksyed@yahoo.com   

---------------------------------
Bring words and photos together (easily) with
  PhotoMail  - it's free and works with Yahoo! Mail.



Mukarram Syed
muksyed@yahoo.com
		
---------------------------------
Do you Yahoo!?
 With a free 1 GB, there's more in store with Yahoo! Mail.

Re: [users@httpd] Yet another Redirect/ RedirectMatch question

Posted by Mukarram Syed <mu...@yahoo.com>.
Thisis what I tried and it still didn't work.  I just thought I would share my ideas with you.

Since http://maxim-toastmaster.com is redirecting to http://www.esalton.com/store/application (404 error page), I tried to modify my below redirect.

<VirtualHost *:80>
ServerName maxim-toastmaster.com
Redirect /store/application http://www.esalton.com/
</VirtualHost>

Mukarram Syed <mu...@yahoo.com> wrote: Hi.
Thanks for replying Joshua.  Sorry for delay in responding back.

Here is my redirect:

<VirtualHost *:80>
ServerName maxim-toastmaster.com
Redirect / http://www.esalton.com/
</VirtualHost>

What is happening is that when I connect to http://maxim-toastmaster.com
I am being redirected to a 404 error page http://www.esalton.com/store/application.  
This is an old page we had in our httpd.conf file and we removed it over a year ago.
The IP address for maxim-toastmaster.com is owned by us.
I don't know what the problem might be and why is it redirecting to the other location.  

BTW, the NameVirtualHost is setup:
NameVirtualHost *:80

Appreciate you help. 

Thanks


Joshua Slive <jo...@slive.ca> wrote: On 1/25/06, Mukarram Sy  ed   wrote:
>  All,
> I have been researching on this for the past 2 hours and haven't found a
> solution.
> Here is my issue.
> I want to redirect http://maxim-toastmaster.com to http://www.esalton.com
> This is what I have tried so far:
>
> 1.
> 
>   ServerName maxim-toastmaster.com
>   RedirectMatch permanent ^/$ http://www.esalton.com/
> 
>
> 2.
> 
>   ServerName maxim-toastmaster.com
>   Redirect permanent / http://www.esalton.com/
> 
>
> 3.
> Redirect /maxim-toastmaster.com http://www.esalton.com/
>
> None of these options worked.

Not a good problem description.  What exactly happened when you tried
them?  Either of the first two examples should work, although they
affect a different set of URLs.  The last one is wrong.

One thing   to look  at: Make sure you have a NameVirtualHost *:80 directive.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See  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





Mukarram Syed
muksyed@yahoo.com   

---------------------------------
Do you Yahoo!?
  With a free 1 GB, there's more in store with Yahoo! Mail.



Mukarram Syed
muksyed@yahoo.com
		
---------------------------------
Bring words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.

Re: [users@httpd] Yet another Redirect/ RedirectMatch question

Posted by Mukarram Syed <mu...@yahoo.com>.
Hi.
Thanks for replying Joshua.  Sorry for delay in responding back.

Here is my redirect:

<VirtualHost *:80>
ServerName maxim-toastmaster.com
Redirect / http://www.esalton.com/
</VirtualHost>

What is happening is that when I connect to http://maxim-toastmaster.com
I am being redirected to a 404 error page http://www.esalton.com/store/application.  
This is an old page we had in our httpd.conf file and we removed it over a year ago.
The IP address for maxim-toastmaster.com is owned by us.
I don't know what the problem might be and why is it redirecting to the other location.  

BTW, the NameVirtualHost is setup:
NameVirtualHost *:80

Appreciate you help. 

Thanks


Joshua Slive <jo...@slive.ca> wrote: On 1/25/06, Mukarram Syed  wrote:
>  All,
> I have been researching on this for the past 2 hours and haven't found a
> solution.
> Here is my issue.
> I want to redirect http://maxim-toastmaster.com to http://www.esalton.com
> This is what I have tried so far:
>
> 1.
> 
>   ServerName maxim-toastmaster.com
>   RedirectMatch permanent ^/$ http://www.esalton.com/
> 
>
> 2.
> 
>   ServerName maxim-toastmaster.com
>   Redirect permanent / http://www.esalton.com/
> 
>
> 3.
> Redirect /maxim-toastmaster.com http://www.esalton.com/
>
> None of these options worked.

Not a good problem description.  What exactly happened when you tried
them?  Either of the first two examples should work, although they
affect a different set of URLs.  The last one is wrong.

One thing to look at: Make sure you have a NameVirtualHost *:80 directive.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See  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





Mukarram Syed
muksyed@yahoo.com
		
---------------------------------
Do you Yahoo!?
 With a free 1 GB, there's more in store with Yahoo! Mail.

Re: [users@httpd] Yet another Redirect/ RedirectMatch question

Posted by Joshua Slive <jo...@slive.ca>.
On 1/25/06, Mukarram Syed <mu...@yahoo.com> wrote:
>  All,
> I have been researching on this for the past 2 hours and haven't found a
> solution.
> Here is my issue.
> I want to redirect http://maxim-toastmaster.com to http://www.esalton.com
> This is what I have tried so far:
>
> 1.
> <VirtualHost *:80>
>   ServerName maxim-toastmaster.com
>   RedirectMatch permanent ^/$ http://www.esalton.com/
> </VirtualHost>
>
> 2.
> <VirtualHost *:80>
>   ServerName maxim-toastmaster.com
>   Redirect permanent / http://www.esalton.com/
> </VirtualHost>
>
> 3.
> Redirect /maxim-toastmaster.com http://www.esalton.com/
>
> None of these options worked.

Not a good problem description.  What exactly happened when you tried
them?  Either of the first two examples should work, although they
affect a different set of URLs.  The last one is wrong.

One thing to look at: Make sure you have a NameVirtualHost *:80 directive.

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