Re: Nothing Displayed when browse http://localhost/reviews
Hi Christian, If you are referring to /var/www/reviews.starcite.com/conf, there are 4 files as following - apache-fastcgi.conf search-cron.conf settings_local.py settings_local.pyc How can i use them in Apache configuration? And the following are the /etc/apache2/httpd.conf - If you find any error, just let me know. Thnak you very much # # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See URL:http://httpd.apache.org/docs/2.2 for detailed information. # In particular, see # URL:http://httpd.apache.org/docs/2.2/mod/directives.html # for a discussion of each configuration directive. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with / (or drive:/ for Win32), the # server will use that explicit path. If the filenames do *not* begin # with /, the value of ServerRoot is prepended -- so /var/log/ apache2/foo.log # with ServerRoot set to /usr will be interpreted by the # server as /usr//var/log/apache2/foo.log. # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # Do not add a slash at the end of the directory path. If you point # ServerRoot at a non-local disk, be sure to point the LockFile directive # at a local disk. If you wish to share the same ServerRoot for multiple # httpd daemons, you will need to change at least LockFile and PidFile. # ServerRoot /usr # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the VirtualHost # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses. # #Listen 12.34.56.78:80 Listen 80 # # Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Statically compiled modules (those listed by `httpd -l') do not need # to be loaded here. # # Example: # LoadModule foo_module modules/mod_foo.so # LoadModule authn_file_module lib/apache2/mod_authn_file.so LoadModule authn_dbm_module lib/apache2/mod_authn_dbm.so LoadModule authn_anon_module lib/apache2/mod_authn_anon.so LoadModule authn_dbd_module lib/apache2/mod_authn_dbd.so LoadModule authn_default_module lib/apache2/mod_authn_default.so LoadModule authz_host_module lib/apache2/mod_authz_host.so LoadModule authz_groupfile_module lib/apache2/mod_authz_groupfile.so LoadModule authz_user_module lib/apache2/mod_authz_user.so LoadModule authz_dbm_module lib/apache2/mod_authz_dbm.so LoadModule authz_owner_module lib/apache2/mod_authz_owner.so LoadModule authz_default_module lib/apache2/mod_authz_default.so LoadModule auth_basic_module lib/apache2/mod_auth_basic.so LoadModule auth_digest_module lib/apache2/mod_auth_digest.so LoadModule dbd_module lib/apache2/mod_dbd.so LoadModule dumpio_module lib/apache2/mod_dumpio.so LoadModule ext_filter_module lib/apache2/mod_ext_filter.so LoadModule include_module lib/apache2/mod_include.so LoadModule filter_module lib/apache2/mod_filter.so LoadModule deflate_module lib/apache2/mod_deflate.so LoadModule log_config_module lib/apache2/mod_log_config.so LoadModule log_forensic_module lib/apache2/mod_log_forensic.so LoadModule logio_module lib/apache2/mod_logio.so LoadModule env_module lib/apache2/mod_env.so LoadModule mime_magic_module lib/apache2/mod_mime_magic.so LoadModule cern_meta_module lib/apache2/mod_cern_meta.so LoadModule expires_module lib/apache2/mod_expires.so LoadModule headers_module lib/apache2/mod_headers.so LoadModule ident_module lib/apache2/mod_ident.so LoadModule usertrack_module lib/apache2/mod_usertrack.so LoadModule unique_id_module lib/apache2/mod_unique_id.so LoadModule setenvif_module lib/apache2/mod_setenvif.so LoadModule version_module lib/apache2/mod_version.so LoadModule proxy_module lib/apache2/mod_proxy.so LoadModule proxy_connect_module lib/apache2/mod_proxy_connect.so LoadModule proxy_ftp_module lib/apache2/mod_proxy_ftp.so LoadModule proxy_http_module lib/apache2/mod_proxy_http.so LoadModule proxy_ajp_module lib/apache2/mod_proxy_ajp.so LoadModule proxy_balancer_module lib/apache2/mod_proxy_balancer.so LoadModule ssl_module lib/apache2/mod_ssl.so LoadModule mime_module lib/apache2/mod_mime.so LoadModule dav_module lib/apache2/mod_dav.so LoadModule status_module lib/apache2/mod_status.so LoadModule autoindex_module lib/apache2/mod_autoindex.so LoadModule asis_module lib/apache2/mod_asis.so LoadModule info_module lib/apache2/mod_info.so LoadModule cgi_module lib/apache2/mod_cgi.so LoadModule
Re: Nothing Displayed when browse http://localhost/reviews
Hi Christian, Thank you very much. I read http://www.review-board.org/docs/GettingStarted for hundreds of times, but still met lots of issues. :) so, i still have some issues (1) i cannot find any folder named sites-enabled under /etc/apache2/. Any idea? how can i do in this case? (2) you mentioned remove your existing Apache config, you mean remove all contents of the folder /etc/apache2/? Or just httpd.conf? Thank you very much. On Feb 3, 9:01 am, Christian Hammond chip...@chipx86.com wrote: You need to remove your existing Apache config for this directory and use the apache-fastcgi.conf from the conf directory. I strongly recommend using mod_python instead of fastcgi, though (which would require that you nuke that directory and re-run rb-site install). We've seen some bad memory issues with fastcgi + apache + django. You should rename the resulting apache-whatever.conf file too reviews.starcite.com.conf and put it in your apache2/sites-enabled directory, if you have it. I recommend readinghttp://www.review-board.org/docs/GettingStarted, since it goes over all this. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Mon, Feb 2, 2009 at 4:53 PM, Justin Chen justin.chen@gmail.comwrote: Hi Christian, If you are referring to /var/www/reviews.starcite.com/conf, there are 4 files as following - apache-fastcgi.conf search-cron.conf settings_local.py settings_local.pyc --~--~-~--~~~---~--~~ 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: Nothing Displayed when browse http://localhost/reviews
Hi Christian, I did the changes as your mentioned. Then i met another issue- $ /usr/sbin/apachectl2 start Syntax error on line 10 of /etc/apache2/conf.d/ reviews.starcite.com.conf: Invalid command 'PythonPath', perhaps misspelled or defined by a module not incl uded in the server configuration Any idea? On Feb 3, 10:59 am, Christian Hammond chip...@chipx86.com wrote: Hi Justin. 1) The sites-enabled seems to be specific to certain distros. What you could do then is just copy the contents directly into httpd.conf (unless there's a conf.d directory, in which case put it there). 2) Sorry, I should have been more clear. I meant just the section you added referencing the new site, along with the DocumentRoot. Unlike with normal file-based sites (such as sites using PHP), Django (which Review Board uses) defines all the URLs and what each URL points to inside the process, which is launched by fastcgi or mod_python. So all pages are rendered inside the process, meaning we don't need anything in htdocs except for media files (which we serve statically so we don't have to process it with our software). I'm slowly, when I get the time, working on better installation/admin docs for Review Board. I'm hoping to have these available for beta 1. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Mon, Feb 2, 2009 at 6:55 PM, Justin Chen justin.chen@gmail.comwrote: Hi Christian, Thank you very much. I read http://www.review-board.org/docs/GettingStarted for hundreds of times, but still met lots of issues. :) so, i still have some issues (1) i cannot find any folder named sites-enabled under /etc/apache2/. Any idea? how can i do in this case? (2) you mentioned remove your existing Apache config, you mean remove all contents of the folder /etc/apache2/? Or just httpd.conf? Thank you very much. On Feb 3, 9:01 am, Christian Hammond chip...@chipx86.com wrote: You need to remove your existing Apache config for this directory and use the apache-fastcgi.conf from the conf directory. I strongly recommend using mod_python instead of fastcgi, though (which would require that you nuke that directory and re-run rb-site install). We've seen some bad memory issues with fastcgi + apache + django. You should rename the resulting apache-whatever.conf file too reviews.starcite.com.conf and put it in your apache2/sites-enabled directory, if you have it. I recommend readinghttp://www.review-board.org/docs/GettingStarted, since it goes over all this. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Mon, Feb 2, 2009 at 4:53 PM, Justin Chen justin.chen@gmail.com wrote: Hi Christian, If you are referring to /var/www/reviews.starcite.com/conf, there are 4 files as following - apache-fastcgi.conf search-cron.conf settings_local.py settings_local.pyc --~--~-~--~~~---~--~~ 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: Nothing Displayed when browse http://localhost/reviews
Okay, the problem then is that you don't have the mod_python module installed or configured. Which distro is this? You probably just need to download and install the right package. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Mon, Feb 2, 2009 at 7:27 PM, Justin Chen justin.chen@gmail.comwrote: Hi Christian, I did the changes as your mentioned. Then i met another issue- $ /usr/sbin/apachectl2 start Syntax error on line 10 of /etc/apache2/conf.d/ reviews.starcite.com.conf: Invalid command 'PythonPath', perhaps misspelled or defined by a module not incl uded in the server configuration Any idea? On Feb 3, 10:59 am, Christian Hammond chip...@chipx86.com wrote: Hi Justin. 1) The sites-enabled seems to be specific to certain distros. What you could do then is just copy the contents directly into httpd.conf (unless there's a conf.d directory, in which case put it there). 2) Sorry, I should have been more clear. I meant just the section you added referencing the new site, along with the DocumentRoot. Unlike with normal file-based sites (such as sites using PHP), Django (which Review Board uses) defines all the URLs and what each URL points to inside the process, which is launched by fastcgi or mod_python. So all pages are rendered inside the process, meaning we don't need anything in htdocs except for media files (which we serve statically so we don't have to process it with our software). I'm slowly, when I get the time, working on better installation/admin docs for Review Board. I'm hoping to have these available for beta 1. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Mon, Feb 2, 2009 at 6:55 PM, Justin Chen justin.chen@gmail.com wrote: Hi Christian, Thank you very much. I read http://www.review-board.org/docs/GettingStarted for hundreds of times, but still met lots of issues. :) so, i still have some issues (1) i cannot find any folder named sites-enabled under /etc/apache2/. Any idea? how can i do in this case? (2) you mentioned remove your existing Apache config, you mean remove all contents of the folder /etc/apache2/? Or just httpd.conf? Thank you very much. On Feb 3, 9:01 am, Christian Hammond chip...@chipx86.com wrote: You need to remove your existing Apache config for this directory and use the apache-fastcgi.conf from the conf directory. I strongly recommend using mod_python instead of fastcgi, though (which would require that you nuke that directory and re-run rb-site install). We've seen some bad memory issues with fastcgi + apache + django. You should rename the resulting apache-whatever.conf file too reviews.starcite.com.conf and put it in your apache2/sites-enabled directory, if you have it. I recommend readinghttp://www.review-board.org/docs/GettingStarted, since it goes over all this. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Mon, Feb 2, 2009 at 4:53 PM, Justin Chen justin.chen@gmail.com wrote: Hi Christian, If you are referring to /var/www/reviews.starcite.com/conf, there are 4 files as following - apache-fastcgi.conf search-cron.conf settings_local.py settings_local.pyc --~--~-~--~~~---~--~~ 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: Nothing Displayed when browse http://localhost/reviews
I am trying to use ReviewBoard under cygwin environment. It seems i cannot install mod_python module for apache under cygwin environment. Did anyone ever successfully install ReviewBoard under cygwin? Thanks On Feb 3, 11:28 am, Christian Hammond chip...@chipx86.com wrote: Okay, the problem then is that you don't have the mod_python module installed or configured. Which distro is this? You probably just need to download and install the right package. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Mon, Feb 2, 2009 at 7:27 PM, Justin Chen justin.chen@gmail.comwrote: Hi Christian, I did the changes as your mentioned. Then i met another issue- $ /usr/sbin/apachectl2 start Syntax error on line 10 of /etc/apache2/conf.d/ reviews.starcite.com.conf: Invalid command 'PythonPath', perhaps misspelled or defined by a module not incl uded in the server configuration Any idea? On Feb 3, 10:59 am, Christian Hammond chip...@chipx86.com wrote: Hi Justin. 1) The sites-enabled seems to be specific to certain distros. What you could do then is just copy the contents directly into httpd.conf (unless there's a conf.d directory, in which case put it there). 2) Sorry, I should have been more clear. I meant just the section you added referencing the new site, along with the DocumentRoot. Unlike with normal file-based sites (such as sites using PHP), Django (which Review Board uses) defines all the URLs and what each URL points to inside the process, which is launched by fastcgi or mod_python. So all pages are rendered inside the process, meaning we don't need anything in htdocs except for media files (which we serve statically so we don't have to process it with our software). I'm slowly, when I get the time, working on better installation/admin docs for Review Board. I'm hoping to have these available for beta 1. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Mon, Feb 2, 2009 at 6:55 PM, Justin Chen justin.chen@gmail.com wrote: Hi Christian, Thank you very much. I read http://www.review-board.org/docs/GettingStarted for hundreds of times, but still met lots of issues. :) so, i still have some issues (1) i cannot find any folder named sites-enabled under /etc/apache2/. Any idea? how can i do in this case? (2) you mentioned remove your existing Apache config, you mean remove all contents of the folder /etc/apache2/? Or just httpd.conf? Thank you very much. On Feb 3, 9:01 am, Christian Hammond chip...@chipx86.com wrote: You need to remove your existing Apache config for this directory and use the apache-fastcgi.conf from the conf directory. I strongly recommend using mod_python instead of fastcgi, though (which would require that you nuke that directory and re-run rb-site install). We've seen some bad memory issues with fastcgi + apache + django. You should rename the resulting apache-whatever.conf file too reviews.starcite.com.conf and put it in your apache2/sites-enabled directory, if you have it. I recommend readinghttp://www.review-board.org/docs/GettingStarted, since it goes over all this. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Mon, Feb 2, 2009 at 4:53 PM, Justin Chen justin.chen@gmail.com wrote: Hi Christian, If you are referring to /var/www/reviews.starcite.com/conf, there are 4 files as following - apache-fastcgi.conf search-cron.conf settings_local.py settings_local.pyc --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---