Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

newbie htaccess problem...

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Difficulties with system() call  
Author Message
fgh

External


Since: Aug 25, 2004
Posts: 2



(Msg. 1) Posted: Thu Aug 26, 2004 12:44 am
Post subject: newbie htaccess problem...
Archived from groups: alt>apache>configuration (more info?)

I want to protect my images. The images are on a server with only a ip
address (66.66.66.66) and on port 8080 (66.66.66.66:8080). And the images
should only be use on webpages of another website ex: webard.net

..htaccess

RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://webadr.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.webadr.net/. *$ [NC]
RewriteCond %{HTTP_REFERER} !^http://66.66.66.66/.*$ [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG)$ - [F,L]

It doesn't work. I tried all king of version of this, and still it doesn't
work. I removed the # in front of these lines in the httpd.conf and
restarted the server...

LoadModule rewrite_module modules/mod_rewrite.so

AddModule mod_rewrite.c

Still, it doesn't work. Do I need another module?

Many thanks...

Andy la boy!

 >> Stay informed about: newbie htaccess problem... 
Back to top
Login to vote
fgh

External


Since: Aug 25, 2004
Posts: 2



(Msg. 2) Posted: Thu Aug 26, 2004 2:47 am
Post subject: Re: newbie htaccess problem... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Found the problem... change allowOverride None ... to allowOverride All

Should I use something different than All ?

# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride All

 >> Stay informed about: newbie htaccess problem... 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
newbie .htaccess help - is it possible to allow write permission ons a folder through the htaccess file? and if so what do i put in the .htaccess file I have a site hosted with mediatemple.com and have a upload component to upload files to my site. when i send the file i..

newbie question about .htaccess - I have a private website folder which I would like to password protect so I have followed the instructions on the Apache website and some other sites to write an .htaccess file. This results in a pop up box which asks for the username and password. The..

Some newbie questions regarding using .htaccess for passwo.. - Apologies if this is the wrong group for this, I tried searching dejanews but was unable to narrow my search down enough to get anything useful. The scenario: Local soccer team wants a password protected directory on their site, we have found a host/ISP...

Newbie problem - I have Apache, php, mysql & perl installed on my pc in order to test a website before it is uploaded to the ISP. Everything works fine except that I am trying to construct a script to allow anyone to upload pictures to a directory on the site. My..

htaccess problem - If I access my web page with just the ip address such as, http://123.123.123.123 I only get prompted once for the user id and password. If I access the page by the domain name such as, www.server.host.com it will prompt me for the user id and password....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]