Solved

How to send out a redirector from Apache?

Posted on 2000-02-21
1
250 Views
Last Modified: 2013-12-16
How can I set up apache to send out a page redirector when a URL is requested. I would like not to reply on the HTML META refresh methoong.

Thanks in advance,
Nicholas Waltham
0
Comment
Question by:nwaltham
1 Comment
 
LVL 1

Accepted Solution

by:
elpmet earned 50 total points
ID: 2544885
In the "conf" directory,
Edit "srm.conf" file.
Add "Redirect your_file_name new_URL"

(format is, Redirect old new)

example:

Redirect /heyheyhey.html http://www.temple.edu/cs/

(in this example, heyheyhey.html is in the html directory.  when the user points the browser to this page, the browser jumps to www.temple.edu/cs/index.html)

Elpmet.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question