You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Webmaster <we...@mastermindshosting.com> on 2003/01/29 05:53:57 UTC

[users@httpd] Fw: Redirecting apache

----- Original Message ----- 
From: Webmaster 
To: users-info@httpd.apache.org 
Sent: Tuesday, January 28, 2003 7:10 PM
Subject: Redirecting apache


      Apache Redirect
      I am trying to get apache to with a url like this http://www.yourdomain.com/_30_94 want it to go to this like when it hits the server http://www.yourdomain.com/cgi-bin/safe/tr.cgi?_30_94
     

Re: [users@httpd] Fw: Redirecting apache

Posted by Jurgen <ap...@squarehosting.com>.
Hi,

the configuration is most likely in /etc/httpd/conf/httpd.conf and you will have to edit in there by hand.
The guide for rewriting is at http://httpd.apache.org/docs/misc/rewriteguide.html .

Jurgen


On Tue, 28 Jan 2003 23:35:32 -0600
"Webmaster" <we...@mastermindshosting.com> wrote:

> If you can tell me where to find it that would be really helpful. I use
> cpanel as the server software and cannot locate the right file.
> 
> Thanks
> 
> Brent
> ----- Original Message -----
> From: "Jurgen" <ap...@squarehosting.com>
> To: <us...@httpd.apache.org>
> Sent: Tuesday, January 28, 2003 11:27 PM
> Subject: Re: [users@httpd] Fw: Redirecting apache
> 
> 
> > Hi,
> >
> > you can use mod_rewrite.
> >
> > Jurgen
> >
> > On Tue, 28 Jan 2003 22:53:57 -0600
> > "Webmaster" <we...@mastermindshosting.com> wrote:
> >
> > >
> > > ----- Original Message -----
> > > From: Webmaster
> > > To: users-info@httpd.apache.org
> > > Sent: Tuesday, January 28, 2003 7:10 PM
> > > Subject: Redirecting apache
> > >
> > >
> > >       Apache Redirect
> > >       I am trying to get apache to with a url like this
> http://www.yourdomain.com/_30_94 want it to go to this like when it hits the
> server http://www.yourdomain.com/cgi-bin/safe/tr.cgi?_30_94
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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


Re: [users@httpd] Fw: Redirecting apache

Posted by Webmaster <we...@mastermindshosting.com>.
If you can tell me where to find it that would be really helpful. I use
cpanel as the server software and cannot locate the right file.

Thanks

Brent
----- Original Message -----
From: "Jurgen" <ap...@squarehosting.com>
To: <us...@httpd.apache.org>
Sent: Tuesday, January 28, 2003 11:27 PM
Subject: Re: [users@httpd] Fw: Redirecting apache


> Hi,
>
> you can use mod_rewrite.
>
> Jurgen
>
> On Tue, 28 Jan 2003 22:53:57 -0600
> "Webmaster" <we...@mastermindshosting.com> wrote:
>
> >
> > ----- Original Message -----
> > From: Webmaster
> > To: users-info@httpd.apache.org
> > Sent: Tuesday, January 28, 2003 7:10 PM
> > Subject: Redirecting apache
> >
> >
> >       Apache Redirect
> >       I am trying to get apache to with a url like this
http://www.yourdomain.com/_30_94 want it to go to this like when it hits the
server http://www.yourdomain.com/cgi-bin/safe/tr.cgi?_30_94
> >
> >
>
> ---------------------------------------------------------------------
> 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] Fw: Redirecting apache

Posted by Webmaster <we...@mastermindshosting.com>.
Thanks Jurgen that worked perfect

----- Original Message -----
From: "Jurgen" <ap...@squarehosting.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, January 29, 2003 12:06 AM
Subject: Re: [users@httpd] Fw: Redirecting apache


> Hi,
>
> if you want to redirect you have to use [R] instead of [P]. With [P] you
need mod_proxy enabled and the URL in the browser's location bar will remain
http://www.yourdomain.com/_30_94.
> Else it should be work like that.
>
> Jurgen
>
>
> On Tue, 28 Jan 2003 23:44:47 -0600
> "Webmaster" <we...@mastermindshosting.com> wrote:
>
> > THis is what we have in the .htaccess file in our public_html directory
if
> > this helps any
> >
> > RewriteEngine on
> > RewriteRule     ^(_)(.*)$
> > http://www.yourdomain.com/cgi-bin/safe/list.cgi?$1$2 [P]
> >
> > ----- Original Message -----
> > From: "Jurgen" <ap...@squarehosting.com>
> > To: <us...@httpd.apache.org>
> > Sent: Tuesday, January 28, 2003 11:27 PM
> > Subject: Re: [users@httpd] Fw: Redirecting apache
> >
> >
> > > Hi,
> > >
> > > you can use mod_rewrite.
> > >
> > > Jurgen
> > >
> > > On Tue, 28 Jan 2003 22:53:57 -0600
> > > "Webmaster" <we...@mastermindshosting.com> wrote:
> > >
> > > >
> > > > ----- Original Message -----
> > > > From: Webmaster
> > > > To: users-info@httpd.apache.org
> > > > Sent: Tuesday, January 28, 2003 7:10 PM
> > > > Subject: Redirecting apache
> > > >
> > > >
> > > >       Apache Redirect
> > > >       I am trying to get apache to with a url like this
> > http://www.yourdomain.com/_30_94 want it to go to this like when it hits
the
> > server http://www.yourdomain.com/cgi-bin/safe/tr.cgi?_30_94
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
>
>
>


---------------------------------------------------------------------
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] Fw: Redirecting apache

Posted by Jurgen <ap...@squarehosting.com>.
Hi,

if you want to redirect you have to use [R] instead of [P]. With [P] you need mod_proxy enabled and the URL in the browser's location bar will remain http://www.yourdomain.com/_30_94.
Else it should be work like that.

Jurgen


On Tue, 28 Jan 2003 23:44:47 -0600
"Webmaster" <we...@mastermindshosting.com> wrote:

> THis is what we have in the .htaccess file in our public_html directory if
> this helps any
> 
> RewriteEngine on
> RewriteRule     ^(_)(.*)$
> http://www.yourdomain.com/cgi-bin/safe/list.cgi?$1$2 [P]
> 
> ----- Original Message -----
> From: "Jurgen" <ap...@squarehosting.com>
> To: <us...@httpd.apache.org>
> Sent: Tuesday, January 28, 2003 11:27 PM
> Subject: Re: [users@httpd] Fw: Redirecting apache
> 
> 
> > Hi,
> >
> > you can use mod_rewrite.
> >
> > Jurgen
> >
> > On Tue, 28 Jan 2003 22:53:57 -0600
> > "Webmaster" <we...@mastermindshosting.com> wrote:
> >
> > >
> > > ----- Original Message -----
> > > From: Webmaster
> > > To: users-info@httpd.apache.org
> > > Sent: Tuesday, January 28, 2003 7:10 PM
> > > Subject: Redirecting apache
> > >
> > >
> > >       Apache Redirect
> > >       I am trying to get apache to with a url like this
> http://www.yourdomain.com/_30_94 want it to go to this like when it hits the
> server http://www.yourdomain.com/cgi-bin/safe/tr.cgi?_30_94
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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


Re: [users@httpd] Fw: Redirecting apache

Posted by Webmaster <we...@mastermindshosting.com>.
THis is what we have in the .htaccess file in our public_html directory if
this helps any

RewriteEngine on
RewriteRule     ^(_)(.*)$
http://www.yourdomain.com/cgi-bin/safe/list.cgi?$1$2 [P]

----- Original Message -----
From: "Jurgen" <ap...@squarehosting.com>
To: <us...@httpd.apache.org>
Sent: Tuesday, January 28, 2003 11:27 PM
Subject: Re: [users@httpd] Fw: Redirecting apache


> Hi,
>
> you can use mod_rewrite.
>
> Jurgen
>
> On Tue, 28 Jan 2003 22:53:57 -0600
> "Webmaster" <we...@mastermindshosting.com> wrote:
>
> >
> > ----- Original Message -----
> > From: Webmaster
> > To: users-info@httpd.apache.org
> > Sent: Tuesday, January 28, 2003 7:10 PM
> > Subject: Redirecting apache
> >
> >
> >       Apache Redirect
> >       I am trying to get apache to with a url like this
http://www.yourdomain.com/_30_94 want it to go to this like when it hits the
server http://www.yourdomain.com/cgi-bin/safe/tr.cgi?_30_94
> >
> >
>
> ---------------------------------------------------------------------
> 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] Fw: Redirecting apache

Posted by Jurgen <ap...@squarehosting.com>.
Hi,

you can use mod_rewrite.

Jurgen

On Tue, 28 Jan 2003 22:53:57 -0600
"Webmaster" <we...@mastermindshosting.com> wrote:

> 
> ----- Original Message ----- 
> From: Webmaster 
> To: users-info@httpd.apache.org 
> Sent: Tuesday, January 28, 2003 7:10 PM
> Subject: Redirecting apache
> 
> 
>       Apache Redirect
>       I am trying to get apache to with a url like this http://www.yourdomain.com/_30_94 want it to go to this like when it hits the server http://www.yourdomain.com/cgi-bin/safe/tr.cgi?_30_94
>      
> 

---------------------------------------------------------------------
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