You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by CJ <un...@yahoo.com> on 2003/11/06 15:20:31 UTC
[users@httpd] url redirecting
If I have some url like mail.mydomain.com
and it points to an ip addr in DNS how can I get it to
resolve to a specific page.
mydomain.com 192.168.1.200 Opens the index.html file
/web/public/index.html
mail.mydomain.com 192.168.1.200 I want it to open
another page:
/web/public/squirrelmail/index.html
Can this be done? how? etc...
=====
Blessed are the pessimists, for they make backups!
Tell me and I forget. Show me and I remember. Involve me and I learn."
10101010011100101001001000011010000001000100101010101010
0011001010100010110010101000010001010000
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
---------------------------------------------------------------------
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 redirecting
Posted by CJ <un...@yahoo.com>.
I am not having to good a luck with VR for some reasn
and I abandoned that. What is mod_rewrite?
I do have it active in my httpd.conf file
--- Luis Gallegos <lg...@todo1.com> wrote:
> 1. You can create a Virtual host for
> mail.mydomain.com and point its
> DocumentRoot to the squirrelmail directory.
> 2. You could use mod_rewrite to do it.
>
> Luis
>
>
> On Thu, 2003-11-06 at 09:20, CJ wrote:
> > If I have some url like mail.mydomain.com
> > and it points to an ip addr in DNS how can I get
> it to
> > resolve to a specific page.
> >
> > mydomain.com 192.168.1.200 Opens the index.html
> file
> > /web/public/index.html
> >
> > mail.mydomain.com 192.168.1.200 I want it to open
> > another page:
> > /web/public/squirrelmail/index.html
> >
> > Can this be done? how? etc...
> >
> > =====
> > Blessed are the pessimists, for they make backups!
> > Tell me and I forget. Show me and I remember.
> Involve me and I learn."
> >
>
10101010011100101001001000011010000001000100101010101010
> > 0011001010100010110010101000010001010000
> >
> > __________________________________
> > Do you Yahoo!?
> > Protect your identity with Yahoo! Mail
> AddressGuard
> > http://antispam.yahoo.com/whatsnewfree
> >
> >
>
---------------------------------------------------------------------
> > 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
>
=====
Blessed are the pessimists, for they make backups!
Tell me and I forget. Show me and I remember. Involve me and I learn."
10101010011100101001001000011010000001000100101010101010
0011001010100010110010101000010001010000
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
---------------------------------------------------------------------
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 redirecting
Posted by Luis Gallegos <lg...@todo1.com>.
1. You can create a Virtual host for mail.mydomain.com and point its
DocumentRoot to the squirrelmail directory.
2. You could use mod_rewrite to do it.
Luis
On Thu, 2003-11-06 at 09:20, CJ wrote:
> If I have some url like mail.mydomain.com
> and it points to an ip addr in DNS how can I get it to
> resolve to a specific page.
>
> mydomain.com 192.168.1.200 Opens the index.html file
> /web/public/index.html
>
> mail.mydomain.com 192.168.1.200 I want it to open
> another page:
> /web/public/squirrelmail/index.html
>
> Can this be done? how? etc...
>
> =====
> Blessed are the pessimists, for they make backups!
> Tell me and I forget. Show me and I remember. Involve me and I learn."
> 10101010011100101001001000011010000001000100101010101010
> 0011001010100010110010101000010001010000
>
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
>
> ---------------------------------------------------------------------
> 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