Topic awaiting preservation: Background images not showing (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: there...no..there..... |
posted 08-09-2005 22:11
I am putting this in SS since this started when I implemented htaccess for mod_rewrite. Everything went fine and I've done this numerous times since I bugged the hell out of Emps on my first run through. code: RewriteEngine on Options +MultiViews RewriteBase / RewriteRule (contact|about|haks|archives)(/)?([a-zA-Z0-9_]*) /index.php?link=$1 [L]
code: #sidebar h4 { font:normal 12px verdana; color:#D5D5D4;text-align:center; background:url(../images/hackpacks.png); background-repeat:no-repeat; height:23px; width:110px; margin-left:30px; } #sidebar h4 span{display:none;}
code: <div id="sidebar"> <a href="index.php?link=haks"><h4><span>Hak Packs</span></h4></a> </div>
|
Maniac (V) Inmate From: there...no..there..... |
posted 08-10-2005 15:54
OK, seems that I fixed it by simply renaming the images to something that did not contain the words being used in the htaccess file. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 08-10-2005 16:31
you'd probably want to tell the .htaccess that it's supposed to start at the beginning of a string. code: RewriteEngine on Options +MultiViews RewriteBase / RewriteRule ^(contact|about|haks|archives)(/)?([a-zA-Z0-9_]*) /index.php?link=$1 [L]
|
Maniac (V) Inmate From: there...no..there..... |
posted 08-10-2005 19:07
ah...the carret at the beginning of the RewriteRule. OK. Took my a few to see what was different between yours and mine. |