3

I used to run my angular project using grunt serve

Now I need it to run on my XAMPP so I installed it into my C:\xampp\htdocs\

But I am getting a 403 denied access even after changing my httpd-xampp.conf

to Require all granted as written also on SO

I restarted my Apache as well.

What else am I missing?

Thanks

Community
  • 1
  • 1
eeadev
  • 3,662
  • 8
  • 47
  • 100

1 Answers1

0

Please these steps:

  1. Do you have read permission on you angular project folder.
  2. Make sure you have given document path to your index.html For Ex:
<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

For this index.html should be inside html folder.

  1. Little bit of chance to fail your assets files required by an angular application. Make sure all assert files are loaded.
Vinoth Rajendran
  • 1,181
  • 1
  • 13
  • 28