If you use alias directive:
Alias /sf some_directory

Then when you access anything under it you should put the subdirectory:

http://localhost:8080/sf/frontend_dev.php

Instead of going to root directory like you did. Otherwise you won't get to
the files under some_directory.

Regards,
Haris

On 5 June 2011 12:16, Parijat Kalia <kaliapari...@gmail.com> wrote:

> Hello!
>
> Coming back onto the symfony mailing list after long. I now have a new
> project that I am undertaking and running into a slight few niggles with
> seeing it over my localhost. Let me explain:
>
> 1. My original project exists here : c:\dev\sfproject. I introduce a new
> project in C:\dev\sfproject2
> 2. In my httpd.conf file, I make the necessary changes, and here is what it
> looks like:
>   ServerName Question_Machine
>   DocumentRoot "c:\dev\sfproject\web"
>   DirectoryIndex index.php
>   <Directory "c:\dev\sfproject\web">
>     AllowOverride All
>     Allow from All
>   </Directory>
>   Alias /sf "C:\dev\sfproject\lib\vendor\symfony-1.2.9\data\web\sf"
>   <Directory "C:\dev\sfproject\lib\vendor\symfony-1.2.9\data\web\sf">
>     AllowOverride All
>     Allow from All
>   </Directory>
> </VirtualHost>
>
>  I browsed to localhost:8080/frontend_dev.php, but it redirects me back to
> my original project. Not sure how this is happening, Any insights? Anybody
> want to point what I am missing out or getting wrong?
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to