You can create an Alias
directive in the apache\conf\extra\httpd-xampp.conf
file to do what you want.
You can add it after the Webalizer
entry and before the </IfModule>
Use the other Alias entries as an example for your own entry.
For example but add your own folder name and path details
- backup the original conf before editing
- Code: Select all
Alias /myfolder "C:/path/to/your/desktop/folder/"
Options Indexes FollowSymLinks Includes ExecCGI
Allow from all
Save the file after editing and then restart Apache.http://localhost/myfolder
should find the index.php
file in that myfolder
on your desktop or what ever you have decided to name the myfolder - no index file will do a listing of all files and folders.