jleaman Posted January 18, 2004 Report Share Posted January 18, 2004 ok so my new server is working sweet and really well i thank all people for helping so far with my small and minor problems.. my question is how do i make folder listings work.? i have my server Here is a example. http://diy-audio.curtek.com ( actual web page and all. ) But i want to make a folder like http://diy-audio.curtek.com/files/ and be able to put files in there and download them via the internet browsers. but have it as a listing of the files in that directory ? how can or how can i make this happen.. id like to also know how to setup ftp Personal files only so i can update the web page to the server .. is this hard or easy ..? Quote Link to comment Share on other sites More sharing options...
johanl Posted January 19, 2004 Report Share Posted January 19, 2004 For your directory listing, there is a directive which you can use to allow dir browsing, it's not that hard to find in the Apache manual (I don't know it by heart else I would have told you here). Quote Link to comment Share on other sites More sharing options...
Nikon34 Posted January 20, 2004 Report Share Posted January 20, 2004 Hi, To find out the answer to your question, I suggest you read the Indexing page on the apache site. I have included the URL below: Fancy Indexing It should tell you how to configure your conf file so that apache will automatically give you a list of files with icons to represent the types of files you have in your directory. Hope this is of some help. Quote Link to comment Share on other sites More sharing options...
jleaman Posted January 21, 2004 Author Report Share Posted January 21, 2004 i'm still confused on how to do this.. I think ill setup mandrake 9.2 on a little dell box at home and screw with it some more.. i also want to get this ftp thing working so i can upload new web-page files when im done working on them.. Quote Link to comment Share on other sites More sharing options...
jleaman Posted January 26, 2004 Author Report Share Posted January 26, 2004 nikon34 im stumped man i have tried every thing and been looking on how to get instruction's on how to do this and still a no go... : O ( Quote Link to comment Share on other sites More sharing options...
paul Posted January 26, 2004 Report Share Posted January 26, 2004 ok you need to set directory directives in /etc/httpd/conf/commonapache.conf (or whatever the common file is called ) you need to make a directory directive that looks somewhat like this <Directory /path/to/directory> <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/plain text/xml </IfModule> Options Indexes FollowSymLinks MultiViews AllowOverride All <IfModule mod_access.c> Order allow,deny Allow from all </IfModule> </Directory> then restart or reload apache /etc/init.d/httpd restart now you should have directory listing turned on Quote Link to comment Share on other sites More sharing options...
scoopy Posted January 26, 2004 Report Share Posted January 26, 2004 If your main site's index.html file is in /var/www/html ... What happens if you put a folder named "files" in /var/www/html and put some files in there... but don't put any index.html file there. Then browse: http://diy-audio.curtek.com/files/ Using a default apache setup should show a listing of your files unless you have an index page there which would display that instead. Quote Link to comment Share on other sites More sharing options...
jleaman Posted January 26, 2004 Author Report Share Posted January 26, 2004 try it and tell me what you see : O) i see nothing.. http://diy-audio.curtek.com/files/ Quote Link to comment Share on other sites More sharing options...
scoopy Posted January 26, 2004 Report Share Posted January 26, 2004 This is what I got: Forbidden You don't have permission to access /files/ on this server. I guess Paul is on the right track here. I can't check my server/setup until later tonight... to see how mine works (or don't) Quote Link to comment Share on other sites More sharing options...
jleaman Posted January 26, 2004 Author Report Share Posted January 26, 2004 yeah im home all night.. going to try to get this going.. but first i need to figure out how to change the log in window so i can type in the persons name that i want to log iin as.. right now it is set to icon with only one person. Me... but i dont want that.. : O ( SNIFf.. Quote Link to comment Share on other sites More sharing options...
scoopy Posted January 26, 2004 Report Share Posted January 26, 2004 Just to clarify... this is what we want to accomplish... something along these lines: http://mandrakeusers.com/Mandrake/ First step will be to get it to work (like above) for all visitors. Then you can work on controlling access to your users. Quote Link to comment Share on other sites More sharing options...
jleaman Posted January 26, 2004 Author Report Share Posted January 26, 2004 EXACTLY!!! Quote Link to comment Share on other sites More sharing options...
scoopy Posted January 27, 2004 Report Share Posted January 27, 2004 Just checked my setup... and I produce the same 403 Forbidden page. Looks like you will have to figure out and edit that file paul was talking about. ( /etc/httpd/conf/commonhttpd.conf ) Sorry... can't help ya out. Quote Link to comment Share on other sites More sharing options...
paul Posted January 27, 2004 Report Share Posted January 27, 2004 you need to edit the commonhttpd files just as I mentioned above ... .this is my exact setup on my desktop webserver Quote Link to comment Share on other sites More sharing options...
Guest anon Posted January 27, 2004 Report Share Posted January 27, 2004 If you still get stuck, just post the file here and we can edit it for you. If you want restrict access to certain people, you can insert .htaccess files. But just work on getting the thing running first eh? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.