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....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |