SunQuest
           Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 17th, 2001, 01:25 AM
worldtouch worldtouch is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Milian, Italy
Posts: 357 worldtouch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
why people can still access my files from cgi-bin when ...

I have blocked possible pentrator from the internet.

my cgi-bin is in /var/www/cgi-bin and they can in and out and I see that with apache status.


how do I mark a block of lines and copy in to another area in vi?
DOes apache allow multiple directories to be within the <directory block stmt>

like
<Directory /var/www/html, /var/www/cgi-bin >


jennifer


below is my normal blocking of html directory



<Directory /var/www/html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny

Allow from all

#deny from 168.
#deny from 200.
#deny from 201. 202. 203. 204. 205. 206. 207. 208. 209. 210.
deny from 203.198. 203.218. 205.252.130.199 202.84.130.29



</Limit>
<Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Order deny,allow
Deny from all
</Limit>
</Directory>

Reply With Quote
  #2  
Old September 17th, 2001, 03:43 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> how do I mark a block of lines and copy in to another area in vi?

Try dd while in command-mode to cut the current line, then move cursor to the line and p to put (paste) it in command-mode.

>> DOes apache allow multiple directories to be within

No.

>> below is my normal blocking of html directory

Looks fine to me.

>> they can in and out and I see that with apache status

Your cgi-bin is not under your docroot at /var/www/html, so you need to specify that within <Directory /var/www/cgi-bin> explicitly. Or you can even specify that at /var/www so your deny line will be enforced recursively. However, be sure not to override it (redefine it again).

Last edited by freebsd : September 17th, 2001 at 03:45 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > why people can still access my files from cgi-bin when ...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway