4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 How to Display all files in a Subdirectory
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
adubin
Junior WebHelper
Junior WebHelper


Joined: 12 Jul 2006
Posts: 4

PostPosted: Sun Jul 16, 2006 6:17 pm (11 years, 4 months ago) Reply with QuoteBack to Top

I am currently using .htaccess/.htpasswd to protect a subdirectory worddoc. I want to upload a series of Microsoft files (Word, Excel, PowerPoint, etc.) to other subdirectories within worddoc subdirectory. Iím currently hosting this website on Godaddy.

The below worddoc path is currently secured by a sign-in and password;
/home/content/s/u/s/susan2/html/worddoc/.htpasswd

When viewing on WS_ftp the path is;
/worddoc/excel

When I use the below URL or something else,(that is what I am not sure of what that is yet) I want to view the files names in the excel folder.

http://www.tech-insights.net/worddoc/excel

See below examples of what on want to display on the browser when they enter the above URL or something that will allow me to display this info.

product_cost.excel
overhead_cost.excel
varialble_cost.excel


This will enable somebody to click on it to open it or down load it to their PC.

Anybody have any suggestions how I can accomplish this? Question Question

adubin
OfflineView User's ProfileFind all posts by adubinSend Personal MessageVisit Poster's Website
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Mon Jul 17, 2006 9:09 am (11 years, 4 months ago) Reply with QuoteBack to Top

Try adding "Options +indexes" to your .htaccess file.

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
adubin
Junior WebHelper
Junior WebHelper


Joined: 12 Jul 2006
Posts: 4

PostPosted: Tue Jul 18, 2006 2:33 pm (11 years, 4 months ago) Reply with QuoteBack to Top

Adam,

Thanks for your input.

adubin

________________________________
adubin
OfflineView User's ProfileFind all posts by adubinSend Personal MessageVisit Poster's Website
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.049718 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme