This is a discussion on rewrite [R] directs to full path within the Apache Web Server forums, part of the Web Server and Related Forums category; RewriteEngine on RewriteRule ^old\.html$ new.html [R] Changes the following address: http://localhost/1/old.html http://localhost/c:/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
RewriteEngine on
RewriteRule ^old\.html$ new.html [R] Changes the following address: http://localhost/1/old.html http://localhost/c:/documents%20and%...tml/1/new.html and then I get a *forbidden* error why doesn't it change it to: http://localhost/1/new.html ? I mean there isn't any such place as http://localhost/c:/... Where is that coming from? -- Paul Furman Photography http://www.edgehill.net/1 Bay Natives Nursery http://www.baynatives.com |
|
|||
|
Paul Furman wrote:
> RewriteEngine on > RewriteRule ^old\.html$ new.html [R] > > Changes the following address: > http://localhost/1/old.html > http://localhost/c:/documents%20and%...tml/1/new.html > > > and then I get a *forbidden* error > > why doesn't it change it to: > http://localhost/1/new.html > > ? > > > I mean there isn't any such place as http://localhost/c:/... > Where is that coming from? Solved, and the answer is: RewriteBase -- Paul Furman Photography http://www.edgehill.net/1 Bay Natives Nursery http://www.baynatives.com |
| Thread Tools | |
| Display Modes | |
|
|