and also run: php symfony project:permissions to set correct permissions on
the filesystem

On Fri, Apr 8, 2011 at 5:37 PM, Haris Fauzi <haris.fa...@gmail.com> wrote:

> Hi Alex,
>
> If you want to place your files under your HOME accessible to Apache, you
> have to give rx permission from / all the way down to the directory where
> you setup your DocumentRoot. If you install your symfony
> in /home/ahertz/sfprojects/jobeet/ then you need to give permission for
> apache to /home, /home/ahertz, /home/ahertz/sfprojects/
> and /home/ahertz/sfprojects/jobeet/.
> That's 0755 if you keep your current ownership. In time, you will see that
> the apache will need to write data to your local disk. You might want to
> change group ownership to apache and give write permission to group level to
> data/ cache/ and log/ under jobeet/ directory.
>
> If you disable SELinux completely then you don't need to run "chcon -R -t
> httpd_sys_content_t".
>
> As for the alias, if you want to access your jobeet under a directory, e.g.
> http://myserver/jobeet/ you'd need to modify web/.htaccess and change the
> line containing index.php to suit your alias:
> RewriteRule ^(.*)$ /jobeet/index.php [QSA,L]
> Otherwise, when you try to run the production environment it will complain
> about errors.
>
> Regards,
> Haris
>
> On 9 April 2011 00:59, Hertzy3 <hert...@gmail.com> wrote:
>
>> I am on day 1 of the Jobeet tutorial and already having issues.  I am
>> installing this on a virtualbox version of Fedora 14.  I installed
>> symfony in /home/ahertz/sfprojects/jobeet/.  I've gone through
>> everything step by step, and when I created the Virtualhost and tried
>> to access it from http://localhost:8080, I get Error 403 Forbidden.
>> You don't have permission to access / on this server.  I have looked
>> around, I disabled SELinux, I ran chcon -R -t httpd_sys_content_t on /
>> home/ahertz/sfprojects/jobeet/ and /home/ahertz/sfprojects/jobeet/
>> web/.  I made port 8080 trusted via TCP and UDP in the firewall.  I
>> made sure everything was chmod 775, even tried 777, I tried chown
>> apache:apache, and I have restarted apache in between all of these
>> steps (and reboots for selinux).  So to test, I went ahead and
>> installed symfony in /var/www/html/jobeet.  From here I was able to
>> see the Symfony page after creating the project, though none of the
>> images worked.  I couldnt get the Alias to work... so I created a
>> symbolic link in the /web root directory and that fixed it.  So
>> basically, I can get this to work on port 80 inside the /var/www/html
>> dir, but I can't get it to work when I follow the instructions to
>> place the installation in my /home directory.  Can someone help me
>> troubleshoot this?
>>
>> Thanks!
>>
>> Alex Hertz
>>
>> --
>> 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
>



-- 
-----------------------------------------------------------------
http://www.linkedin.com/in/justendoherty - LinkedIn
http://www.twitter.com/phpchap - Twitter
http://www.anotherwebdeveloper.com - Portfolio

-- 
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