Topic awaiting preservation: .htaccess question... (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: USA |
posted 04-07-2005 21:13
Hello hello, code: ErrorDocument 404 /404.php
|
Maniac (V) Inmate From: there...no..there..... |
posted 04-08-2005 01:08
Hey DaveFA. I recently went through this too. The problem was that the images were not linked from the root. code: <img src="../images/myimage.gif">
code: <img src="/../images/myimage.gif">
code: RewriteRule \.(gif|jpg)$ - [F]
|
Nervous Wreck (II) Inmate From: USA |
posted 04-08-2005 16:21
The images work just fine on their website. It's just that there's one directory, /banners/ which I want to be able to hotlink, but can't. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 04-08-2005 16:41
hmm.. Not an expert but can't you override .htaccess in each directory? code: ErrorDocument 404 /404.php
|
Nervous Wreck (II) Inmate From: USA |
posted 04-08-2005 16:53
Figured it out. In the root of the site, here's the .htaccess: code: RewriteEngine on
code: RewriteEngine on
|