When migrating (installing ) my existing drupal site(virtualhost, cleanURl enabled) to other local host system of which apache version was different, I experienced some warnings/errors so that I should spend too much time to solve it.
So I would like to give my solution to whom may have the same problems in the similar situation.
1) After installing the existing code and the sql to mysql, first, there was a warning "session is active".
In this matter, there was good solution in the existing forum.
In the sites/default/Settings.php, to destroy the existing sessions, the following code should be added before ini_set codes:
//-----------------------------------------------------------------
//added
if (session_id() != "") {
session_destroy();
}
//before these codes
ini_set('arg_separator.output', '&');
ini_set('magic_quotes_runtime', 0);
ini_set('magic_quotes_sybase', 0);
//----------------------------------------------------------------
2) Then, the first page was successfully shown without any warnings but the login page and any other links were not working .... just showing the warning "Not Found".