Hello, I am trying to password protect a directory from tab option web-ftp (navigate to parent folder) click on folder name within the results pannel the button Directory Protection [Edit] but I get the following error: The following error occurred: Failed to open /home/admispconfig/ispconfig/temp/hta_6epwGv any ideas Thanks in advance for you help Paul
please post the output of: ls -la /home/admispconfig/ispconfig/ and ls -la /home/admispconfig/ispconfig/temp/
reply total 396 drwxr-xr-x 8 admispconfig admispconfig 4096 2007-01-17 17:18 . drwxr-xr-x 4 admispconfig admispconfig 4096 2007-01-11 17:31 .. -rw-r--r-- 1 admispconfig admispconfig 14 2007-01-13 15:11 adminmail.txt drwxrwx--- 2 admispconfig mysql 4096 2007-01-11 17:31 backup drwxr-xr-x 4 admispconfig admispconfig 4096 2007-01-11 17:31 files -rw-r--r-- 1 admispconfig admispconfig 353073 2007-01-17 18:02 ispconfig.log drwxr-xr-x 6 admispconfig admispconfig 4096 2007-01-11 17:31 lib -rw-r--r-- 1 root root 883 2007-01-11 17:31 sysconf.txt drwxr-xr-x 7 admispconfig admispconfig 4096 2007-01-17 18:46 temp drwxr-xr-x 8 admispconfig admispconfig 4096 2007-01-11 17:31 tools -rw-r--r-- 1 root root 197 2007-01-12 18:50 users drwxr-xr-x 16 admispconfig admispconfig 4096 2007-01-14 20:47 web [email protected]:/etc# [email protected]:/etc# ls -la /home/admispconfig/ispconfig/temp/ total 5476 drwxr-xr-x 7 admispconfig admispconfig 4096 2007-01-17 18:46 . drwxr-xr-x 8 admispconfig admispconfig 4096 2007-01-17 17:18 .. drwx------ 2 admispconfig admispconfig 4096 2007-01-14 20:43 09dd15c5cadbc41a34cf9770a5f6ecf1 drwx------ 2 admispconfig admispconfig 4096 2007-01-12 18:41 5c561bac15dbd3d23c10b90dc8599a79 drwx------ 2 admispconfig admispconfig 4096 2007-01-17 18:46 be712110bd1373f6da43ce7d502311ba drwx------ 3 admispconfig admispconfig 4096 2007-01-14 20:46 e26402b2eeb879b8c8779399b810222e drwx------ 2 admispconfig admispconfig 4096 2007-01-14 20:43 eb62d3bb74f30d059782a2d886e3e7de -rw-r--r-- 1 admispconfig admispconfig 5564608 2007-01-12 18:41 fe9978d96275f4422b660f6220dfedfa.zip -rw------- 1 admispconfig admispconfig 0 2007-01-17 16:17 hta_6epwGv -rw------- 1 admispconfig admispconfig 0 2007-01-17 16:11 hta_hDh5wX -rw------- 1 admispconfig admispconfig 0 2007-01-17 16:11 hta_HWQbxP [email protected]:/etc#
cant password protect Filesystem Size Used Avail Use% Mounted on /dev/sda1 146G 13G 126G 9% / varrun 247M 92K 247M 1% /var/run varlock 247M 4.0K 247M 1% /var/lock udev 247M 60K 247M 1% /dev devshm 247M 0 247M 0% /dev/shm lrm 247M 18M 230M 8% /lib/modules/2.6.15-26-686/volatile
password protect after multipul server restarts I still see the same message Failed to open /home/admispconfig/ispconfig/temp/hta_QCisI2 when i try to protect directories, I am using the newest version of ispconfig Paul
Still cant password protect directories I do not know what selinux is or if it is applicable for ubuntu it is verion 6 lts this is a big prob as i am running a shop on my server and the admin is not protected. is it possible to pw protect with .htaccess?
You can just use the standard .htaccess pwd protection. Just create the file, put the directives in place, give it all the right permissions and you should be oke.