Rewrite rule generating Internal Server Error |
[eluser]johncook[/eluser]
No, adding the forward slash at the start of the path still gives an internal server error. It does seem to be the path that's an issue. I've tried the following rewrite rule: Code: RewriteRule ^images/(.*)$ %1/$1 [L] This successfully writes subdomain.domain.com/images/pic.jpg to www.domain.com/subdomain/pic.jpg That's not the solution I was after - it needs to be in the images directory. But for some weird reason, it just doesn't want to do it. |
Welcome Guest, Not a member yet? Register Sign In |