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

Enabling one directory only for 1 IP-Adress

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  mod_rewrite and php  
Author Message
user2438

External


Since: Aug 25, 2003
Posts: 2



(Msg. 1) Posted: Mon Aug 25, 2003 2:52 pm
Post subject: Enabling one directory only for 1 IP-Adress
Archived from groups: alt>apache>configuration (more info?)

Hello,

i want to have a directory in my global configuration, which is only
available for 1 IP address; all other IP's should get a HTTP forbidden
error and never see any content.

Can you tell me, what is the appropriate keyword in the <Directory>-Tag
for this directory?


Regards, Thomas

 >> Stay informed about: Enabling one directory only for 1 IP-Adress 
Back to top
Login to vote
admin34

External


Since: Jul 01, 2003
Posts: 47



(Msg. 2) Posted: Mon Aug 25, 2003 2:52 pm
Post subject: Re: Enabling one directory only for 1 IP-Adress [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Thomas Wieser" <wernze.nospan.RemoveThis@gmx.net> wrote in message
news:bicm4u$7u84f$2@ID-202437.news.uni-berlin.de...
 > Hello,
 >
 > i want to have a directory in my global configuration, which is only
 > available for 1 IP address; all other IP's should get a HTTP forbidden
 > error and never see any content.
 >
 > Can you tell me, what is the appropriate keyword in the <Directory>-Tag
 > for this directory?
 >
I am not an expert in this but I would expect in a .htaccess file in that
directory with the following lines

Order Deny,Allow
Allow from 123.123.123.123


Mike.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Enabling one directory only for 1 IP-Adress 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Configure upload directory - Hello, I would like to know what/where I can configure the httpd.conf to tell apache where the upload directory is. By upload I mean files I transmit via GET or POST method in HTML. I'm using Apache2. Thx SvT

Enable directory browsing? - Hi I get the following error message when I call my public webdir without an index.html: --- Forbidden You don't have permission to access /~moeller/ on this server. Apache/2.0.47 (Unix) mod_ssl/2.0.47 OpenSSL/0.9.7 Server --- This worked in the past...

Newbie - Directory Set-up Question - I would like to run an FTP program (I was thinking about using WarFTP) and Apache on my machine. What is the best way to set up the directories? If I would like to update pages remotely, should my Web directories be inside my FTP directories? I would....

Customize directory listing - Hi If I go to http://localhost/directory/ and if there is no index.html file, the default directory listing is shown. I would like Apache to send the page http://localhost/navigation.php?d=/directory/ instead, but *without* redirecting. Is this..

Redirect of a user's public_html directory - Hello, I have a question regarding redirection using apache 1.3. The homepage of user foo, which is stored in foo's public_html directory, used to be reachable under http://myservername/~foo. Now the user foo left, and I would like to redirect all..
   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 ]