showing the files in htdocs
Hello! I can't set my Apache Server to show the list of files from the htdocs directory. Can somebody help me please!
I know you can do it in ASP with the files collection.
Any server side scripting language should be able to interact with the filesystem and print this information.
Thank You for your reply!
I can do this with php but Apache can do this automaticaly. On Windows this is enabled by default. I'm interested in doing this on my Suse Linux. Insted of showing this list, i get the following message: "acess forbidden".
On what I have found on the Internet by now this might be called "Indexing"
Sorry, I was looking for a different kind of solution than you were looking for. I understand what you are looking for now, but unfortunantly I can't remember how to fix it. I'll take a look at my apache configs and report back if I find something. If you figure it out, please post what you find because I'd also like to know.
There's a config file where you can set that. Formerly, that was httpd.conf, now (on my current Ubuntu system) it's apache2.conf.
In a terminal, become root.
On my own system, there's an entry,
Thank you guys! You helped me alot!!! I'll try this and i'll let you know if it's really works :)
# Possible values for the Options directive are "None", "All",
# or any combination of:
#Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
# The Options directive is both complicated and important. Please see
# for more information.
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
# Controls who can get stuff from this server.
Allow from all
This is what i have found in "default-server.conf". I simply changed "Options none" with "Options All".
That's it. Thank you again, guys!
|All times are GMT -5. The time now is 03:28 AM.|