#enable ~user home directories.
<Directory /home/*/public_html>
    Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>
 
NameVirtualHost *:80
 
<VirtualHost *:80>
        ServerName kmcrheldev.unx.mycompany.com 
        ServerAdmin [email protected]
        DocumentRoot /var/www
        ErrorLog  /var/www/error.log
        CustomLog /var/www/access.log combined
</VirtualHost>
 
<VirtualHost *:80>
        ServerName oriongit.na.mycompany.com 
        ServerAdmin [email protected]
        DocumentRoot /home/git/gitorious/public
        XSendFile on  
        XSendFileAllowAbove on 
        ErrorLog  /var/www/errorgit.log
        CustomLog /var/www/accessgit.log combined
#customlog is good for awstats software
        <Directory /home/git/gitorious/public>
          AllowOverride all
          Options -MultiViews
        </Directory>
</VirtualHost>

On Thursday, July 12, 2012 2:23:16 PM UTC-4, Federico Don wrote:
>
> Could you paste /etc/httpd/conf/host.conf please?
>
> regards,
>
> 2012/7/12 Benjamin Lieb <[email protected]>
>
>> I checked, it works fine with passenger 3.0.13
>>
>> so, my /about and /contact links both give 404 errors... I assume this is 
>> still some kind of config issue.
>>
>> On Thursday, July 12, 2012 2:02:37 PM UTC-4, Federico Don wrote:
>>>
>>> You need this config on /etc/httpd/conf/httpd.conf if you have Passenger 
>>> 3.0.12:
>>>
>>> LoadModule passenger_module /opt/ruby-enterprise-1.8.7-**
>>> 2011.03/lib/ruby/gems/1.8/**gems/passenger-3.0.12/ext/**
>>> apache2/mod_passenger.so
>>>    PassengerRoot /opt/ruby-enterprise-1.8.7-**2011.03/lib/ruby/gems/1.8/
>>> **gems/passenger-3.0.12
>>>    PassengerRuby /opt/ruby-enterprise-1.8.7-**2011.03/bin/ruby
>>>
>>> You can try check this with: 
>>>
>>> #passenger --version
>>> Phusion Passenger version 3.0.12
>>>
>>> "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.
>>>
>>> and you need check the path:
>>>
>>> ls /opt/ruby-enterprise-1.8.7-**2011.03/lib/ruby/gems/1.8/**gems/*
>>>
>>> 2012/7/12 Benjamin Lieb <[email protected]>
>>>
>>>> the configtest returns ok... error log shows missing resources like
>>>>
>>>> gitorious/public/stylesheets/**gts-common.css
>>>>
>>>> and
>>>>
>>>> gitorious/public/javascripts/**lib/all.js
>>>>
>>>> I'm guessing this is something with the Passenger module.  I configured 
>>>> it in apache with these lines:
>>>>
>>>>    LoadModule passenger_module /opt/ruby-enterprise-1.8.7-**
>>>> 2011.03/lib/ruby/gems/1.8/**gems/passenger-3.0.13/ext/**
>>>> apache2/mod_passenger.so
>>>>    PassengerRoot /opt/ruby-enterprise-1.8.7-**
>>>> 2011.03/lib/ruby/gems/1.8/**gems/passenger-3.0.13
>>>>    PassengerRuby /opt/ruby-enterprise-1.8.7-**2011.03/bin/ruby
>>>>
>>>> I noticed that the version was higher on Passenger than in the demo... 
>>>> could that be something?
>>>>
>>>> On Thursday, July 12, 2012 1:46:15 PM UTC-4, Federico Don wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> you could try view on /var/log/httpd/error_log
>>>>>
>>>>> I configured my gitorious followed this howto, could you check Apache?
>>>>>
>>>>> /etc/init.d/httpd configtest
>>>>>
>>>>> Regards,
>>>>>
>>>>> 2012/7/12 Benjamin Lieb <[email protected]>
>>>>>
>>>>>> This should be easy, I followed all the steps from  
>>>>>> http://famousphil.com/blog/**201**1/06/installing-gitorious-**on-**
>>>>>> centos-5-6-x64/<http://famousphil.com/blog/2011/06/installing-gitorious-on-centos-5-6-x64/>
>>>>>>
>>>>>> but when I go to the website, it displays the apache welcome page.  I 
>>>>>> can view the 500.html error pages in the browser, so I know I have the 
>>>>>> apache directory configured correctly.  Where do I go to see a log to 
>>>>>> tell 
>>>>>> me what's wrong?
>>>>>>  
>>>>>> -- 
>>>>>> To post to this group, send email to [email protected]
>>>>>> To unsubscribe from this group, send email to
>>>>>> gitorious+unsubscribe@**googlegr**oups.com<gitorious%[email protected]>
>>>>>>
>>>>>
>>>>>  -- 
>>>> To post to this group, send email to [email protected]
>>>> To unsubscribe from this group, send email to
>>>> gitorious+unsubscribe@**googlegroups.com<gitorious%[email protected]>
>>>>
>>>
>>>  -- 
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>>
>
>

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to