Tuesday, February 26, 2008

What I did wrong to setup Symfony on Windows

Firstly:

<virtualhost>


DocumentRoot "c:\wamp\www\askeet\web"

ServerName askeet DirectoryIndex index.php


Alias /sf "C:\wamp\bin\php\php5.2.5\PEAR\data\symfony\web\sf"


<directory>

AllowOverride All

Order allow,deny

Allow from All

</directory>

</virtualhost>



The Alias /sf "C:\wamp\bin\php\php5.2.5\PEAR\data\symfony\web\sf" and have to be same. In Windows is different with Linux setting.

Secondly:

AllowOverride All
Order allow,deny
Allow from All
We should add those three line between

<directory></directory>not only one of them.

Thirdly:

DocumentRoot "c:\wamp\www\askeet\web" The project folder has to be created in C:\wamp\www if you use WAMP in Windows.

No comments: