php windows (xampp) alias

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?
jackjohnson44Asked:
Who is Participating?
 
AtanAsfalothConnect With a Mentor Commented:
Can you try adding the following to your httpd.conf file?

<Directory "C:/Users/administrator/Desktop">
AllowOverride All
Order allow,deny
Allow from All
</Directory>
0
 
AtanAsfalothCommented:
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,

Atan
0
 
jackjohnson44Author Commented:
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.
0
 
jackjohnson44Author Commented:
THANKS!!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.