rewrite question

This is a discussion on rewrite question within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, How would I write a rewrite condtion and rule so that anyserver.com/folder1 will be remapped to anyserver....


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-15-2004
Oliver Spiesshofer
 
Posts: n/a
Default rewrite question

Hi,

How would I write a rewrite condtion and rule so that
anyserver.com/folder1

will be remapped to

anyserver.com/otherfolder/file.pl

important would be that anyserver.com would be actually _ANY_ server, ev.
ending in .net

any help would be appreciated.

thanks

Oliver

  #2 (permalink)  
Old 12-15-2004
igor.lobanov@gmail.com
 
Posts: n/a
Default Re: rewrite question

Oliver Spiesshofer wrote:
> How would I write a rewrite condtion and rule so that
> anyserver.com/folder1
>
> will be remapped to
>
> anyserver.com/otherfolder/file.pl
>
> important would be that anyserver.com would be actually _ANY_ server,

ev.
> ending in .net


You can write in httpd.conf in common section such rule

RewriteRule /folder1 /otherfolder/file.pl
lio
http://www.template-toolkit.ru

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:14 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0