Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

what's the .htaccess directive to deny all except localhos..

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  Adding hyphens and underscore to my JS expression..  
Author Message
NotGiven

External


Since: Dec 19, 2005
Posts: 15



(Msg. 1) Posted: Tue Dec 20, 2005 10:42 am
Post subject: what's the .htaccess directive to deny all except localhost code?
Archived from groups: alt>apache>configuration (more info?)

I want to put an .htaccess file in the directory of my code library
directory to deny access except to those scripts on localhost needing to
acces them.

Thanks for any help.

 >> Stay informed about: what's the .htaccess directive to deny all except localhos.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
htaccess deny all ip accept some? - I'm totally new to Apache and .htaccess so take it easy... I want to deny all access to my web server except some specified ip addresses that i want to allow, how do i do that? my Apache 2 is under g:\web-server/apache 2/apache group, where do i put the....

Deny a domain with htaccess? - Can I use an htaccess file to block all referrers from a specific domain or can I only block specific users by the IPs their ISPs assign them? I have a domain in Japan that has linked one of my pages and is burning my bandwidth. Is it possible to give....

htaccess: deny abc.def.ghi --- period? or no period? - in an .htaccess file, to deny access to a range of IPs which is it supposed to be? deny abc.def.ghi or deny abc.def.ghi. (ie, - with? or without? a period at the end) because i've seen it both ways, in fact insisted on by different people..

Alias directive - When I use an alias directive in httpd.conf such as: Alias /mp3 "d:/Media/Music" .... should I also have a suitable Directoty directive, suchs as: <Directory "d:/Media/Music"> Options All Order allow,deny Allow fr...

How do I use the Win32DisableAcceptEx directive please? - I have installed Apache 2.0.49 on Windows XPpro. It runs but throws an error when I try to access http://myPCName/ . The error log suggests I use the Win32DisableAcceptEx directive. I assume that this goes in the config file but I have not been able....
   Web Hosting Problem Solving Community! (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 ]