Hi,
I installed PHP on Windows XP, the address of my website: http://localhost/mywebsite/. Following is what I typed in .htaccess:
RewriteEngine On
RewriteRule ^([a-z]+)/?$ ?page=$1
If I type "http://localhost/mywebsite/something", everything is fine. However, if I type "http://localhost/mywebsite/something/" (with a slash at the end), all images on my webpage disappeared. I found that I need to modify the address to image directory from "/images" to "http://localhost/mywebsite/images" in all of *.html files to make "http://localhost/mywebsite/something/" work.
Anyone can explain? Thank you in advance.
Liem Do
2007-03-22
18:37:26
·
2 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design