LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 06-02-2002, 11:04 AM   #1
GreatMilenko
LQ Newbie
 
Registered: Jun 2002
Location: Florida
Distribution: what?
Posts: 2

Rep: Reputation: 0
Talking Directory Tree Question


HELP ME!!

I need some help... the server that i am on wont allow automatic directory tree's.. it comes up at 403 error. i have a folder of pictures and it has 84 of them i dont want to create a seperate page with all the links to all the pics so i just wanted a file that people can click each img in the directory. I posted to our support list to see if anyone could help me and they still havent replyed. so i guess i am on my own about figuring this one out...

can someone help me on setting the directory tree up?
it would greatly appriciate it...

please e-mail me at mermaid@quasar.net asap!!!

Last edited by GreatMilenko; 06-02-2002 at 11:05 AM.
 
Old 06-02-2002, 11:06 AM   #2
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
What server is it?
Do you have access to reconfigure it?
How about one of the many photo album scripts out there? (search http://freshmeat.net/)
 
Old 06-02-2002, 01:27 PM   #3
GreatMilenko
LQ Newbie
 
Registered: Jun 2002
Location: Florida
Distribution: what?
Posts: 2

Original Poster
Rep: Reputation: 0
yes i have access to the server it is my moms... she said i needed to override the apache default... she doesnt know how to do this. we had set the default to not allow directory trees because of clients reading other peoples private files.. cuz we have 2 web designers who want to keep their php shopping cart codes a secret from eachother and mysql db passwords and stuff.. the guy who used to be her systems admin is no longer with us and i believe he is the one who set the apache default that way...

im not gonna ask him how to make one cuz i dont like him....
 
Old 06-02-2002, 01:48 PM   #4
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Turning directory browsing won't do a great deal to stop them from looking at each others scripts.... at least not if they were reasonably secure files which didn't let you look at the contents of config files directly.

Assuming the server is set to allow overrides you can just create a .htaccess file in the top level directory of your site (e.g. ~/public_html/.htaccess) and stuff apache directives in it. (e.g. Options Indexes).

The apache manual is good, http://httpd.apache.org/ and the httpd.conf file is well commented.
 
  


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
Help: regarding comparing two directory tree structures raj_thota Solaris / OpenSolaris 1 11-02-2005 07:16 AM
permissions for directory tree adamwenner Linux - Security 3 10-23-2004 07:39 AM
Help! How do you delete a directory tree? johnmcollier Linux - Security 0 10-24-2003 02:29 AM
Creating ramdisk for directory tree. vaibhavk Linux - General 0 01-16-2002 11:29 PM
Hiding directory tree except for 'home' Will Linux - General 7 11-11-2001 02:35 AM


All times are GMT -5. The time now is 10:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration