Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to send out a redirector from Apache?

Posted on 2000-02-21
1
Medium Priority
?
256 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 200 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month10 days, 16 hours left to enroll

571 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