- Code: Select all
Alias "/admin" "C:/Program Files/xampp/htdocs"
<Directory "C:/Program Files/xampp/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
I know this is the default xampp directory for the apache files. I changed that to a different directory and it's working fine.
One thing I noticed, when I try "http://url/admin" the 404 page is located at "http://url/xampp".
I also tried
- Code: Select all
Alias "/admin/" "C:/Program Files/xampp/htdocs/"
<Directory "C:/Program Files/xampp/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
The only difference was that the 404 page url was "http://url/admin".
I can't figure out why this alias doesn't work. Any help would be greatly appreciated.