Configuração Apache

sike

I'm cool cuz I Fold
Boas,

Estou a tentar brincar aqui com o symfony e estou a seguir um "Getting Started".

Consegui com sucesso os passos anteriores mas cheguei a parte de web-server e não estou a conseguir.

Não faço ideia do que possa estar mal, pois é a primeira vez que estou a tentar algo do genero.
A minha estrutura de webroot está apenas dentro da root www com a pasta symfony lá.

No tuturial eles fazem assim:

Código:
# Be sure to only have this line once in your configuration
NameVirtualHost 127.0.0.1:8080

# This is the configuration for your project
Listen 127.0.0.1:8080

<VirtualHost 127.0.0.1:8080>
  DocumentRoot "/home/sfproject/web"
  DirectoryIndex index.php
  <Directory "/home/sfproject/web">
    AllowOverride All
    Allow from All
  </Directory>

  Alias /sf /home/sfproject/lib/vendor/symfony/data/web/sf
  <Directory "/home/sfproject/lib/vendor/symfony/data/web/sf">
    AllowOverride All
    Allow from All
  </Directory>
</VirtualHost>
Mas como tenho a pasta com outro nome, supuz que seria assim.

Código:
# Be sure to only have this line once in your configuration
NameVirtualHost 127.0.0.1:8080
# This is the configuration for your project
Listen 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
  DocumentRoot "/symfony/web"
  DirectoryIndex index.php
  <Directory "/symfony/web">
    AllowOverride All
    Allow from All
  </Directory>
  Alias /sf /symfony/lib/vendor/symfony/data/web/sf
  <Directory "/symfony/lib/vendor/symfony/data/web/sf">
    AllowOverride All
    Allow from All
  </Directory>
</VirtualHost>

Acedo ao http://localhost:8080/ e dá-me um 404, isto é má configuração do httpd ou qualquer problema de má configuração na framework ?
 
Já consegui resolver... :D

Código:
# Be sure to only have this line once in your configuration
NameVirtualHost 127.0.0.1:8080
# This is the configuration for your project
Listen 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
  DocumentRoot "/var/www/symfony/web"
  DirectoryIndex index.php
  <Directory "/var/www/symfony/web">
    AllowOverride All
    Allow from All
  </Directory>
  Alias /sf /var/www/symfony/data/web/sf
  <Directory "/var/www/symfony/data/web/sf">
    AllowOverride All
    Allow from All
  </Directory>
</VirtualHost>

Era assim.
 
Back
Topo