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 virtualhost config?
I even gave 775 to /home/storeapp/substruct -
Thanks Ashok