Re: Clean install of 1.6.1 serves up 404 error
Anton, you're correct, I'm using the SLES 11 SP1 Apache pretty much out of the box (but with the PHP, Python, Perl and Env modules enabled) and those settings came from apache2ctl (an alias for httpd?) -S -M . Sorry, Christian, should've been clearer about where they came from. Anton, I've moved the reviewboard.test.com.conf file from /etc/apache2/conf.d/ to /etc/apache2/vhosts.d/ where it obviously should be. I don't think that's made a difference though, httpd was clearly still correctle registering the virtual host. The Apache error_log is registering the following errors: [Thu Sep 22 04:39:55 2011] [error] [client 134.244.156.17] client denied by server configuration: /var/www/reviewboard.test.com/htdocs/ [Thu Sep 22 13:08:44 2011] [error] [client 134.244.156.17] client denied by server configuration: /var/www/reviewboard.test.com/htdocs/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] client denied by server configuration: /var/www/reviewboard.test.com/htdocs/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/rb, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 14:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/djblets, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/rb, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/djblets, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 14:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/djblets, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/rb, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/rb, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/rb, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 06:17:06 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/rb, referer: http://cpli6011.net.plm.eds.com/ Which, was sufficiently instructive that I managed to fix the issue by adding the bold lines to my reviewboard conf file: Directory /var/www/reviewboard.test.com/htdocs AllowOverride All *Options -Indexes FollowSymLinks **Allow from all* /Directory Anton, Christian, thanks for the help, I now have a new issue :) but I'll start another thread for that. Sandeep On Fri, Sep 23, 2011 at 4:10 AM, Anton Cohen an...@antoncohen.com wrote: On Thu, Sep 22, 2011 at 4:31 PM, Christian Hammond chip...@chipx86.com wrote: The logs keep referencing this HTTP_FORBIDDEN.html.var. This is not provided by us or by any listed config. There are at least 16 other .conf files included in the config. SUSE might have taken the idea of modular configs a little too far. My hunch is that this is somehow related to you having compiled your own Apache. Fortunately, I think he is using the version shipped with SLES 11, the settings probably came from something like httpd -V. Sandeep, Can you look at or provide the apache error logs, they are probably in /var/log/apache2. They should list what is causing the error. According to the httpd.conf provided, on SLES virtual host files belong in /etc/apache2/vhosts.d/. Try moving reviewboard.test.com.conf to /etc/apache2/vhosts.d/. -Anton -- 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/ -~--~~~~--~~--~--~--- 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 -- 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/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at
Re: Clean install of 1.6.1 serves up 404 error
Glad you figured that out. I'm making sure these settings will be added for new sites in 1.6.2+. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Fri, Sep 23, 2011 at 5:49 AM, Sandeep Tailor s.tai...@insysion.netwrote: Anton, you're correct, I'm using the SLES 11 SP1 Apache pretty much out of the box (but with the PHP, Python, Perl and Env modules enabled) and those settings came from apache2ctl (an alias for httpd?) -S -M . Sorry, Christian, should've been clearer about where they came from. Anton, I've moved the reviewboard.test.com.conf file from /etc/apache2/conf.d/ to /etc/apache2/vhosts.d/ where it obviously should be. I don't think that's made a difference though, httpd was clearly still correctle registering the virtual host. The Apache error_log is registering the following errors: [Thu Sep 22 04:39:55 2011] [error] [client 134.244.156.17] client denied by server configuration: /var/www/reviewboard.test.com/htdocs/ [Thu Sep 22 13:08:44 2011] [error] [client 134.244.156.17] client denied by server configuration: /var/www/reviewboard.test.com/htdocs/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] client denied by server configuration: /var/www/reviewboard.test.com/htdocs/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/rb, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 14:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/djblets, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/rb, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/djblets, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 14:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/djblets, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/rb, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/rb, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 06:17:04 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/rb, referer: http://cpli6011.net.plm.eds.com/ [Thu Sep 22 06:17:06 2011] [error] [client 134.244.156.17] Symbolic link not allowed or link target not accessible: /var/www/ reviewboard.test.com/htdocs/media/rb, referer: http://cpli6011.net.plm.eds.com/ Which, was sufficiently instructive that I managed to fix the issue by adding the bold lines to my reviewboard conf file: Directory /var/www/reviewboard.test.com/htdocs AllowOverride All *Options -Indexes FollowSymLinks **Allow from all* /Directory Anton, Christian, thanks for the help, I now have a new issue :) but I'll start another thread for that. Sandeep On Fri, Sep 23, 2011 at 4:10 AM, Anton Cohen an...@antoncohen.com wrote: On Thu, Sep 22, 2011 at 4:31 PM, Christian Hammond chip...@chipx86.com wrote: The logs keep referencing this HTTP_FORBIDDEN.html.var. This is not provided by us or by any listed config. There are at least 16 other .conf files included in the config. SUSE might have taken the idea of modular configs a little too far. My hunch is that this is somehow related to you having compiled your own Apache. Fortunately, I think he is using the version shipped with SLES 11, the settings probably came from something like httpd -V. Sandeep, Can you look at or provide the apache error logs, they are probably in /var/log/apache2. They should list what is causing the error. According to the httpd.conf provided, on SLES virtual host files belong in /etc/apache2/vhosts.d/. Try moving reviewboard.test.com.conf to /etc/apache2/vhosts.d/. -Anton -- 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/ -~--~~~~--~~--~--~--- 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 -- Want to help the Review Board
Re: Clean install of 1.6.1 serves up 404 error
Hi, The attachment doesn't tell me a lot. Are all pages giving you a 404? Can you show what URL you tried (you can mask out the host, but keep the structure intact)? Can you also provide your Apache configuration? Also, if you could temporary add the following to your {sitedir}/conf/settings_local.py and try again, and then provide that trace: DEBUG = True Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Sep 21, 2011 at 1:00 PM, insysion s.tai...@insysion.net wrote: So I decided to abandon trying to fix my Frankenstein Windows install managed to source a Linux (SUSE Enterprise Server 11.1) box on which to install. The install went reasonably well (significantly better than the clean install I tried on a Windows box) but I'm getting a 404 served by review board. All the images and formatting are broken too (see HTML archive attached). I thought it might be a permissions issues, but I'm pretty certain the relevant folders (/htdocs/media/uploaded and /data right?) belong to the same user as the Apache instance. And I'm kinda stuck for any other ideas. As usual, all help most appreciated. Sandeep -- 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/ -~--~~~~--~~--~--~--- 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 -- 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/ -~--~~~~--~~--~--~--- 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: Clean install of 1.6.1 serves up 404 error
Hi Christian, I was trying to access the root (http://cpli6011/) but all pages are giving me a 404 (e.g the Log in link http://cpli6011/account/login/?next_page=/error/HTTP_FORBIDDEN.html.var) Please find attached lots of Apache config/debug info plus the Traceback, as requested. The traceback is for the Log In link above. When I saw the URL patterns it's trying to match, I tried a selection, however I keep getting the traceback for http://cpli6011/account/login/?next_page=/error/HTTP_FORBIDDEN.html.var, even when I restart my Apache server. Thanks, Sandeep -- 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/ -~--~~~~--~~--~--~--- 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=enServer version: Apache/2.2.10 (Linux/SUSE) Server built: May 5 2010 14:32:30 Server's Module Magic Number: 20051115:20 Server loaded: APR 1.3.3, APR-Util 1.3.4 Compiled using: APR 1.3.3, APR-Util 1.3.4 Architecture: 64-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with -D APACHE_MPM_DIR=server/mpm/prefork -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT=/srv/www -D SUEXEC_BIN=/usr/sbin/suexec2 -D DEFAULT_PIDLOG=/var/run/httpd2.pid -D DEFAULT_SCOREBOARD=logs/apache_runtime_status -D DEFAULT_LOCKFILE=/var/run/accept.lock -D DEFAULT_ERRORLOG=/var/log/apache2/error_log -D AP_TYPES_CONFIG_FILE=/etc/apache2/mime.types -D SERVER_CONFIG_FILE=/etc/apache2/httpd.conf reviewboard.test.com.conf Description: Binary data Loaded Modules: core_module (static) mpm_prefork_module (static) http_module (static) so_module (static) authz_host_module (shared) actions_module (shared) alias_module (shared) auth_basic_module (shared) authz_groupfile_module (shared) authn_file_module (shared) authz_user_module (shared) autoindex_module (shared) cgi_module (shared) dir_module (shared) env_module (shared) include_module (shared) log_config_module (shared) mime_module (shared) negotiation_module (shared) setenvif_module (shared) status_module (shared) userdir_module (shared) asis_module (shared) imagemap_module (shared) php5_module (shared) perl_module (shared) python_module (shared) authz_default_module (shared) mono_module (shared) Syntax OKVirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: *:80 cpli6011.net.plm.eds.com (/etc/apache2/conf.d/reviewboard.test.com.conf:1) Syntax OK Page not found at -error-HTTP_FORBIDDEN_html_var.mht Description: Binary data httpd.conf Description: Binary data
Re: Clean install of 1.6.1 serves up 404 error
Hi, There's a couple red flags for me. The logs keep referencing this HTTP_FORBIDDEN.html.var. This is not provided by us or by any listed config. My hunch is that this is somehow related to you having compiled your own Apache. Which is the second red flag. I can't imagine any scenario where you would ever need to do that. I would strongly suggest you use a fresh distro install of something modern, with the packaged Apache and wsgi, and use that. If you're compiling any of this manually, you're doing things in an unnecessarily difficult way, and it is likely going to be the source of problems. Christian On Thursday, September 22, 2011, insysion s.tai...@insysion.net wrote: Hi Christian, I was trying to access the root (http://cpli6011/) but all pages are giving me a 404 (e.g the Log in link http://cpli6011/account/login/?next_page=/error/HTTP_FORBIDDEN.html.var) Please find attached lots of Apache config/debug info plus the Traceback, as requested. The traceback is for the Log In link above. When I saw the URL patterns it's trying to match, I tried a selection, however I keep getting the traceback for http://cpli6011/account/login/?next_page=/error/HTTP_FORBIDDEN.html.var, even when I restart my Apache server. Thanks, Sandeep -- 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/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com reviewboard%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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/ -~--~~~~--~~--~--~--- 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: Clean install of 1.6.1 serves up 404 error
Hi, There's a couple red flags for me. The logs keep referencing this HTTP_FORBIDDEN.html.var. This is not provided by us or by any listed config. My hunch is that this is somehow related to you having compiled your own Apache. Which is the second red flag. I can't imagine any scenario where you would ever need to do that. I would strongly suggest you use a fresh distro install of something modern, with the packaged Apache and wsgi, and use that. If you're compiling any of this manually, you're doing things in an unnecessarily difficult way, and it is likely going to be the source of problems. Christian On Thursday, September 22, 2011, insysion s.tai...@insysion.net wrote: Hi Christian, I was trying to access the root (http://cpli6011/) but all pages are giving me a 404 (e.g the Log in link http://cpli6011/account/login/?next_page=/error/HTTP_FORBIDDEN.html.var) Please find attached lots of Apache config/debug info plus the Traceback, as requested. The traceback is for the Log In link above. When I saw the URL patterns it's trying to match, I tried a selection, however I keep getting the traceback for http://cpli6011/account/login/?next_page=/error/HTTP_FORBIDDEN.html.var, even when I restart my Apache server. Thanks, Sandeep -- 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/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com reviewboard%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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/ -~--~~~~--~~--~--~--- 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: Clean install of 1.6.1 serves up 404 error
On Thu, Sep 22, 2011 at 4:31 PM, Christian Hammond chip...@chipx86.com wrote: The logs keep referencing this HTTP_FORBIDDEN.html.var. This is not provided by us or by any listed config. There are at least 16 other .conf files included in the config. SUSE might have taken the idea of modular configs a little too far. My hunch is that this is somehow related to you having compiled your own Apache. Fortunately, I think he is using the version shipped with SLES 11, the settings probably came from something like httpd -V. Sandeep, Can you look at or provide the apache error logs, they are probably in /var/log/apache2. They should list what is causing the error. According to the httpd.conf provided, on SLES virtual host files belong in /etc/apache2/vhosts.d/. Try moving reviewboard.test.com.conf to /etc/apache2/vhosts.d/. -Anton -- 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/ -~--~~~~--~~--~--~--- 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
Clean install of 1.6.1 serves up 404 error
So I decided to abandon trying to fix my Frankenstein Windows install managed to source a Linux (SUSE Enterprise Server 11.1) box on which to install. The install went reasonably well (significantly better than the clean install I tried on a Windows box) but I'm getting a 404 served by review board. All the images and formatting are broken too (see HTML archive attached). I thought it might be a permissions issues, but I'm pretty certain the relevant folders (/htdocs/media/uploaded and /data right?) belong to the same user as the Apache instance. And I'm kinda stuck for any other ideas. As usual, all help most appreciated. Sandeep -- 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/ -~--~~~~--~~--~--~--- 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 404 - Page Does Not Exist Review Board.mht Description: Binary data