In your 'directory' block try......
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
--------------------
http://subimage.com
http://twitter.com/subimage
On Sun, Oct 21, 2012 at 10:50 PM, ashok reddy <
asho...@gmail.com> wrote:
> Hello ,
>
> I followed the install instructions using
>
https://github.com/rubyjedi/substruct
>
> However I wanted to use passenger with apache..
>
> SetEnv PATH
> /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/mysql/bin
> LoadModule passenger_module
> /home/storeapp/.rvm/gems/ree-1.8.7-2012.02/gems/passenger-3.0.17/ext/apache2/mod_passenger.so
> PassengerRoot
> /home/storeapp/.rvm/gems/ree-1.8.7-2012.02/gems/passenger-3.0.17
> PassengerRuby /home/storeapp/.rvm/wrappers/ree-1.8.7-2012.02/ruby
> <VirtualHost
192.168.1.10:80>
> ServerName
store.exbeta.com
> # !!! Be sure to point DocumentRoot to 'public'!
> DocumentRoot /home/storeapp/substruct/public
> RailsEnv production
> RailsBaseURI /
> <Directory /home/storeapp/substruct/public>
> # This relaxes Apache security settings.
> AllowOverride all
> # MultiViews must be turned off.
> Options -MultiViews
> </Directory>
> CustomLog /var/log/httpd/storesnew.exbeta.com-access_log common
> ErrorLog /var/log/httpd/storesnew.exbeta.com-error_log
> </VirtualHost>
>
> When I try accessing
store.exbeta.com it says access denied:
>
> apache logs:
>
> [Sun Oct 21 22:06:28 2012] [error] (13)Permission denied: access to
> /site_id.html denied
> [Sun Oct 21 22:06:28 2012] [error] (13)Permission denied: access to /
> denied
> [Sun Oct 21 22:07:13 2012] [error] (13)Permission denied: access to
> /site_id.html denied
>
> Can somebody please advise where to look and any changes required in virtual
> config?
>
> I even gave 775 to /home/storeapp/substruct -
>
> Thanks
> Ashok
>
> --
> You received this message because you are subscribed to the Google Groups
> "substruct" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/substruct/-/bUqB4YJ0yf8J.
> To post to this group, send email to
subs...@googlegroups.com.
> To unsubscribe from this group, send email to
>
substruct+...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/substruct?hl=en.