Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Well, hi everybody. I'm trying to make aliases working on Apache & Windows 7. So, this is what I have:

<IfModule alias_module>
Alias /TamasMobile/ "C:/Users/IssamTP/Documents/NetBeansProjects/TamasMobile/"
<Directory "C:/Users/IssamTP/Documents/NetBeansProjects/TamasMobile/">
Options Indexes FollowSymLinks
DirectoryIndex index.html index.php
AllowOverride None
Order deny,allow
Deny from all

Loading website, leads to this error:

403 Forbidden
You don't have permission to access /TamasMobile/ on this server.

While the Apache Error log says:

[Tue Sep 07 00:49:29 2010] [error] [client] client denied by server configuration: C:/Users/IssamTP/Documents/NetBeansProjects/TamasMobile/

Yep, I can change the working directory to: ./htdocs/TamasMobile/ or do something similar, but I'd like to know how to fix this just for personal interest.

Thank you very much folks.

share|improve this question
up vote 2 down vote accepted

Surely the line:

Deny from all

is causing your problems. Drop that line and see if it works. What were you trying to do with the Deny from all? Typically the root directory has the strict Deny from all, and all the Alias have a more relaxed access. So for example:

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all

<Directory "C:/Users/IssamTP/Documents/NetBeansProjects/TamasMobile/">
    Order allow,deny
    Allow from all
share|improve this answer
Thank you! I guess that I should learn to read the documentation in a better way, even if the Apache one is not very clear... – IssamTP Sep 7 '10 at 6:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.