After I setup clean URLs, every time i enter the link that more than 3 levels eg(http://example.com/admin/settings), all links in the source become base on "/admin/'.
Then all .js, .jpg ... ... cannot display.

solutions:
edit includes/common.inc
find out "function base_path() {"
comment out
"#return $GLOBALS['base_path'];"
and add
" return '/';"

then all problems are fixed.

Comments

asimmonds’s picture

What is your php and web server environment?
Do you have $base_url set in settings.php?
Have you made any other custom modifications to Drupal core or .htaccess?

wicka’s picture

Oh Yes.
I have not set the $base_url set in settings.php.
after set that. all problems are gone.
Thanks you very much.

edmund.kwok’s picture

Status: Active » Fixed

Considering this fixed then.

Anonymous’s picture

Status: Fixed » Closed (fixed)