|
|
Up |
  |
Author: andrewandrew
Date: Jun 8, 2008 19:42
Hi,
Having discovered a few bandwidth leachers I have successfully
disabled image hot-linking with a .htaccess file as follows:
RewriteEngine on
RewriteCond %%{HTTP_REFERER} !^$
RewriteCond %%{HTTP_REFERER} !^ http://www.andrews-corner.org.*$ [NC]
RewriteRule \.(gif|jpg|jpeg|png)$ http://www.andrews-corner.org/shrek.jpg [R]
But the shrek image does not appear on the leechers pages. Have I made
a syntax error here?
Andrew
|
| |
|
1 Comment |
|
  |
Author: KevinKevin
Date: Jun 8, 2008 18:27
> "Steve Pugh" gmail.com> wrote in message
> news:3c00e07d-e7c2-45a9-8b2b-d7aa8af40921@56g2000hsm.googlegroups.com...
> On Jun 8, 2:09 am, "Kevin" email.com> wrote:
>> My linked .css files has the layout info for a "background" box. It is as
>> follows:
>>
>> #content-box {
>> position: absolute;
>> left: 50%%;
>> width: 1000px;
>
> What happens when the browser window is less than 1000px wide?
>
>> height: auto;
>> margin-top: 300px;
>> margin-left: -500px;
>> padding: 0px;
>> border: 2px solid rgb(226,172,22); ...
|
| Show full article (3.68Kb) |
|
no comments
|
|
  |
Author: KevinKevin
Date: Jun 8, 2008 18:21
"Steve Pugh" gmail.com> wrote in message
news:3c00e07d-e7c2-45a9-8b2b-d7aa8af40921@56g2000hsm.googlegroups.com...
On Jun 8, 2:09 am, "Kevin" email.com> wrote:
> My linked .css files has the layout info for a "background" box. It is as
> follows:
>
> #content-box {
> position: absolute;
> left: 50%%;
> width: 1000px;
What happens when the browser window is less than 1000px wide?
> height: auto;
> margin-top: 300px;
> margin-left: -500px;
> padding: 0px;
> border: 2px solid rgb(226,172,22);
>
> }
|
| Show full article (3.24Kb) |
|
no comments
|
|
  |
Author: Grouchy.OldgitGrouchy.Oldgit
Date: Jun 8, 2008 17:33
I have a site hosted with godaddy that uses a database to hold
content
which is then dynamically loaded into a fixed template by calling the
url such as mydomain.com/content.php?artid=3 etc.
It would be nice if users could enter urls as mydomain.com/articles/3
etc which I believe is achievable with apache mod rewrite. I
therefore
added an .htaccess file contining:
RewriteEngine on
RewriteRule ^articles/([^/\.]+)/?$ content.php?artid=$1 [L]
When this didn't work I googled the problem to find the suggestion
that with godaddy it was necessary to add an additional command, ie:
Options -MultiViews
RewriteEngine on
RewriteRule ^articles/([^/\.]+)/?$ content.php?artid=$1 [L]
However, this still returns a "page cannot be found error".
Any suggestions?
|
| |
|
no comments
|
|
  |
|
|
  |
Author: cycling22cycling22
Date: Jun 8, 2008 16:08
How to get an RSS feed from Craigslist????
How can I get an RSS feed from Craigslist????
I'd like to setup a simple RSS feed on Craigslist for a
particular piece of equipment. When it is finally
offered for sale, I would get an email. Easy.
This should be simple enough. However, I keep searching,
and searching and searching. But I still have not found out
just exactly HOW do I get an RSS feed from Craigslist.
I get lots and lots of definitions as to what an RSS
feed is. But nothing on how to set it up.
Do I need an account? From which website?
Do I need special software? Which one?
Could someone be so kind as to lay out the exact
steps to do this?
Thanks a lot!
|
| |
|
5 Comments |
|
  |
Author: Jim MoeJim Moe
Date: Jun 8, 2008 14:48
On 06/07/08 06:09 pm, Kevin wrote:
>
> If I remove position:absolute, the box will appear below the first but
> aligned to the right of the page as expected.
>
> What am I missing?
>
Learn more CSS before using absolute positioning. For instance, the
"float" property.
Absolute positioning has very rare application. Its use is indicative of
a poor understanding of markup and CSS, and almost always results in
fragile layouts.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
|
| |
|
no comments
|
|
  |
Author: Jerry StuckleJerry Stuckle
Date: Jun 8, 2008 11:18
(not quite so) Fat Sam wrote:
> Hi all.
> I've just given the Save Pentney site a facelift, as the old design was
> starting to look very cluttered and confused.
> Visitors were having to struggle to understand an increasingly crowded
> layout in order to find the actual content, and that's not good, so I wanted
> to simplify everything and present the content in a clearer simpler format.
> The site can be found here - http://www.SavePentney.co.uk - and I'd welcome
> any thoughts comments or opinions regarding the new layout, as compared to
> the old cluttered style - http://www.SavePentney.co.uk/images/old.jpg
> Preferably comments on the aesthetics of the new design, although
> nuts'n'bolts comments are always welcome too.
>
> Regards,
> Sam.
>
Very nice - I like it. But as others have said, the contract may be a
bit little for some people. And it's way too lengthy. No one is going
to read to the end.
|
| Show full article (1.24Kb) |
|
1 Comment |
|
  |
Author: freemontfreemont
Date: Jun 8, 2008 09:33
On Sat, 07 Jun 2008 12:48:11 +0100, \(not quite so\) Fat Sam writ:
> Hi all.
> I've just given the Save Pentney site a facelift, as the old design was
> starting to look very cluttered and confused.
> Visitors were having to struggle to understand an increasingly crowded
> layout in order to find the actual content, and that's not good, so I wanted
> to simplify everything and present the content in a clearer simpler format.
> The site can be found here - http://www.SavePentney.co.uk - and I'd welcome
> any thoughts comments or opinions regarding the new layout, as compared to
> the old cluttered style - http://www.SavePentney.co.uk/images/old.jpg
> Preferably comments on the aesthetics of the new design, although
> nuts'n'bolts comments are always welcome too.
>
> Regards,
> Sam.
>
It looks ok to me.
|
| Show full article (1.11Kb) |
|
1 Comment |
|
|
|
|