LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2004, 08:39 AM   #1
legal2k
LQ Newbie
 
Registered: Sep 2003
Location: Estonia
Posts: 7

Rep: Reputation: 0
Arrow 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
 
Old 02-05-2004, 02:44 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
So.... what do you want to happen?

Last edited by david_ross; 02-05-2004 at 02:49 PM.
 
Old 02-06-2004, 04:58 AM   #3
legal2k
LQ Newbie
 
Registered: Sep 2003
Location: Estonia
Posts: 7

Original Poster
Rep: Reputation: 0
re

I wan't apache to show protected folders ....
 
Old 02-06-2004, 02:58 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
It should show them if they are only protected with basic auth. Do the folders actually exist or are the aliased?
 
Old 02-07-2004, 07:10 AM   #5
legal2k
LQ Newbie
 
Registered: Sep 2003
Location: Estonia
Posts: 7

Original Poster
Rep: Reputation: 0
re

they are real folders.
 
Old 02-07-2004, 11:03 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
What are the permissions on the directories? Are they readable and executable by the user apache is running as.
 
Old 02-07-2004, 04:22 PM   #7
legal2k
LQ Newbie
 
Registered: Sep 2003
Location: Estonia
Posts: 7

Original Poster
Rep: Reputation: 0
re

the firectory is even writeble
 
Old 02-07-2004, 04:26 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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
 
Old 02-08-2004, 06:25 AM   #9
legal2k
LQ Newbie
 
Registered: Sep 2003
Location: Estonia
Posts: 7

Original Poster
Rep: Reputation: 0
# 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
#
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache question needed help runeleader Linux - Newbie 1 11-19-2004 02:17 AM
apache help needed! v well explained drigz Linux - Networking 4 05-18-2004 03:43 PM
Apache and Frontpage, no apache mods needed cli_man Linux - General 0 09-27-2003 10:31 AM
Apache helps needed !!! chuck77 Linux - General 1 05-15-2002 11:08 AM
Apache helps needed !!! chuck77 Linux - General 11 01-28-2002 10:46 PM


All times are GMT -5. The time now is 09:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration