I installed xampp 1.8.3 on windows 8 in "C:/xampp" and i have some problem to configure httpd.conf for use the userdir directive.
I want to use a URL like "http://localhost/~myDirectory", where myDirectory have a internal public_html directory.
I have put in the "httpd-userdir.conf" this:
- Code: Select all
<IfModule userdir_module>
userdir public_html
<Directory "C:/xampp/htdocs/myDirectory/public_html">
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
</IfModule>
and in the "httpd.conf"
- Code: Select all
<Directory "C:/xampp/htdocs/myDirectory/public_html">
Order allow,deny
Allow from all
</Directory>
When I start xampp and enter in the browser with the previous URL I recive a 403 error "access denied".
Where I' m wrong?
Thanks for the help.