LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache help needed (https://www.linuxquestions.org/questions/linux-newbie-8/apache-help-needed-142584/)

legal2k 02-05-2004 07:39 AM

apache help needed
 
well my problemm is simple,but i just can't find the solution.
here it is :
i made protected folders for apache with .htaccess and .htpasswd
and work fine but, as my page have no starting page just a list of files and directories, and those protected directories ain't listed there,
i know this is httpd.conf

david_ross 02-05-2004 01:44 PM

So.... what do you want to happen?

legal2k 02-06-2004 03:58 AM

re
 
I wan't apache to show protected folders ....

david_ross 02-06-2004 01:58 PM

It should show them if they are only protected with basic auth. Do the folders actually exist or are the aliased?

legal2k 02-07-2004 06:10 AM

re
 
they are real folders.

david_ross 02-07-2004 10:03 AM

What are the permissions on the directories? Are they readable and executable by the user apache is running as.

legal2k 02-07-2004 03:22 PM

re
 
the firectory is even writeble

david_ross 02-07-2004 03:26 PM

Can you post your httpd.conf file and any .htaccess files in the directory or its parent directory as well as he output from:
ls -la /path/to/hidden/directory

legal2k 02-08-2004 05:25 AM

# cat .htaccess
AuthUserFile /home/koljan/public_html/movies/.htpasswd
AuthType Basic
AuthName "A nu gady parol BYSTRO !!!"
require valid-user
#


#ls -la
total 32
drwxr-xr-x 2 koljan koljan 4096 Feb 4 03:47 .
drwxr-xr-x 4 root root 4096 Feb 4 03:28 ..
-rw-r--r-- 1 koljan koljan 292 Jan 23 18:24 connect.php
-rw-r--r-- 1 koljan koljan 2182 Jan 23 18:24 edit.php
-rw-r--r-- 1 root root 127 Feb 4 03:47 .htaccess
-rw-r--r-- 1 root root 0 Feb 4 03:29 htpasswd
-rw-r--r-- 1 root root 21 Feb 4 03:47 .htpasswd
-rw-r--r-- 1 koljan koljan 3493 Jan 23 18:24 index.php
-rw-r--r-- 1 koljan koljan 806 Jan 23 18:24 update.php
#


All times are GMT -5. The time now is 05:57 AM.