enajeeb / phalcon-boilerplate

Boilerplate template for PHP Phalcon Framework. Its includes Authentication, Database Abstraction...
MIT License
26 stars 7 forks source link

Access Forbidden on Windows / Xampp #4

Closed contactwajeeh closed 9 years ago

contactwajeeh commented 9 years ago

I am able to set up the app, but I am getting only signin page, all the rest of the links are throwing the 403 error. can you please help me, as to what I am doing wrong. I am new to Phalcon and very impressed by its features.

my vhosts <<VirtualHost *:80> ServerName server ServerAdmin DocumentRoot "C:\xampp\htdocs\phalcon-app\public" DirectoryIndex "index.html" "index.php" <Directory "C:\xampp\htdocs\phalcon-app\public"> Options +Indexes +FollowSymLinks +MultiViews +Includes AllowOverride All Require all granted >

and my config is set to this:

'baseUrl' => 'http://server',

Please help me out.

contactwajeeh commented 9 years ago

This is fixed, by editing the htaccess files. Please close the issue.

enajeeb commented 9 years ago

Thanks. Let me know if you come across any other issues.

ghost commented 8 years ago

same issue here, could you tell me how did you solved it?, thank´s in advance. (403 Access Forbidden , using xampp on windows)

enajeeb commented 8 years ago

Can you share your vhost and .htaccess files?

ghost commented 8 years ago

httpd-vhosts.conf: captura de pantalla 289

.htaccess: captura de pantalla 290

enajeeb commented 8 years ago

Make sure permission for your document root and public folder is at least 755

drewswaycool commented 8 years ago

Running on Windows 10 with Xampp 3.2.2. I cannot resolve this issue.

This is my httpd-vhosts.conf

<VirtualHost phalcon.local:80>
    ServerAdmin webmaster@phalcon.local
    DocumentRoot "C:/xampp/htdocs/phalcon"
    ServerName phalcon.local
    ServerAlias www.phalcon.local
    ErrorLog "logs/phalcon.local-error.log"
    CustomLog "logs/phalcon.local-access.log" common
    <Directory "C:/xampp/htdocs/phalcon/">
        Require all granted    
    </Directory>
</VirtualHost>

Apache/2.4.17