I have problem with that RewriteRule:
In browser appear error:
index.html is in docroot but that should have no matter.
I'm sure that the problem is in this line (when i delete it error dosen't appear but RewriteRule dosen't work)
RewriteRule ^/?(.*) http://new-site-domain/$1 [P]
No errors in error_log and and user error log
It work's with CB1.2 and apache 2.2
How to solve this porblem?
Code:
RewriteEngine On
RewriteRule ^isp/?([^-]+)$ http://new-site-domain/isp/$1 [P]
RewriteRule ^isp$ http://www.old-site-domain/isp/? [L]
RewriteRule ^/?(.*) http://new-site-domain/$1 [P]
In browser appear error:
HTML:
Not Found
The requested URL /index.html was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
index.html is in docroot but that should have no matter.
I'm sure that the problem is in this line (when i delete it error dosen't appear but RewriteRule dosen't work)
RewriteRule ^/?(.*) http://new-site-domain/$1 [P]
No errors in error_log and and user error log
It work's with CB1.2 and apache 2.2
How to solve this porblem?