Directory browse under Apache?
#1
Registered User
Thread Starter
Directory browse under Apache?
I'm having a HUGE brainfart and I can't digest the Apache instructions right now.
Can someone point me to the httpd.conf setup to allow directory browsing under Apache? Not globally at the server level, just a specific user directory.
Thanks!
Can someone point me to the httpd.conf setup to allow directory browsing under Apache? Not globally at the server level, just a specific user directory.
Thanks!
#2
Mark, do you mean this?
http://www.ccs.neu.edu/webadmin/dir_listing.html
That is what I had to do before to make my folders browsable.
I simply made a text file called
htaccess
and added
options + indexes
in it as text, uploaded, then used Cute FTP to rename the file with the . in front of it to
.htaccess
However once I renamed it, I can no longer ever see the file again.
If I use a webpage FTP interface that you can use with the server, then you can see the file.
I hope this is what you were looking for.
http://www.ccs.neu.edu/webadmin/dir_listing.html
That is what I had to do before to make my folders browsable.
I simply made a text file called
htaccess
and added
options + indexes
in it as text, uploaded, then used Cute FTP to rename the file with the . in front of it to
.htaccess
However once I renamed it, I can no longer ever see the file again.
If I use a webpage FTP interface that you can use with the server, then you can see the file.
I hope this is what you were looking for.
#3
Contributing Member
Join Date: Dec 2005
Location: San Antonio, TX
Posts: 1,072
Likes: 0
Received 0 Likes
on
0 Posts
Originally Posted by Corey
Mark, do you mean this?
http://www.ccs.neu.edu/webadmin/dir_listing.html
That is what I had to do before to make my folders browsable.
I simply made a text file called
htaccess
and added
options + indexes
in it as text, uploaded, then used Cute FTP to rename the file with the . in front of it to
.htaccess
However once I renamed it, I can no longer ever see the file again.
If I use a webpage FTP interface that you can use with the server, then you can see the file.
I hope this is what you were looking for.
http://www.ccs.neu.edu/webadmin/dir_listing.html
That is what I had to do before to make my folders browsable.
I simply made a text file called
htaccess
and added
options + indexes
in it as text, uploaded, then used Cute FTP to rename the file with the . in front of it to
.htaccess
However once I renamed it, I can no longer ever see the file again.
If I use a webpage FTP interface that you can use with the server, then you can see the file.
I hope this is what you were looking for.
On unix based systems, the ls -a flag shows all files, hidden and not hidden. You could also use vi if you wanted to change it again.
#4
Registered User
Thread Starter
hmm... that's what I thought, but I think there's a module missing from the server config on my box.
argh.
oh, btw... the "." as the first character of a filename on a *NIX system will hide the file. As you found, an FTP program will usually show it to you (it's a config option in most) but to see if from the shell you'll have to use the "-a" param on ls:
Thanks man!
Long live joe!
argh.
oh, btw... the "." as the first character of a filename on a *NIX system will hide the file. As you found, an FTP program will usually show it to you (it's a config option in most) but to see if from the shell you'll have to use the "-a" param on ls:
Code:
[05:20 PM foo]$ls weeeeeee.html [05:20 PM foo]$ls -a . .. .htaccess weeeeeee.html
Originally Posted by 91_4x4runner
You could also use vi if you wanted to change it again.
#5
Contributing Member
Join Date: Dec 2005
Location: San Antonio, TX
Posts: 1,072
Likes: 0
Received 0 Likes
on
0 Posts
I just really learned how to use vi when my linux box was crashing from the GUI to the command prompt and I needed to edit files to get it working again. Ever since, I've been hooked on using it for everything.
#6
Registered User
Thread Starter
Originally Posted by 91_4x4runner
I just really learned how to use vi when my linux box was crashing from the GUI to the command prompt and I needed to edit files to get it working again. Ever since, I've been hooked on using it for everything.
I never got into it...I spent too many years in OLD OLD OLD DOS using edlin and once I found a page editor, I was done with line editors. I drop joe on everything I touch, even cygwin here at work (we use it for verifying ANSI compatability) and my TiVo at home.
Hey Corey... GOT IT!
I had to remember that the "plus" is a modifier for the option, so:
Code:
option +indexes
Code:
option + indexes
Thanks!
#7
Yes, I wrote it down wrong, but it is correct on that page I used many years ago to build my site with.
The + or - must be right in front of the indexes word with no space.
Even with Cute FTP though, I can no longer see that file.
I wonder of there is a setting to change that?
Now on all of my free Comcast accounts I have, I have also uploaded that file, but it will not make the Comcast folders browsable for me.
The only way I can see the files is to view them in Cute FTP.
And as you know Mark, I like to leave my folders viewable so I can pull them up in a window, then copy & paste the URL for a file I have such as a picture, movie, or whatever to the forum here.
It is something on Comcast's end that will not allow that trick to work.
The + or - must be right in front of the indexes word with no space.
Even with Cute FTP though, I can no longer see that file.
I wonder of there is a setting to change that?
Now on all of my free Comcast accounts I have, I have also uploaded that file, but it will not make the Comcast folders browsable for me.
The only way I can see the files is to view them in Cute FTP.
And as you know Mark, I like to leave my folders viewable so I can pull them up in a window, then copy & paste the URL for a file I have such as a picture, movie, or whatever to the forum here.
It is something on Comcast's end that will not allow that trick to work.
Trending Topics
#9
Registered User
Thread Starter
Originally Posted by Corey
Even with Cute FTP though, I can no longer see that file.
I wonder of there is a setting to change that?
I wonder of there is a setting to change that?
I re-installed it to look. The answer is in the help file (should I drop my big SEARCH post on you??? )
To see hidden files on a remote site
- Select the Site Manager tab
- Select the site with the hidden files
- Choose File > Properties from the menu
- Select the Actions tab
- Select Filter
- Select Enable filtering
- Select Enable server side filtering
- Enter -a in the Remote field
- Select OK
- Connect to your site
Now on all of my free Comcast accounts I have, I have also uploaded that file, but it will not make the Comcast folders browsable for me.
The only way I can see the files is to view them in Cute FTP.
It is something on Comcast's end that will not allow that trick to work.
The only way I can see the files is to view them in Cute FTP.
It is something on Comcast's end that will not allow that trick to work.
#10
Registered User
Join Date: Dec 2003
Location: N37 39* W122 3*
Posts: 1,526
Likes: 0
Received 0 Likes
on
0 Posts
Originally Posted by midiwall
I'm having a HUGE brainfart and I can't digest the Apache instructions right now.
Can someone point me to the httpd.conf setup to allow directory browsing under Apache? Not globally at the server level, just a specific user directory.
Thanks!
Can someone point me to the httpd.conf setup to allow directory browsing under Apache? Not globally at the server level, just a specific user directory.
Thanks!
coolest thing since sliced bread...
www.webdav.org
#11
Registered User
Thread Starter
Originally Posted by ldivinag
"It is a set of extensions to the HTTP protocol..."
...scares me. THAT'S the kindof crap that created the living hell that's on the web now. (e.g. & aka, FrontPage)I've been happy with FTP and telnet since day one of being online (93ish). I REALLY don't want Yet Another Frigging Protocol between me and my data.
Thanks though Leo... I'll keep reading.
edit: oh, this explains it! "...from when I worked at Microsoft..." (from the FAQ)
Last edited by midiwall; 05-17-2006 at 06:02 AM.
#12
Registered User
Join Date: Dec 2003
Location: N37 39* W122 3*
Posts: 1,526
Likes: 0
Received 0 Likes
on
0 Posts
scares you in what way?
protocols dont scare me. unsecured connections do.
you can SSL a webdav connection.
plus it's an open protocol vs closed for FP.
also, you know this is how apples iCal rides on, right? so you can serve your own iCal calendars using open source clients... like mozilla's CALENDAR project.
and using windows XP, you can open an explorer screen on a remote folder. that is where it really shines for me.
protocols dont scare me. unsecured connections do.
you can SSL a webdav connection.
plus it's an open protocol vs closed for FP.
also, you know this is how apples iCal rides on, right? so you can serve your own iCal calendars using open source clients... like mozilla's CALENDAR project.
and using windows XP, you can open an explorer screen on a remote folder. that is where it really shines for me.
#13
Registered User
Thread Starter
What scares me is that it's Yet Another Set of Extensions to HTML, and it's Yet Another Protocol On Top of a Protocol.
argh.
sftp works for me.
argh.
sftp works for me.
Thread
Thread Starter
Forum
Replies
Last Post
Big Little Bear
Pre 84 Trucks (Build-Up Section)
230
11-13-2023 11:42 AM
88yodabasket
86-95 Trucks & 4Runners
15
07-13-2015 01:32 PM