I get "Forbidden access" when running symfony 1.2

0

I've followed the official tutorial to create myself a Symfony 1.2 installation on my local computer (Windows 10 + Xampp). (For work reasons, I need a Symfony 1.x installation, so a newer version is of no use to me.)

I have already reached the last step, where I created the VirtualHost, but when it comes to accessing the project through the browser, it returns an error 403: Forbidden access!

Without success I already tried to remove the read-only from the web folder of the project (I could not remove it, neither with the console nor with the explorer).

My virtual host is like this:

<VirtualHost *:888>
  DocumentRoot "c:/development/sfprojects/jobeet/lib/vendor/symfony/data/web"
  ServerName www.symfonytest.local
  DirectoryIndex index.php
  <Directory "c:/development/sfprojects/jobeet/lib/vendor/symfony/data/web">
    AllowOverride All
    Allow from All
  </Directory>

  Alias /sf c:/development/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
  <Directory "c:/development/sfprojects/jobeet/lib/vendor/symfony/data/web/sf">
    AllowOverride All
    Allow from All
  </Directory>
</VirtualHost>
    
asked by George Berkeley 09.07.2017 в 05:07
source

1 answer

0

if it tells you that you do not have permission is because the folder where your project is in Apache is www or htdocs does not have user permission, you must assign the permissions so that it can be read and accessed by all users recursively is say with all your files included

    
answered by 06.10.2017 в 04:49