The httpd.conf file has the line
Include conf.d/*.conf
And i have created a sym link ln -s /var/www/
mytest.example.com/conf/apache-wsgi.conf /etc/httpd/conf.d/reviewboard.
conf
The apache-wsgi.conf is as below :
<VirtualHost mytest.example.com:80>
ServerName mytest.example.com
DocumentRoot "/var/www/mytest.example.com/htdocs"
# Error handlers
ErrorDocument 500 /errordocs/500.html
WSGIPassAuthorization On
WSGIScriptAlias "/"
"/var/www/mytest.example.com/htdocs/reviewboard.wsgi/"
<Directory "/var/www/mytest.example.com/htdocs">
AllowOverride All
Options -Indexes +FollowSymLinks
Allow from all
</Directory>
# Prevent the server from processing or allowing the rendering of
# certain file types.
<Location "/media/uploaded">
SetHandler None
Options None
AddType text/plain .html .htm .shtml .php .php3 .php4 .php5
.phps .asp
AddType text/plain .pl .py .fcgi .cgi .phtml .phtm .pht
.jsp .sh .rb
<IfModule mod_php5.c>
php_flag engine off
</IfModule>
</Location>
# Alias static media requests to filesystem
Alias /media "/var/www/mytest.example.com/htdocs/media"
Alias /static "/var/www/mytest.example.com/htdocs/static"
Alias /errordocs "/var/www/mytest.example.com/htdocs/errordocs"
Alias /favicon.ico
"/var/www/mytest.example.com/htdocs/static/rb/images/favicon.png"
</VirtualHost>
On Thursday, 26 June 2014 21:23:34 UTC+5:30, shravanthi s wrote:
>
> I installed RB 2.0 version on a RHEL 6.5 . I installed all the pre
> requisites and created RB site and added the line in
> /etc/httpd/conf/httpd.conf
>
> Include /var/www/mytest.example.com/conf/apache-wsgi.conf
>
> Everything else in httpd.conf is default settings. But am only seeing the
> directory listing when i browse the website. Is there some other change in
> httpd.conf that i need to do? i have installed review board on another
> machine before (older version of course) and it did not need any further
> changes.
>
> Why am i seeing only directory listing when i browse the website? Should i
> change the document root or something?
>
>
>
>
--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.