Apache Server configuration support - redirect to a specific url?

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > April 2004 > redirect to a specific url?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author redirect to a specific url?
juancito

2004-04-19, 4:00 am

hi guys... nice forum going on here
ok.. I've searched every topic about this almost close to what I need but I can't find the solution..
what I want to do is redirect an url to another one..

for example:

http://www.mysite.com/in8/index.php...link_sort_c=asc

to

http://www.mysite.com/index.php?mod...rap&page=action

If I could just specify which url redirect to where.. would be fantastic...

can this be done?

I don't need a wildcard directive for this... as it is not this only url.. it can be
http://www.mysite.com/in8/index.php...link_sort_c=asc
(note cat=2 instead of cat=1)

to redirect to

http://www.mysite.com/index.php?mod...ap&page=action2

thank you!
Richard Antony Burton

2004-04-19, 6:33 am


"juancito" <juancito.14ye9p@mail.webservertalk.com> wrote in message
news:juancito.14ye9p@mail.webservertalk.com...

> hi guys... nice forum going on here


Keep in mind that you may have posted to some forum, but in the infinite
wisdom of the forum operators they have linked their forum to usenet.
Perhaps to make their site more appear more useful when really people are
getting help from usenet. They also get to spam their URL onto usenet with
everypost you make, they really should be using the organisation header for
this, not putting it on the body of the message.

> ok.. I've searched every topic about this almost close to what I need
> but I can't find the solution..


I'd recommend you use usenet directly for this, and search the history at
groups.google.com, it will be much more useful than using the forum way.

> what I want to do is redirect an url to another one..


Redirects are easy, see the manual:
http://httpd.apache.org/docs-2.0/mo...s.html#redirect

Richard.


Richard Antony Burton

2004-04-19, 7:33 am


"Richard Antony Burton" <richardaburton-NOSPAM-@hotmail.com> wrote in
message news:EdNgc.13487817$Of.2246718@news.easynews.com...

>
> Keep in mind that you may have posted to some forum, but in the infinite
> wisdom of the forum operators they have linked their forum to usenet.
> Perhaps to make their site more appear more useful when really people are
> getting help from usenet. They also get to spam their URL onto usenet with
> everypost you make, they really should be using the organisation header

for
> this, not putting it on the body of the message.


Taking a look at this thread directly on the forum, I've just spotted that
the URLs you put in your post (which were important to the question) have
been munged by the forum software before the post made it to usenet, which
pretty much defeats the object.

Let me quote how your post looked:
> I don't need a wildcard directive for this... as it is not this only
> url.. it can be
> http://tinyurl.com/2k6hc
> (note cat=2 instead of cat=1)


If I were you I'd have words with the sites admin.

Richard.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com