[PLUG] Directory accessible to http request

Dirk & Karen hapibeli at save-net.com
Fri Apr 5 16:38:26 UTC 2002


On Friday 05 April 2002 08:25 am, you wrote:
> you can use the <Directory "/absolute/path/to/directory">
> directives....and make an alias:
> if you have mod_alias installed as follows:
> Alias /IPcop/ "/absolute/path/to/ipcop/directory/"
>
> to find out what apache modules you have loaded, simply run the httpd
> executable with a -l argument:
> /www/bin/httpd -l
>
> you may want to limit access to this directory by only allowing traffic
> from your local network....
>
> I'm not very familiar with IPcop....it looks to me as though IPcop is a
> full linux install, though.....and should do everything you need more or
> less out of the box....
>
>
> hope this helps....
> -Brian

t]# ls -la /mnt/cdrom
total 21433
dr-xr-xr-x    1 root     root         2048 Jan 16 13:56 ./
drwxr-x---    7 root     adm          4096 Feb 22 08:16 ../
dr-xr-xr-x    1 root     root         2048 Jan 16 13:55 bin/
dr-xr-xr-x    1 root     root         2048 Jan 16 13:56 boot/
-r-xr-xr-x    1 root     root        17992 Jan 16 13:42 COPYING*
dr-xr-xr-x    1 root     root         2048 Jan 16 13:42 doc/
dr-xr-xr-x    1 root     root         2048 Jan 16 13:42 dosutils/
dr-xr-xr-x    1 root     root         2048 Jan 16 13:56 images/
-r-xr-xr-x    1 root     root     21908832 Jan 16 13:42 ipcop.tgz*
dr-xr-xr-x    1 root     root         2048 Jan 16 13:42 lib/
-r-xr-xr-x    1 root     root         1423 Jan 16 13:42 README.txt*
[root at My root]# alias /mnt/cdrom  /home/uploads
bash: alias: `/mnt/cdrom' not found
bash: alias: `/home/uploads' not found
[root at My root]#


I'm using the /home/uploads as the directory and ipcop-0.1.1 is in /mnt/cdrom.
Is this what you had in mind? Forgive my ADD/HD.
Dirk




More information about the PLUG mailing list