|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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> |
|
#2
|
|||
|
|||
|
>> 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. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > why people can still access my files from cgi-bin when ... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|