[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Using modrewrite to redirect folder

Posted on 2008-06-25
2
Medium Priority
?
244 Views
Last Modified: 2011-09-20
Hello I have this folder http://www.mydomain.com/eng/folder/ and I would like ANY content in there, to be redirected to http://www.mydomain.com

Thanks.
0
Comment
Question by:ametrade
2 Comments
 
LVL 20

Accepted Solution

by:
virmaior earned 2000 total points
ID: 21874514
RewriteEngine On
RewriteRule ^.*$ http://www.mydomain.com [R]

place that in a .htaccess in the http://www.mydomain.com/eng/folder/ directory

0
 

Author Closing Comment

by:ametrade
ID: 31470591
Thank you!
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month20 days, 4 hours left to enroll

872 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