# Converting .htaccess redirect to httpd.conf redirect

**URL:** <https://forum.kirupa.com/t/converting-htaccess-redirect-to-httpd-conf-redirect/320023>\
**Category:** programming\
**Created:** [March 11, 2011, 4:15pm UTC](https://forum.kirupa.com/t/converting-htaccess-redirect-to-httpd-conf-redirect/320023 "2011-03-11T16:15:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![atokatim](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@atokatim](https://forum.kirupa.com/u/atokatim)\
**Post date:** [March 11, 2011, 4:15pm UTC](https://forum.kirupa.com/t/converting-htaccess-redirect-to-httpd-conf-redirect/320023/1 "2011-03-11T16:15:09Z")

</div>

Hello all again! I am hoping to get some really quick help on this since my customers server is taking a beating at the moment. They currently have a .htaccess file with a redirect in it which diverts any request to the folder “/import” to another domain. Since .htaccess files have to be process along with each request, I need to move this redirect to the httpd.conf

This is what is in the .htaccess file :

```php

Redirect /import http://other.domain.com/special_folder/import2

```

Since their server has many different domains on it, how would I convert the htaccess redirect to the httpd.conf but only redirect request specific to one domain?

Any help is greatly appreciated!!!
