Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 12-09-2003, 12:51 PM   #1
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Rep: Reputation: 30
Apache Directive

Hey All, I am trying to block access to a certain directory on my website to only allow my IP address. I know this can be done using the Directory directive but it's not working.

<Directory /myadmin>
Order deny,allow
Allow from
Deny from all

restarted apache.

Old 12-09-2003, 01:05 PM   #2
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Your problem is probably in your path, ie /myadmin. Try using the complete path.
Old 12-09-2003, 01:32 PM   #3
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Original Poster
Rep: Reputation: 30
Thanks for the reply, actually I am being forced to use this under windows environment and figured out the problem. With old style dos names specifying your path must be 8 character max filenames/directories.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ServerTokens Directive Apache with SLOX4.1 sln Linux - Security 1 05-31-2005 12:52 PM
apache User directive merchtemeagle Linux - Software 2 03-07-2005 03:42 PM
Apache 'Listen' directive doesn't work robbiemorgan Linux - Software 0 11-22-2004 11:49 AM
Apache DirectorySlash directive doesn't seem to be working SeniorSE Linux - Newbie 2 11-16-2004 10:52 PM
Alias directive in Apache 1.3.22 mswebs Linux - Networking 2 08-01-2003 02:09 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration