php windows (xampp) alias

Posted on 2009-04-30
Last Modified: 2013-12-13
I  just edited my httpd.conf file to add an alias

Alias /webpath/ "C:/Users/administrator/Desktop/"
Alias /webpath "C:/Users/administrator/Desktop"

I am getting an error that says access forbidden.

What do I have to do?
Question by:jackjohnson44
    LVL 5

    Expert Comment

    I havent ever run a webserver on windows but could the directory name be case sensitive? As far as I know the default username is 'Administrator' and not 'administrator'.

    Hoping this helps,


    Author Comment

    Actually, it is finding the file, but it says access forbidden.  If I change the file I am looking for, it gives me an error.

    Do you have any idea what kind of permissions I need and what user?

    I tried giving everyone all access, but that didn't work.
    LVL 5

    Accepted Solution

    Can you try adding the following to your httpd.conf file?

    <Directory "C:/Users/administrator/Desktop">
    AllowOverride All
    Order allow,deny
    Allow from All

    Author Closing Comment


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
    Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now