XAMPP pointing a file outside root folder
- by Ravi
I am using XAMPP for first time in Mac. Running out problems accessing other than root folder(htdocs).when I am placing my web application inside htdocs with default httpd.conf file it works when I try to point my web application url in httpd.conf it throws error
I am aware that to modify the root folder I need to do changes to my XAMPP/etc/httpd.conf file
With Default XAMPP MAC Settings, I am trying to change Server root,Document root and Directory in XAMPP/etc/httpd.conf file the following
ServerRoot "/Users/ravi/Documents/Development/Backbone/backboneboilerplate"
DocumentRoot "/Users/ravi/Documents/Development/Backbone/backboneboilerplate"
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
</Directory>
<Directory "/Users/ravi/Documents/Development/Backbone/backboneboilerplate">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
its throwing error when trying to start XAMPP
httpd: Syntax error on line 54 of
/Applications/XAMPP/xamppfiles/etc/httpd.conf: Cannot load
/Users/ravi/Documents/Development/Backbone/backboneboilerplate/modules/mod_authn_file.so
into server: cannot create object file image or add library