file listing

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
spearman
-


Joined: 27 Nov 2002
Posts: 4

PostPosted: Thu Nov 28, 2002 3:20 pm    Post subject: file listing Reply with quote

how can i make it only have a file listing for specified folders
i.e.
i want /graphics/ to show all the files in it...
but i dont want /admin/ to..
Back to top View user's profile Send private message Send e-mail AIM Address
!Keys
-


Joined: 23 Nov 2002
Posts: 156
Location: Holland, Enschede

PostPosted: Thu Nov 28, 2002 4:27 pm    Post subject: Reply with quote

you can do that, but then not totally like you want it.. you can make dir view at all dir´s, and then secure any dir you want(there will be a password needed to enter)

with php you do this with .htaccess and .htpassword files.. tell me how and what with a little more details
_________________
!Keys || MwM^computerware
Back to top View user's profile Send private message MSN Messenger
spearman
-


Joined: 27 Nov 2002
Posts: 4

PostPosted: Thu Nov 28, 2002 11:55 pm    Post subject: Reply with quote

i just want my /graphics/ dir to have a file listing thats all
Back to top View user's profile Send private message Send e-mail AIM Address
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Nov 29, 2002 1:50 am    Post subject: Reply with quote

spearman wrote:
i just want my /graphics/ dir to have a file listing thats all

That's simple: Allow Directory Listing for all the server (Console > Server Configuration > Advanced > Server Parameters > Automatic Directory Indexing.)
Then in all the directories where listing is not allowed put an index.html page. Even if you haven't such a page, you can create an empty file with that name. It will prevent directory listing in these folders.
In folders where you want to enable listing, don't put such a file. That's the way to do it and usually. That's the method people use (even on other web servers.)
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
stuart2you
-


Joined: 14 Nov 2002
Posts: 4
Location: Scotland

PostPosted: Fri Dec 20, 2002 1:32 am    Post subject: Reply with quote

How do I add a link to a webpage to allow directory listing/downloading?

Is there html or cgi cide for this?
Back to top View user's profile Send private message Visit poster's website
anonymous reader
Guest





PostPosted: Fri Dec 20, 2002 11:32 pm    Post subject: Reply with quote

cgi all the way, most of the one i've used use SSI to exec a perl file so be sure that you enable ssi exec
Back to top
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Dec 21, 2002 1:44 am    Post subject: Reply with quote

stuart2you wrote:
How do I add a link to a webpage to allow directory listing/downloading?

Is there html or cgi cide for this?

When a directory has no index file, it will generate a listing automatically (provided that automatic directory listing is enabled.)
For example, if htdocs/photos subdirectory doesn't contain an index file, browsing http://yoursite/photos will generate a listing. Just test it, you will understand how it works.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Omar G
Guest





PostPosted: Sat Dec 21, 2002 8:17 am    Post subject: Good use for CHL pages / scripts Reply with quote

Here is where CHL scripting would be very useful, in a place where an HTML / CHL template can be used to modify the default server behavior without config'ing things. Whaddya think, Aprelium?
Back to top
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Dec 22, 2002 3:48 pm    Post subject: Re: Good use for CHL pages / scripts Reply with quote

Omar G wrote:
Here is where CHL scripting would be very useful, in a place where an HTML / CHL template can be used to modify the default server behavior without config'ing things. Whaddya think, Aprelium?

There are more elegant solutions and we are aready working on them. CHL files aren't scripts, they are only used internally by the console. So please wait the next version. :D
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
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


Powered by phpBB phpBB Group