![]() |
Protect avatars and attachments using mod_rewrite
I posted this over at vbulletin.com also, but i got pointed to an old thread that didn't have a working answer.
http://www.vbulletin.com/forum/showthread.php?t=19021 Anybody here know how to do this with htaccess? Thanks Dave |
Anybody??? I need some help with this..
Thanks Dave |
make a file called .htaccess & add the following then upload to your root dir
Code:
RewriteEngine on |
OK.. I will give it a whirl.. but how do i findmy ip address? My host seems to be sleeping at the wheel, and never answers my requests for help..
note to self: Must look into new hosting company. Thanks Dave |
|
Quote:
.. now how do i test this to see if it works. i tried [img] place my url for image here? [/img] .. but this doens;t seem to work. I still see the picture.. EDIT - Also where am i putting this? I put it oin the root for my domain.. Thanks Dave |
http://www.denzoforums.com/forum/att...tachmentid=289
this is using the img tag.. it show as a link, instead of showing the image.. any reason? 1 more try.. http://www.denzoforums.com/forum/ima...ttons/edit.gif OK.. this is not working either then.. |
have you set in admincp to allow the [ img ] tag ?
also http://www.bytenix.net Have VERY Cheap hosting if your after new hosting |
Quote:
Thanks Dave P.S. I will look at the host. Do you host there? Are they in the U.S? how's the support? |
RewriteEngine needs to be on
& you'll see the image as you have the cookie from your site- As for the hosting yes im hosting there & support is very good the servers are in the us yea |
Quote:
doesn;t the .htaccess file add rewriteengineon? Thanks Dave |
no RewriteEngine needs to be added or commented out in the apache httpd.conf
& yeah i see the file- The host i use bytenix.net auto protect your imgs from hotlinking |
Quote:
Thanks! |
thanks for the tip of the host.. I just had a look and a chat.. Also a demo of the cpanel admin area..
I am switching to them as we speak.. Thanks again!! Dave |
i use this one
PHP Code:
|
All times are GMT. The time now is 04:44 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|