There's no per-page files like with php. You need full access to the Apache
configuration, and you need mod_wsgi enabled. That module will load our
reviewboard.wsgi file, which will then handle all HTTP requests from that
URL on.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Tue, Mar 25, 2014 at 9:07 AM, morteza neishaboori <
morteza.neishabo...@gmail.com> wrote:

> I have exact same problem, I don't have any 000-default file in my apache
> configuration and When I browse I only see directory listing!
> I wonder where's the start file?
>
>
> On Tuesday, 25 March 2014 14:50:56 UTC+1, Alex Winter wrote:
>>
>> I dont believe I have a 000-default, I dont have a /var/www folder even.
>>
>> my apache is located in /usr/local/apache
>>
>> and yes I believe there are others sharing this. I have a
>> /MYUSER/www/reviewboard, /MYUSER/www/sheardynamics
>> going to the sheardynamics directory works
>> but when I try reviewboard I just see the directory listing.
>>
>> I do have a /home/cpeasyapache dont know if this is useful information to
>> help with this?
>>
>> And also system information is as follows maybe will be useful in helping
>> me?
>>
>> I am running CentOS 6.4 with CPanel.
>> Apache 2.2.26
>> Python 2.6 (But installed 2.7 so the mod_wsgi would work).
>>
>> Any ideas?
>>
>> On Tuesday, March 25, 2014 12:53:47 AM UTC-5, Alex Winter wrote:
>>>
>>> www.alexwinter.info/reviewboard
>>>
>>> As you can see it is only showing the directory I absolutely cannot
>>> figure this out.
>>>
>>> I upated the httpd.conf file and I included the mod_wsgi loading:
>>>
>>>
>>> LoadModule bwlimited_module modules/mod_bwlimited.so
>>> LoadModule bw_module modules/mod_bw.so
>>> LoadModule cloudflare_module modules/mod_cloudflare.so
>>> LoadModule ruid2_module modules/mod_ruid2.so
>>> LoadModule wsgi_module modules/mod_wsgi.so
>>>
>>> Include "/usr/local/apache/conf/php.conf"
>>> Include "/usr/local/apache/conf/mod_ruid2.conf"
>>> Include "/usr/local/apache/conf/mod_bandwidth.conf"
>>> Include "/usr/local/apache/conf/includes/errordocument.conf"
>>> Include "/usr/local/apache/conf/modsec2.conf"
>>> Include "/usr/local/apache/conf/pagespeed.conf"
>>> Include "/home/MYUSER/www/reviewboard/conf/apache-wsgi.conf"
>>>
>>> Here is the apache-wsgi.conf file I loaded above:
>>>
>>> <VirtualHost MYIP:80>
>>>         ServerName alexwinter.info
>>>         DocumentRoot "/home/MYUSER/www/reviewboard/htdocs"
>>>
>>>         # Error handlers
>>>         ErrorDocument 500 /errordocs/500.html
>>>
>>>         WSGIPassAuthorization On
>>>         WSGIScriptAlias "/reviewboard" "/home/MYUSER/www/reviewboard/
>>> htdocs/reviewboard.wsgi/reviewboard"
>>>
>>>         <Directory "/home/awinter/www/reviewboard/htdocs">
>>>                 AllowOverride All
>>>                 Options -Indexes +FollowSymLinks
>>>                 Allow from all
>>>         </Directory>
>>>
>>>         # Prevent the server from processing or allowing the rendering of
>>>         # certain file types.
>>>         <Location "/reviewboard/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 /reviewboard/media "/home/MYUSER/www/reviewboard/
>>> htdocs/media"
>>>         Alias /reviewboard/static "/home/MYUSER/www/reviewboard/
>>> htdocs/static"
>>>         Alias /reviewboard/errordocs "/home/MYUSER/www/reviewboard/
>>> htdocs/errordocs"
>>>         Alias /reviewboard/favicon.ico "/home/MYUSER/www/reviewboard/
>>> htdocs/static/rb/images/favicon.png"
>>> </VirtualHost>
>>>
>>>
>>> Any ideas from what I provided here? Let me know if you need more
>>> information.
>>>
>>> I completely stuck and could really use some help...
>>>
>>> Thanks!
>>>
>>  --
> 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 reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to