There are two ways to fix this. The first is to create an Apache
alias, the second is to create a symlink (which might not work,
depending on your MAMP config).
So let's try creating an alias first...
In the MAMP settings for the site, choose the 'advanced' tab and in
the bottom box ('Customized virtual host general settings') add a
line:
Alias /sf /home/sfproject/lib/vendor/symfony/data/web/sf
click 'apply' and MAMP should restart the Apache and MySQL servers -
if it doesn't you'll have to do it yourself.
Does this work?
cheers,
Tony.
On Jul 26, 10:52 pm, Eno <[email protected]> wrote:
> On Mon, 26 Jul 2010, Ted wrote:
> > I'm new to sf. I've spent days messing with the MAMP based apache
> > config. I can successfully get the project created page but not with
> > images. Docs only say "f you see no image in this page, you may need
> > to configure your web server so that it gains access to the
> > symfony_data/web/sf/ directory". I've tried every conceivable
> > iteration of the apache conf info at the bottom of this note. Also
> > tried matching file system perms to the same as the text php files
> > that do work (user=me, group=admin) in the dir where the images and
> > css live (/home/sfproject/lib/vendor/symfony/data/web/sf)but no
> > luck. I just can't look at it any more...yeah sorry for the
> > dramtics, but it's making me crazy. Thanks for any help in
> > advance....
>
> Correct me if Im wrong, but does MAMP allow you to edit the vhost
> directly? Or should the Alias directive work inside your .htaccess file?
>
> (You need to restart Apache after too).
>
> --
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en