Re: Problem after installing RB 1.0 - Images and CSSs not working

2012-07-19 Thread shravanthi s
I have a similar issue. Is it possible to run one Review Board instance in 
root folder(www.example.com) and another instance in sub folder? 
(www.example.com/reviews)?
When i installed in sub folder, root instance doesnt seem to work. Also I 
tried installing two instances as
www.example.com/rb1
www.example.com/rb2

I change the ssl.cong file as we are using ssl certificate
It is as shown below.

VirtualHost _default_:443

# General setup for the virtual host, inherited from global configuration

ServerName imgreviewboard.isus.emc.com
DocumentRoot /var/www/ReviewBoardSites/ReviewBoard-ITOPS/htdocs

# Error handlers
ErrorDocument 500 /errordocs/500.html

WSGIPassAuthorization On
WSGIScriptAlias /ITOPS 
/var/www/ReviewBoardSites/ReviewBoard-ITOPS/htdocs/reviewboard.wsgi/ITOPS
WSGIScriptAlias /itops 
/var/www/ReviewBoardSites/ReviewBoard-ITOPS/htdocs/reviewboard.wsgi/ITOPS



Directory /var/www/ReviewBoardSites/ReviewBoard-ITOPS/htdocs
AllowOverride All
Options -Indexes FollowSymLinks
Allow from all
/Directory

# Alias static media requests to filesystem
Alias /ITOPS/media 
/var/www/ReviewBoardSites/ReviewBoard-ITOPS/htdocs/media
Alias /ITOPS/errordocs 
/var/www/ReviewBoardSites/ReviewBoard-ITOPS/htdocs/errordocs
Alias /ITOPS/favicon.ico 
/var/www/ReviewBoardSites/ReviewBoard-ITOPS/htdocs/media/rbcommons/images/favicon.png

DocumentRoot /var/www/ReviewBoardSites/ReviewBoard-Prosphere/htdocs

# Error handlers
ErrorDocument 500 /errordocs/500.html

WSGIPassAuthorization On
WSGIScriptAlias /ProSphere 
/var/www/ReviewBoardSites/ReviewBoard-Prosphere/htdocs/reviewboard.wsgi/Prosphere
WSGIScriptAlias /prosphere 
/var/www/ReviewBoardSites/ReviewBoard-Prosphere/htdocs/reviewboard.wsgi/Prosphere



Directory /var/www/ReviewBoardSites/ReviewBoard-Prosphere/htdocs
AllowOverride All
Options -Indexes FollowSymLinks
Allow from all
/Directory

# Alias static media requests to filesystem
Alias /Prosphere/media 
/var/www/ReviewBoardSites/ReviewBoard-Prosphere/htdocs/media
Alias /Prosphere/errordocs 
/var/www/ReviewBoardSites/ReviewBoard-Prosphere/htdocs/errordocs
Alias /Prosphere/favicon.ico 
/var/www/ReviewBoardSites/ReviewBoard-Prosphere/htdocs/media/rbcommons/images/favicon.png

After i did the changes mentioned above, only one of the instances work 
while the other doesnt. Is it because i am giving two directory roots in 
ssl.conf file?

Also in httpd.conf file has 
Include conf.d/*.conf

One instance works fine while other instance gives 404: Page does not exist 
error.

 Please help me out!

On Wednesday, 24 June 2009 06:25:34 UTC+5:30, angeliti wrote:

 Hello! 

 I'm trying to set up Review Board on Windows7 using the instructions 
 in this webpage: 
 http://waveydavey.wordpress.com/home/computing/installing-review-board-10-alpha-2-on-windows-for-perforce/
  

 Everything goes smoothly during the installation, but when I open my 
 browser to access Review Board, all its web pages are displayed 
 without images or format, that is, just plain text. It looks like 
 there is some kind of problem loading CSSs and images... 

 I'm using Apache, MySQL and modpython. I've installed Review Board in 
 C:\www\reviewboard and the end of my httpd.conf file is this: 

 VirtualHost *:8082 
 ServerName AALEGRE-TEST1 
 DocumentRoot c:/www/reviewboard/htdocs 

 # Error handlers 
 ErrorDocument 500 /errordocs/500.html 

 # Serve django pages 
 Location / 
 PythonPath ['c:/www/reviewboard/conf'] + sys.path 
 SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings 
 SetEnv PYTHON_EGG_CACHE c:/www/reviewboard/tmp/egg_cache 
 SetHandler mod_python 
 PythonHandler django.core.handlers.modpython 
 PythonAutoReload Off 
 PythonDebug Off 
 # Used to run multiple mod_python sites in the same apache 
 PythonInterpreter reviewboard_reviewboard 
 /Location 

 # Serve static media without running it through mod_python 
 # (overrides the above) 
 Location /media 
 SetHandler None 
 /Location 
 Location /errordocs 
 SetHandler None 
 /Location 

 Directory c:/www/reviewboard/htdocs 
 Options Indexes FollowSymLinks 
 AllowOverride None 
 Order allow,deny 
 Allow from all 
 /Directory 

 # Alias static media requests to filesystem 
 Alias /media c:/www/reviewboard/htdocs/media 
 Alias /errordocs c:/www/reviewboard/htdocs/errordocs 
 /VirtualHost 


 Review Board itself is working, it's only that it looks very very ugly 
 without format or images! 

 Thank you very much! 
 Angel.- 


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/

Re: Problem after installing RB 1.0 - Images and CSSs not working

2009-06-24 Thread dave

I also wanted to say thanks as I was having this exact issue this
morning.

On Jun 23, 9:54 pm, angeliti angel...@gmail.com wrote:
 That was exactly the problem =)

 Thank you SO much for your help, Chris!!
 Angel.-

 On Jun 23, 6:51 pm, Christian Hammond chip...@chipx86.com wrote:



  Ohh I just realized, you're using a site root of /reviewboard/. And the
  Apache configuration is using a site root of /.

  You need to change the Location and Alias directives to reference
  /reviewboard/media and /reviewboard/errordocs instead of /media and
  /errordocs.

  Change that and see if it works better.

  Christian

  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.review-board.org
  VMware, Inc. -http://www.vmware.com

  On Tue, Jun 23, 2009 at 6:32 PM, Christian Hammond 
  chip...@chipx86.comwrote:

   Everything looks sane as far as I can tell. I wonder if this is something
   odd with Windows 7 (permissions somehow?)

   Can you also attach your entire httpd.conf (or e-mail it to me directly if
   you feel more comfortable).

   Christian

   --
   Christian Hammond - chip...@chipx86.com
   Review Board -http://www.review-board.org
   VMware, Inc. -http://www.vmware.com

   On Tue, Jun 23, 2009 at 6:14 PM, angeliti angel...@gmail.com wrote:

   Hi Christian,

   Thanks for the fast answer.

   I used the configuration file generated by rb-site, but changed

   Directory c:/www/reviewboard/htdocs
                   AllowOverride All
   /Directory

   to

   Directory c:/www/reviewboard/htdocs
              Options Indexes FollowSymLinks
              AllowOverride None
              Order allow,deny
              Allow from all
          /Directory

   because I was getting Access Denied errors.

   The Apache error log says nothing, but the access.log file says this:

   23/Jun/2009:18:08:06 -0700] GET /reviewboard/account/login/ HTTP/1.1
   200 1238
   127.0.0.1 - - [23/Jun/2009:18:08:07 -0700] GET /reviewboard/media/rb/
  css/common.css?1245801653 HTTP/1.1 404 2653
   127.0.0.1 - - [23/Jun/2009:18:08:07 -0700] GET /reviewboard/media/rb/
  images/logo.png?1245801653 HTTP/1.1 404 2654

   If I go to MYSITE/media I get:

      * Log in
      * - Register
      * - Documentation
      * - Bugs
      * - Report bug

   Review Board
   1.0

      * All review requests
      * Groups
      * Submitters

   The page you were looking for does not exist.

   If you're pretty sure this page does exist, try logging in and trying
   again.

   Thank you!!
   Angel.-

   On Jun 23, 6:04 pm, Christian Hammond chip...@chipx86.com wrote:
Hi,

Did you use the configuration files generated by rb-site as a basis, or
   did
you use and modify the one from the website? They're probably mostly 
the
same, but it'll be good to know.

Do your Apache error logs say anything about /media pointing to the
   wrong
place? What do you see if you go to YOURSITE/media in your browser?

Christian

--
Christian Hammond - chip...@chipx86.com
Review Board -http://www.review-board.org
VMware, Inc. -http://www.vmware.com

On Tue, Jun 23, 2009 at 5:55 PM, angeliti angel...@gmail.com wrote:

 Hello!

 I'm trying to set up Review Board on Windows7 using the instructions
 in this webpage:
http://waveydavey.wordpress.com/home/computing/installing-review-boar.
   ..

 Everything goes smoothly during the installation, but when I open my
 browser to access Review Board, all its web pages are displayed
 withoutimagesor format, that is, just plain text. It looks like
 there is some kind of problem loading CSSs andimages...

 I'm using Apache, MySQL and modpython. I've installed Review Board in
 C:\www\reviewboard and the end of my httpd.conf file is this:

 VirtualHost *:8082
        ServerName AALEGRE-TEST1
        DocumentRoot c:/www/reviewboard/htdocs

        # Error handlers
        ErrorDocument 500 /errordocs/500.html

        # Serve django pages
        Location /
                PythonPath ['c:/www/reviewboard/conf'] + sys.path
                SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
                SetEnv PYTHON_EGG_CACHE
   c:/www/reviewboard/tmp/egg_cache
                SetHandler mod_python
                PythonHandler django.core.handlers.modpython
                PythonAutoReload Off
                PythonDebug Off
                # Used to run multiple mod_python sites in the same
   apache
                PythonInterpreter reviewboard_reviewboard
        /Location

        # Serve static media without running it through mod_python
        # (overrides the above)
        Location /media
                SetHandler None
        /Location
        Location /errordocs
                SetHandler None
        /Location

        Directory c:/www/reviewboard/htdocs
            Options Indexes FollowSymLinks
 

Re: Problem after installing RB 1.0 - Images and CSSs not working

2009-06-23 Thread angeliti

Hi Christian,

Thanks for the fast answer.

I used the configuration file generated by rb-site, but changed

Directory c:/www/reviewboard/htdocs
AllowOverride All
/Directory

to

Directory c:/www/reviewboard/htdocs
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
/Directory

because I was getting Access Denied errors.


The Apache error log says nothing, but the access.log file says this:

23/Jun/2009:18:08:06 -0700] GET /reviewboard/account/login/ HTTP/1.1
200 1238
127.0.0.1 - - [23/Jun/2009:18:08:07 -0700] GET /reviewboard/media/rb/
css/common.css?1245801653 HTTP/1.1 404 2653
127.0.0.1 - - [23/Jun/2009:18:08:07 -0700] GET /reviewboard/media/rb/
images/logo.png?1245801653 HTTP/1.1 404 2654


If I go to MYSITE/media I get:

* Log in
* - Register
* - Documentation
* - Bugs
* - Report bug

Review Board
1.0

* All review requests
* Groups
* Submitters

The page you were looking for does not exist.

If you're pretty sure this page does exist, try logging in and trying
again.


Thank you!!
Angel.-


On Jun 23, 6:04 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi,

 Did you use the configuration files generated by rb-site as a basis, or did
 you use and modify the one from the website? They're probably mostly the
 same, but it'll be good to know.

 Do your Apache error logs say anything about /media pointing to the wrong
 place? What do you see if you go to YOURSITE/media in your browser?

 Christian

 --
 Christian Hammond - chip...@chipx86.com
 Review Board -http://www.review-board.org
 VMware, Inc. -http://www.vmware.com

 On Tue, Jun 23, 2009 at 5:55 PM, angeliti angel...@gmail.com wrote:

  Hello!

  I'm trying to set up Review Board on Windows7 using the instructions
  in this webpage:
 http://waveydavey.wordpress.com/home/computing/installing-review-boar...

  Everything goes smoothly during the installation, but when I open my
  browser to access Review Board, all its web pages are displayed
  without images or format, that is, just plain text. It looks like
  there is some kind of problem loading CSSs and images...

  I'm using Apache, MySQL and modpython. I've installed Review Board in
  C:\www\reviewboard and the end of my httpd.conf file is this:

  VirtualHost *:8082
         ServerName AALEGRE-TEST1
         DocumentRoot c:/www/reviewboard/htdocs

         # Error handlers
         ErrorDocument 500 /errordocs/500.html

         # Serve django pages
         Location /
                 PythonPath ['c:/www/reviewboard/conf'] + sys.path
                 SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
                 SetEnv PYTHON_EGG_CACHE c:/www/reviewboard/tmp/egg_cache
                 SetHandler mod_python
                 PythonHandler django.core.handlers.modpython
                 PythonAutoReload Off
                 PythonDebug Off
                 # Used to run multiple mod_python sites in the same apache
                 PythonInterpreter reviewboard_reviewboard
         /Location

         # Serve static media without running it through mod_python
         # (overrides the above)
         Location /media
                 SetHandler None
         /Location
         Location /errordocs
                 SetHandler None
         /Location

         Directory c:/www/reviewboard/htdocs
             Options Indexes FollowSymLinks
             AllowOverride None
             Order allow,deny
             Allow from all
         /Directory

         # Alias static media requests to filesystem
         Alias /media c:/www/reviewboard/htdocs/media
         Alias /errordocs c:/www/reviewboard/htdocs/errordocs
  /VirtualHost

  Review Board itself is working, it's only that it looks very very ugly
  without format or images!

  Thank you very much!
  Angel.-

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Problem after installing RB 1.0 - Images and CSSs not working

2009-06-23 Thread Christian Hammond
Everything looks sane as far as I can tell. I wonder if this is something
odd with Windows 7 (permissions somehow?)

Can you also attach your entire httpd.conf (or e-mail it to me directly if
you feel more comfortable).

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Tue, Jun 23, 2009 at 6:14 PM, angeliti angel...@gmail.com wrote:


 Hi Christian,

 Thanks for the fast answer.

 I used the configuration file generated by rb-site, but changed

 Directory c:/www/reviewboard/htdocs
 AllowOverride All
 /Directory

 to

 Directory c:/www/reviewboard/htdocs
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
/Directory

 because I was getting Access Denied errors.


 The Apache error log says nothing, but the access.log file says this:

 23/Jun/2009:18:08:06 -0700] GET /reviewboard/account/login/ HTTP/1.1
 200 1238
 127.0.0.1 - - [23/Jun/2009:18:08:07 -0700] GET /reviewboard/media/rb/
 css/common.css?1245801653 HTTP/1.1 404 2653
 127.0.0.1 - - [23/Jun/2009:18:08:07 -0700] GET /reviewboard/media/rb/
 images/logo.png?1245801653 HTTP/1.1 404 2654


 If I go to MYSITE/media I get:

* Log in
* - Register
* - Documentation
* - Bugs
* - Report bug

 Review Board
 1.0

* All review requests
* Groups
* Submitters

 The page you were looking for does not exist.

 If you're pretty sure this page does exist, try logging in and trying
 again.


 Thank you!!
 Angel.-


 On Jun 23, 6:04 pm, Christian Hammond chip...@chipx86.com wrote:
  Hi,
 
  Did you use the configuration files generated by rb-site as a basis, or
 did
  you use and modify the one from the website? They're probably mostly the
  same, but it'll be good to know.
 
  Do your Apache error logs say anything about /media pointing to the wrong
  place? What do you see if you go to YOURSITE/media in your browser?
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.review-board.org
  VMware, Inc. -http://www.vmware.com
 
  On Tue, Jun 23, 2009 at 5:55 PM, angeliti angel...@gmail.com wrote:
 
   Hello!
 
   I'm trying to set up Review Board on Windows7 using the instructions
   in this webpage:
  http://waveydavey.wordpress.com/home/computing/installing-review-boar.
 ..
 
   Everything goes smoothly during the installation, but when I open my
   browser to access Review Board, all its web pages are displayed
   without images or format, that is, just plain text. It looks like
   there is some kind of problem loading CSSs and images...
 
   I'm using Apache, MySQL and modpython. I've installed Review Board in
   C:\www\reviewboard and the end of my httpd.conf file is this:
 
   VirtualHost *:8082
  ServerName AALEGRE-TEST1
  DocumentRoot c:/www/reviewboard/htdocs
 
  # Error handlers
  ErrorDocument 500 /errordocs/500.html
 
  # Serve django pages
  Location /
  PythonPath ['c:/www/reviewboard/conf'] + sys.path
  SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
  SetEnv PYTHON_EGG_CACHE
 c:/www/reviewboard/tmp/egg_cache
  SetHandler mod_python
  PythonHandler django.core.handlers.modpython
  PythonAutoReload Off
  PythonDebug Off
  # Used to run multiple mod_python sites in the same
 apache
  PythonInterpreter reviewboard_reviewboard
  /Location
 
  # Serve static media without running it through mod_python
  # (overrides the above)
  Location /media
  SetHandler None
  /Location
  Location /errordocs
  SetHandler None
  /Location
 
  Directory c:/www/reviewboard/htdocs
  Options Indexes FollowSymLinks
  AllowOverride None
  Order allow,deny
  Allow from all
  /Directory
 
  # Alias static media requests to filesystem
  Alias /media c:/www/reviewboard/htdocs/media
  Alias /errordocs c:/www/reviewboard/htdocs/errordocs
   /VirtualHost
 
   Review Board itself is working, it's only that it looks very very ugly
   without format or images!
 
   Thank you very much!
   Angel.-

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---