Re: Not able to access reviewboard site
Hi, I believe modifying Directory section should help. Someone should probably report bug for this. AllowOverride All Order allow,deny Allow from all On Mon, Dec 6, 2010 at 7:59 AM, shilpageo wrote: > Hi, > > I have installed reviewboard on my windows machine. But when I try to > access url it gives me following error: > The website declined to show this webpage > HTTP 403. > -- > Following are my apache-modpython.conf and httpd.conf files: > > apache-modpythonconf : > > # Error handlers > > ErrorDocument 500 /errordocs/500.html > > > > # Serve django pages > > > > PythonPath "['D:/reviews/conf'] + sys.path" > > SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings > > SetEnv PYTHON_EGG_CACHE "D:/reviews/tmp/egg_cache" > > SetEnv HOME "D:/reviews/data" > > 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_reviews > > > > > > # Serve static media without running it through mod_python > > # (overrides the above) > > > > SetHandler None > > > > > > SetHandler None > > > > > > > > AllowOverride All > > > > > > # Alias static media requests to filesystem > > Alias /reviews/media "D:/reviews/htdocs/media" > > Alias /reviews/errordocs "D:/reviews/htdocs/errordocs" > > - > > httpd.conf: > > # > # This is the main Apache HTTP server configuration file. It contains > the > # configuration directives that give the server its instructions. > # See http://httpd.apache.org/docs/2.2> for detailed information. > # In particular, see > # 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 "logs/foo.log" > # with ServerRoot set to "D:/Apache2.2" will be interpreted by the > # server as "D:/Apache2.2/logs/foo.log". > # > # NOTE: Where filenames are specified, you must use forward slashes > # instead of backslashes (e.g., "c:/apache" instead of "c:\apache"). > # If a drive letter is omitted, the drive on which httpd.exe is > located > # will be used by default. It is recommended that you always supply > # an explicit drive letter in absolute paths to avoid confusion. > > # > # 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 "D:/Apache2.2" > > # > # Listen: Allows you to bind Apache to specific IP addresses and/or > # ports, instead of the default. See also the > # 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 actions_module modules/mod_actions.so > LoadModule python_module modules/mod_python.so > LoadModule alias_module modules/mod_alias.so > LoadModule asis_module modules/mod_asis.so > LoadModule auth_basic_module modules/mod_auth_basic.so > #LoadModule auth_digest_module modules/mod_auth_digest.so > #LoadModule authn_alias_module modules/mod_authn_alias.so > #LoadModule authn_anon_module modules/mod_authn_anon.so > #LoadModule authn_dbd_module modules/mod_authn
Not able to access reviewboard site
Hi, I have installed reviewboard on my windows machine. But when I try to access url it gives me following error: The website declined to show this webpage HTTP 403. -- Following are my apache-modpython.conf and httpd.conf files: apache-modpythonconf : # Error handlers ErrorDocument 500 /errordocs/500.html # Serve django pages PythonPath "['D:/reviews/conf'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings SetEnv PYTHON_EGG_CACHE "D:/reviews/tmp/egg_cache" SetEnv HOME "D:/reviews/data" 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_reviews # Serve static media without running it through mod_python # (overrides the above) SetHandler None SetHandler None AllowOverride All # Alias static media requests to filesystem Alias /reviews/media "D:/reviews/htdocs/media" Alias /reviews/errordocs "D:/reviews/htdocs/errordocs" - httpd.conf: # # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See http://httpd.apache.org/docs/2.2> for detailed information. # In particular, see # 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 "logs/foo.log" # with ServerRoot set to "D:/Apache2.2" will be interpreted by the # server as "D:/Apache2.2/logs/foo.log". # # NOTE: Where filenames are specified, you must use forward slashes # instead of backslashes (e.g., "c:/apache" instead of "c:\apache"). # If a drive letter is omitted, the drive on which httpd.exe is located # will be used by default. It is recommended that you always supply # an explicit drive letter in absolute paths to avoid confusion. # # 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 "D:/Apache2.2" # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the # 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 actions_module modules/mod_actions.so LoadModule python_module modules/mod_python.so LoadModule alias_module modules/mod_alias.so LoadModule asis_module modules/mod_asis.so LoadModule auth_basic_module modules/mod_auth_basic.so #LoadModule auth_digest_module modules/mod_auth_digest.so #LoadModule authn_alias_module modules/mod_authn_alias.so #LoadModule authn_anon_module modules/mod_authn_anon.so #LoadModule authn_dbd_module modules/mod_authn_dbd.so #LoadModule authn_dbm_module modules/mod_authn_dbm.so LoadModule authn_default_module modules/mod_authn_default.so LoadModule authn_file_module modules/mod_authn_file.so #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so #LoadModule authz_dbm_module modules/mod_authz_dbm.so LoadModule authz_default_module modules/mod_authz_default.so LoadModule authz_groupfile_module modules/mod_authz_groupfile.so LoadModule authz_host_module modules/mod_authz_ho