I am using RewriteRule to Rewrite as follows:
http://localhost/pages/user1 gets translated to http://localhost/Pages.php?user= user1
I am able to get the URL to change, but now the Pages.php file does not process correctly because it link to other files. For example:
require_once("x ajax/xajax_core/xajax.inc.php") ;
It still think that the path is in the pages directory and thus all my javascripts, and CSS files are failing.
http://localhost/pages/user1 gets translated to http://localhost/Pages.php?user= user1
I am able to get the URL to change, but now the Pages.php file does not process correctly because it link to other files. For example:
require_once("x ajax/xajax_core/xajax.inc.php") ;
It still think that the path is in the pages directory and thus all my javascripts, and CSS files are failing.