# Apache config for running this project at:
#   http://localhost/gold-jewellery-software/
# while keeping the "public/ as the only web-reachable folder" structure
# intact (app/, config/, database/, resources/, storage/, bootstrap.php
# stay completely outside what the browser can reach).
#
# Without this, Apache's normal DocumentRoot-based URL mapping treats
# http://localhost/gold-jewellery-software/ as "list whatever's physically
# in that folder" — which is exactly the directory listing you were
# seeing, because there's no index.php sitting directly in the project
# root (it's inside public/ on purpose). This Alias tells Apache to treat
# that URL specifically as an alias for the public/ subfolder instead.
#
# ADJUST THE PATH BELOW if your project isn't at
# F:\xampp\htdocs\gold-jewellery-software — both lines must match exactly.
#
# HOW TO USE:
#   1. Copy this file's content into
#      F:\xampp\apache\conf\extra\httpd-xampp.conf (append to the end), OR
#      save this file as-is into
#      F:\xampp\apache\conf\extra\httpd-gold-jewellery-software.conf and
#      add this line inside F:\xampp\apache\conf\httpd.conf
#      (near the other Include lines):
#         Include "conf/extra/httpd-gold-jewellery-software.conf"
#   2. Restart Apache from the XAMPP Control Panel.
#   3. Visit http://localhost/gold-jewellery-software/ — it should now
#      load the login page instead of a directory listing.

Alias /gold-jewellery-software "F:/xampp/htdocs/gold-jewellery-software/public"

<Directory "F:/xampp/htdocs/gold-jewellery-software/public">
    Options -Indexes +FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>
