error in htaccess not read my images and css file
Posted
by
Mahran Elneel
on Stack Overflow
See other posts from Stack Overflow
or by Mahran Elneel
Published on 2010-12-28T07:47:56Z
Indexed on
2010/12/28
7:54 UTC
Read the original article
Hit count: 234
.htaccess
i create .htaccess and when run the page all images in my site not display and css not run.
images in the folder (images/) and css in(css/).
another problem the url now is http://localhost/mysite/progams/4
and when click link inside this page will be http://localhost/mysite/progams/program/6
please any one have a solution?
.htaccess code
Options +FollowSymLinks
RewriteEngine On
# Turn on the rewriting engine
RewriteRule ^program/([0-9]+)/?$ get_programs.php?pack_id=$1 [NC,L]
RewriteRule ^El-Mensajero/?$ home.php [NC,L]
RewriteRule ^Daily-Tours/?$ daily_tours.php [NC,L]
RewriteRule ^page/([0-9]+)/?$ get_pages.php?page_id=$1 [NC,L]
thank you
© Stack Overflow or respective owner