They definitely should not trigger a HTTP 500 error. Apache, not Review
Board, is handling all requests under /static/. There should be some
information in the Apache error log stating what’s wrong.

Christian


On Sat, Feb 17, 2018 at 21:40 Koert Kuipers <ko...@tresata.com> wrote:

> So /static maps to /var/www/reviewboard/htdocs/static if i understand it
> correctly.
>
> I can find these files:
> /var/www/reviewboard/htdocs/static/rb/css/common.min.290ac1b4576d.css
>
> /var/www/reviewboard/htdocs/static/djblets/css/datagrid.min.c24e89898f28.css
> /var/www/reviewboard/htdocs/static/rb/images/logo.cc81d3ae01b2.png
>
> This is my reviewboard.conf for httpd:
>
> more /etc/httpd/sites-enabled/reviewboard.conf
> <VirtualHost *:80>
>     ServerName localhost
>     DocumentRoot "/var/www/reviewboard/htdocs"
>
>     # Error handlers
>     ErrorDocument 500 /errordocs/500.html
>
>     WSGIPassAuthorization On
>     WSGIScriptAlias "/" "/var/www/reviewboard/htdocs/reviewboard.wsgi/"
>
>     <Directory "/var/www/reviewboard/htdocs">
>         AllowOverride All
>         Options -Indexes +FollowSymLinks
>         Require all granted
>     </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>
>
>         # Force all uploaded media files to download.
>         <IfModule mod_headers.c>
>             Header set Content-Disposition "attachment"
>         </IfModule>
>     </Location>
>
>     # Alias static media requests to filesystem
>     Alias /media "/var/www/reviewboard/htdocs/media"
>     Alias /static "/var/www/reviewboard/htdocs/static"
>     Alias /errordocs "/var/www/reviewboard/htdocs/errordocs"
>     Alias /favicon.ico
> "/var/www/reviewboard/htdocs/static/rb/images/favicon.png"
> </VirtualHost>
>
>
>
> On Sunday, February 18, 2018 at 12:33:28 AM UTC-5, Koert Kuipers wrote:
>>
>> I see links like:
>>
>> <link href="/static/rb/css/common.min.290ac1b4576d.css" rel="stylesheet" 
>> type="text/css" />
>>
>> <link href="/static/djblets/css/datagrid.min.c24e89898f28.css" 
>> rel="stylesheet" type="text/css" />
>>
>> And for an image:
>>
>> <a href="/"><img id="logo" src="/static/rb/images/logo.cc81d3ae01b2.png" 
>> data-at2x="/static/rb/images/l...@2x.4e25cc3cacef.png" alt="" border="0" 
>> width="60" height="57" /></a>
>>
>> It seems all the links for /static do not work, when i click on them i get 
>> 500 errors.
>>
>> Other links seem OK.
>>
>> Best, Koert
>>
>> On Saturday, February 17, 2018 at 4:39:03 PM UTC-5, Christian Hammond
>> wrote:
>>>
>>> Can you view the source for a broken page and look for any lines saying:
>>>
>>>     <link rel=“stylesheet” ....>
>>>
>>> Paste a few of those here, and just generally see if the URL makes sense
>>> to you.
>>>
>>> Christian
>>>
>>>
>>> On Sat, Feb 17, 2018 at 13:04 Koert Kuipers <ko...@tresata.com> wrote:
>>>
>>>> Hi Christian,
>>>> This is actually a fresh install on a clean VM, not an upgrade.
>>>> However i did stop services, run "sb-site upgrade", and started
>>>> services again but it still looks the same.
>>>> Best, Koert
>>>>
>>>>
>>>>
>>>> On Saturday, February 17, 2018 at 5:09:50 AM UTC-5, Christian Hammond
>>>> wrote:
>>>>
>>>>> Hi Koert,
>>>>>
>>>>> Did you run 'rb-site upgrade' on the site directory after you
>>>>> upgraded? It sounds like the CSS and JavaScript aren't set up correctly.
>>>>>
>>>>> Christian
>>>>>
>>>> On Fri, Feb 16, 2018 at 9:39 PM, Koert Kuipers <ko...@tresata.com>
>>>>> wrote:
>>>>>
>>>> I have reviewboard 2.0.22 up and running by installing python packages
>>>>>> directly. We use it daily and its great.
>>>>>>
>>>>>> Today i tried to install ReviewBoard with yum instead from EPEL on
>>>>>> Centos 7. it seems straightforward and easy to install. The installed
>>>>>> version is ReviewBoard 2.5.16-1.el7
>>>>>>
>>>>>> I am using httpd 2.4 with wsgi as my webserver and mysql 5.6 for
>>>>>> database.
>>>>>>
>>>>>> However when i pull it up in Firefox the result isnt great. See
>>>>>> attached. Basically it looks like a website from the time when i used
>>>>>> mosaic. Its functioning though, i can log in as admin. Any idea what i 
>>>>>> did
>>>>>> wrong?
>>>>>>
>>>>>> Thanks! Koert
>>>>>>
>>>>>> --
>>>>>> Supercharge your Review Board with Power Pack:
>>>>>> https://www.reviewboard.org/powerpack/
>>>>>> Want us to host Review Board for you? Check out RBCommons:
>>>>>> https://rbcommons.com/
>>>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>>>> ---
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Review Board Community" group.
>>>>>>
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>>> an email to reviewboard...@googlegroups.com.
>>>>>
>>>>>
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Christian Hammond
>>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>>
>>>> --
>>>> Supercharge your Review Board with Power Pack:
>>>> https://www.reviewboard.org/powerpack/
>>>> Want us to host Review Board for you? Check out RBCommons:
>>>> https://rbcommons.com/
>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Review Board Community" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to reviewboard...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>>> --
>>> Christian Hammond
>>> President/CEO of Beanbag
>>> Makers of Review Board
>>>
>> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" 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.
>
-- 
-- 
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" 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