You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, February 5th 2008, 6:54pm

XAMPP How to hide or deny access to the htdocs folder but have access to the site in the subfolders?

hello geniuses,


no need to say that i am a newbie on KDE

I recently setup my webserver on kde using xampp, everything is running fine but my issue is the following:


mywebserver is located on a subfolder in the htdocs folder : http://0.0.0.0/subfolder1 and
http://0.0.0.0/subfolder2


if a user type in the IP address http://0.0.0.0 they are able to see the content of the subfolders 1 and 2.

What i would like is to deny access to the main folder and subfolders , but i still want the users to able to access the sites and upload and edit info ( write / delete / change access).

so basically i want to make sure that when a user type in
http://0.0.0.0
the listing will be denied.

but if he typpes
http://0.0.0.0/subfolder1 and
http://0.0.0.0/subfolder2

he should be able to view, edit , delete content.


I m sure there is a way to do that , but i couldnt find much info on google or the xampp home page.

Any help would be much appreciated