Apache rewriterule
I have been having a trouble adding the following rule:
RewriteRule ^/dir/.*$ http://mydomain.com/index.html full path to directory dir is: /var/www/dir full path to index: /var/www/index.html I want to redirect all requests of any pages under "dir" to index.html but it seems not to be working. Please help. //mod note. not a networking question. moved to Linux - Server. |
Try:
RewriteRule ^/dir/.*$ /index.html :) |
All times are GMT -5. The time now is 04:26 AM. |