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

htaccess question

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Version of Apache  
Author Message
cs_news

External


Since: Aug 26, 2003
Posts: 2



(Msg. 1) Posted: Tue Aug 26, 2003 3:00 pm
Post subject: htaccess question
Archived from groups: alt>apache>configuration (more info?)

Hi,
I'm quite new with Apache (1.3.27), so this might be a simple question.
I want to restrict the access to a directory using htaccess. A user from the
local net (192.168.xxx.xxx) should be able to access this directory without
any login, any other user from outside must use the basic auth. I know how
to configure the .htaccess file that everyone must use the basic auth, but I
want just those users coming from outside.

Christian

 >> Stay informed about: htaccess question 
Back to top
Login to vote
claudio

External


Since: Aug 14, 2003
Posts: 47



(Msg. 2) Posted: Tue Aug 26, 2003 11:05 pm
Post subject: Re: htaccess question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Christian Schmelzer schrieb:

 > I'm quite new with Apache (1.3.27), so this might be a simple question.
 > I want to restrict the access to a directory using htaccess. A user from
 > the local net (192.168.xxx.xxx) should be able to access this directory
 > without any login, any other user from outside must use the basic auth.
 > I know how to configure the .htaccess file that everyone must use the
 > basic auth, but I want just those users coming from outside.

# authentication config
# ...

# access config
Order Allow,Deny
Allow from 192.168

Satify any

cc<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: htaccess question 
Back to top
Login to vote
claudio

External


Since: Aug 14, 2003
Posts: 47



(Msg. 3) Posted: Tue Aug 26, 2003 11:09 pm
Post subject: Re: htaccess question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Claudio Carobolante wrote:

 > Satify any
Satisfy any

cc<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: htaccess question 
Back to top
Login to vote
cs_news

External


Since: Aug 26, 2003
Posts: 2



(Msg. 4) Posted: Wed Aug 27, 2003 1:06 pm
Post subject: Re: htaccess question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Claudio Carobolante wrote:
 > Claudio Carobolante wrote:
 >
  >> Satify any
 > Satisfy any
 >
 > cc

Hi,
thank you.

Christian<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: htaccess question 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
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..

.htaccess problem - Hi all, First of all, sorry for the long story, but I hope it will make my problem clear and leaves as little questions unanswered as possible. I'm experiencing a problem with .htaccess that seems to be quite common. Unfortunately, after spending hours...

.htaccess problem - hello, I have disabled directory browsing for all folders on my server and written a .htaccess allowing it for one folder. I would like to know what to put in a .htaccess file so that full access to all directories is enabled for only two IP addresses. ...

I cant get .htaccess to work - I am runnning apache on SuSE 7.2 pro, I have several Virtual hosts all working correctly - I want to password protect one of the directories. but it doesnt want to work. I have added into the httpd.conf as follows <VirtualHost 212.19.66.163:80> ...

forcetype + filesmatch in htaccess - I have write a script based on a htaccess file: Here it is: <FilesMatch "directory"> <font color=purple> ; ForceType application/x-httpd-php</font> </FilesMatch> But the server don't care about it. An idea?
   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 ]