Re: GettingStarted Apache2, Ubuntu Server 8.10

2009-01-05 Thread Ryan

I removed all the vhosts and enabled them back individually, I also
commented out the DocumentRoot on the reviewboard config and it
worked!

Well I have trac and reviews enabled..  I'll add the rest one by one
and find the error and post the results.

On Jan 6, 1:07 pm, "Christian Hammond"  wrote:
> You have a virtual host configuration that may be taking precedence. It' the
> one with a document root of /var/www/htdocs. Try commenting out the entire
> thing and see if that works.
>
> Also, I'm not seeing our supplied config anywhere in there. I don't see
> where Review Board's even referenced.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> VMware, Inc.
>
> On Mon, Jan 5, 2009 at 8:16 PM, Ryan  wrote:
>
> > Ok here we go :) (long one) first is apache.conf - second is default.
> > I think you're right though - it is something simple
>
> > --- apache.conf ---
>
> > #
> > # Based upon the NCSA server configuration files originally by Rob
> > McCool.
> > #
> > # This is the main Apache server configuration file.  It contains the
> > # configuration directives that give the server its instructions.
> > # Seehttp://httpd.apache.org/docs/2.2/for detailed information about
> > # the directives.
> > #
> > # 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.
> > #
> > # The configuration directives are grouped into three basic sections:
> > #  1. Directives that control the operation of the Apache server
> > process as a
> > #     whole (the 'global environment').
> > #  2. Directives that define the parameters of the 'main' or 'default'
> > server,
> > #     which responds to requests that aren't handled by a virtual
> > host.
> > #     These directives also provide default values for the settings
> > #     of all virtual hosts.
> > #  3. Settings for virtual hosts, which allow Web requests to be sent
> > to
> > #     different IP addresses or hostnames and have them handled by the
> > #     same Apache server process.
> > #
> > # 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 "" will be interpreted by the
> > # server as "//var/log/apache2/foo.log".
> > #
>
> > ### Section 1: Global Environment
> > #
> > # The directives in this section affect the overall operation of
> > Apache,
> > # such as the number of concurrent requests it can handle or where it
> > # can find its configuration files.
> > #
>
> > #
> > # ServerRoot: The top of the directory tree under which the server's
> > # configuration, error, and log files are kept.
> > #
> > # NOTE!  If you intend to place this on an NFS (or otherwise network)
> > # mounted filesystem then please read the LockFile documentation
> > (available
> > # at http://httpd.apache.org/docs-2.1/mod/
> > mpm_common.html#lockfile
> > >);
> > # you will save yourself a lot of trouble.
> > #
> > # Do NOT add a slash at the end of the directory path.
> > #
> > ServerRoot "/etc/apache2"
>
> > #
> > # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
> > #
> > #
> > #
> > LockFile /var/lock/apache2/accept.lock
> > #
> > #
>
> > #
> > # PidFile: The file in which the server should record its process
> > # identification number when it starts.
> > # This needs to be set in /etc/apache2/envvars
> > #
> > PidFile ${APACHE_PID_FILE}
>
> > #
> > # Timeout: The number of seconds before receives and sends time out.
> > #
> > Timeout 300
>
> > #
> > # KeepAlive: Whether or not to allow persistent connections (more than
> > # one request per connection). Set to "Off" to deactivate.
> > #
> > KeepAlive On
>
> > #
> > # MaxKeepAliveRequests: The maximum number of requests to allow
> > # during a persistent connection. Set to 0 to allow an unlimited
> > amount.
> > # We recommend you leave this number high, for maximum performance.
> > #
> > MaxKeepAliveRequests 100
>
> > #
> > # KeepAliveTimeout: Number of seconds to wait for the next request
> > from the
> > # same client on the same connection.
> > #
> > KeepAliveTimeout 15
>
> > ##
> > ## Server-Pool Size Regulation (MPM specific)
> > ##
>
> > # prefork MPM
> > # StartServers: number of server processes to start
> > # MinSpareServers: minimum number of server processes which are kept
> > spare
> > # MaxSpareServers: maximum number of server processes which are kept
> > spare
> > # MaxClients: maximum number of server processes allowed to start
> > # MaxRequestsPerChild: maximum number of requests a server process
> > serves
> > 
> >    StartServers          5
> >    MinSpareServe

Re: GettingStarted Apache2, Ubuntu Server 8.10

2009-01-05 Thread Ryan

Ok here we go :) (long one) first is apache.conf - second is default.
I think you're right though - it is something simple

--- apache.conf ---

#
# Based upon the NCSA server configuration files originally by Rob
McCool.
#
# This is the main Apache 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 about
# the directives.
#
# 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.
#
# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server
process as a
# whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default'
server,
# which responds to requests that aren't handled by a virtual
host.
# These directives also provide default values for the settings
# of all virtual hosts.
#  3. Settings for virtual hosts, which allow Web requests to be sent
to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# 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 "" will be interpreted by the
# server as "//var/log/apache2/foo.log".
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of
Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation
(available
# at http://httpd.apache.org/docs-2.1/mod/
mpm_common.html#lockfile>);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
ServerRoot "/etc/apache2"

#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
#
#
LockFile /var/lock/apache2/accept.lock
#
#

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
# This needs to be set in /etc/apache2/envvars
#
PidFile ${APACHE_PID_FILE}

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited
amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request
from the
# same client on the same connection.
#
KeepAliveTimeout 15

##
## Server-Pool Size Regulation (MPM specific)
##

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept
spare
# MaxSpareServers: maximum number of server processes which are kept
spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process
serves

StartServers  5
MinSpareServers   5
MaxSpareServers  10
MaxClients  150
MaxRequestsPerChild   0


# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept
spare
# MaxSpareThreads: maximum number of worker threads which are kept
spare
# ThreadsPerChild: constant number of worker threads in each server
process
# MaxRequestsPerChild: maximum number of requests a server process
serves

StartServers  2
MaxClients  150
MinSpareThreads  25
MaxSpareThreads  75
ThreadsPerChild  25
MaxRequestsPerChild   0


# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}

#
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives.  See also the AllowOverride
# directive.
#

AccessFileName .htaccess

#
# The following lines prevent .htaccess and .htpasswd files from
being
# viewed by Web clients.
#

Order allow,deny
Deny from all


#
# DefaultType is the default MIME type the server will use for a
document
# if it cannot otherwise determine one, such as from filename

Re: GettingStarted Apache2, Ubuntu Server 8.10

2009-01-05 Thread Christian Hammond
Can you paste your latest Apache config, and show me any errors from the
Apache log file that appear relevant?

It's probably something simple that just needs to be fixed.

Christian

-- 
Christian Hammond - chip...@chipx86.com
VMware, Inc.


On Mon, Jan 5, 2009 at 3:09 AM, Ryan  wrote:

>
> Hmm no luck on root/
>
> Hm what next... um
>
> reinstall apache python trac from scratch - urk -
>
> Any ideas?
>
> On Jan 3, 5:56 pm, "Christian Hammond"  wrote:
> > So I see a couple things that stand out.
> >
> > The first is the directory structure. I assume when you ran 'rb-site
> > install', you used /var/www/htdocs/reviews as the base? If so, it should
> > have a htdocs directory inside of it that your media and errordocs
> aliases
> > should point to.
> >
> > I'd recommend instead using /var/www/reviews as your install directory,
> as
> > in your second attempt.
> >
> > The second is this line:
> >
> > Alias /reviews "/var/www/htdocs/reviews/htdocs"
> >
> > The root of the Review Board site (in the URL) isn't actually a directory
> on
> > the system. By putting an Alias here, you're telling Apache to look in
> > htdocs for some kind of an index file. Instead, mod_python should be
> > handling this request. Try removing this Alias and see if it helps at
> all.
> >
> > It's best to use the existing configuration file as-is as much as
> possible,
> > since it's set up to work out of the box in most installs.
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > VMware, Inc.
> >
> > On Sat, Jan 3, 2009 at 1:33 AM, Ryan  wrote:
> >
> > > I followed the getting started guide.  Everything is running smoothly
> > > but I don't get any application running.
> >
> > > So my siteroot in apache is /var/www/htdocs
> >
> > > I configure it to /var/www/htdocs/reviews
> >
> > > go through the setup and set it to it's own IP 10.0.1.201, apache,
> > > file cache, mysql.  Database installs fine, everything goes smoothly.
> > > I change the ownership to www-data, added the conf file via a2ensite
> > > (same as ln -s).  mod_python is installed and running fine - I have
> > > trac on the same machine running fine.
> >
> > > When i visit 10.0.1.201/reviews it just shows the directories instead
> > > of running the application
> >
> > > I tried installing it down to /var/www/reviews and putting in an Alias
> > > and  and changing the conf file but I get file not
> > > found.
> >
> > > I think there is something wrong with apache somewhere or do I need to
> > > checkout the SVN files into some directory?  If so I thought rb-site
> > > is meant to grab the latest egg and run it from python-2.5/site-
> > > packages/ ?
> >
> > > review apache conf:
> >
> > > 
> > >ServerName 10.0.1.201
> > >DocumentRoot /var/www/htdocs/reviews/htdocs
> >
> > ># Error handlers
> > >ErrorDocument 500 /errordocs/500.html
> >
> > >Alias /reviews "/var/www/htdocs/reviews/htdocs"
> >
> > ># Serve django pages
> > >
> > >PythonPath "['/var/www/htdocs/reviews/conf'] +
> > > sys.path"
> > >SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
> > >SetHandler mod_python
> > >PythonHandler django.core.handlers.modpython
> > >PythonAutoReload Off
> > >PythonDebug On
> > ># 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
> > >
> >
> > ># Alias static media requests to filesystem
> > >Alias /media /var/www/htdocs/reviews/media
> > >Alias /errordocs /var/www/htdocs/reviews/errordocs
> > > 
> >
> > > Apache info:
> > > Apache/2.2.9 (Ubuntu) DAV/2 SVN/1.5.1 PHP/5.2.6-2ubuntu4 with Suhosin-
> > > Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g
> > > Server at 10.0.1.201 Port 80
> >
> > > My default Apache config:
> >
> > > 
> > >ServerName 10.0.1.201
> > >ServerAdmin webmas...@localhost
> >
> > >DocumentRoot /var/www/htdocs
> > >
> > >Options FollowSymLinks -Indexes
> > >AllowOverride None
> > >
> >
> > >
> > >Options FollowSymLinks MultiViews +Indexes
> > >AllowOverride None
> > >Order allow,deny
> > >allow from all
> > >AddHandler mod_python .py
> > >PythonHandler mod_python.publisher
> > >PythonDebug On
> > >
> >
> > >ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
> > >
> > >AllowOverride None
> > >Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
> > > 

Re: GettingStarted Apache2, Ubuntu Server 8.10

2009-01-05 Thread Ryan

Hmm no luck on root/

Hm what next... um

reinstall apache python trac from scratch - urk -

Any ideas?

On Jan 3, 5:56 pm, "Christian Hammond"  wrote:
> So I see a couple things that stand out.
>
> The first is the directory structure. I assume when you ran 'rb-site
> install', you used /var/www/htdocs/reviews as the base? If so, it should
> have a htdocs directory inside of it that your media and errordocs aliases
> should point to.
>
> I'd recommend instead using /var/www/reviews as your install directory, as
> in your second attempt.
>
> The second is this line:
>
>     Alias /reviews "/var/www/htdocs/reviews/htdocs"
>
> The root of the Review Board site (in the URL) isn't actually a directory on
> the system. By putting an Alias here, you're telling Apache to look in
> htdocs for some kind of an index file. Instead, mod_python should be
> handling this request. Try removing this Alias and see if it helps at all.
>
> It's best to use the existing configuration file as-is as much as possible,
> since it's set up to work out of the box in most installs.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> VMware, Inc.
>
> On Sat, Jan 3, 2009 at 1:33 AM, Ryan  wrote:
>
> > I followed the getting started guide.  Everything is running smoothly
> > but I don't get any application running.
>
> > So my siteroot in apache is /var/www/htdocs
>
> > I configure it to /var/www/htdocs/reviews
>
> > go through the setup and set it to it's own IP 10.0.1.201, apache,
> > file cache, mysql.  Database installs fine, everything goes smoothly.
> > I change the ownership to www-data, added the conf file via a2ensite
> > (same as ln -s).  mod_python is installed and running fine - I have
> > trac on the same machine running fine.
>
> > When i visit 10.0.1.201/reviews it just shows the directories instead
> > of running the application
>
> > I tried installing it down to /var/www/reviews and putting in an Alias
> > and  and changing the conf file but I get file not
> > found.
>
> > I think there is something wrong with apache somewhere or do I need to
> > checkout the SVN files into some directory?  If so I thought rb-site
> > is meant to grab the latest egg and run it from python-2.5/site-
> > packages/ ?
>
> > review apache conf:
>
> > 
> >        ServerName 10.0.1.201
> >        DocumentRoot /var/www/htdocs/reviews/htdocs
>
> >        # Error handlers
> >        ErrorDocument 500 /errordocs/500.html
>
> >        Alias /reviews "/var/www/htdocs/reviews/htdocs"
>
> >        # Serve django pages
> >        
> >                PythonPath "['/var/www/htdocs/reviews/conf'] +
> > sys.path"
> >                SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
> >                SetHandler mod_python
> >                PythonHandler django.core.handlers.modpython
> >                PythonAutoReload Off
> >                PythonDebug On
> >                # 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
> >        
>
> >        # Alias static media requests to filesystem
> >        Alias /media /var/www/htdocs/reviews/media
> >        Alias /errordocs /var/www/htdocs/reviews/errordocs
> > 
>
> > Apache info:
> > Apache/2.2.9 (Ubuntu) DAV/2 SVN/1.5.1 PHP/5.2.6-2ubuntu4 with Suhosin-
> > Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g
> > Server at 10.0.1.201 Port 80
>
> > My default Apache config:
>
> > 
> >        ServerName 10.0.1.201
> >        ServerAdmin webmas...@localhost
>
> >        DocumentRoot /var/www/htdocs
> >        
> >                Options FollowSymLinks -Indexes
> >                AllowOverride None
> >        
>
> >        
> >                Options FollowSymLinks MultiViews +Indexes
> >                AllowOverride None
> >                Order allow,deny
> >                allow from all
> >                AddHandler mod_python .py
> >                PythonHandler mod_python.publisher
> >                PythonDebug On
> >        
>
> >        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
> >        
> >                AllowOverride None
> >                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
> >                Order allow,deny
> >                Allow from all
> >        
>
> >        ErrorLog /var/log/apache2/error.log
>
> >        # Possible values include: debug, info, notice, warn, error, crit,
> >        # alert, emerg.
> >        LogLevel warn
>
> >        CustomLog /var/log/apache2/access.log combined
>
> >    Alias /doc/ "/usr/share/doc/"
> >    
> >        Options Indexes MultiViews FollowSymLinks
> >        AllowOverride None
> >        Order deny,allow
> >        Deny from all
> >        Allow from 127.0.0.0/255.0.0.0 ::1/128
> >    
>
> > 
>
> > Any hel

Re: GettingStarted Apache2, Ubuntu Server 8.10

2009-01-05 Thread Ryan

Hmm ok tried this but it's a no-go it's something outside of the
installation I think.

So I have it as default as rb-site made in /var/www/reviews

Either I have missed an installation step on python or django or
something, needless to say trac is working fine.

I want it to run off 10.0.1.201/reviews

or even 10.0.1.201/ is fine by me

python doesn't seem to recognise this as point to the egg.

I'll try #3 with creating it to / instead of /reviews

On Jan 3, 5:56 pm, "Christian Hammond"  wrote:
> So I see a couple things that stand out.
>
> The first is the directory structure. I assume when you ran 'rb-site
> install', you used /var/www/htdocs/reviews as the base? If so, it should
> have a htdocs directory inside of it that your media and errordocs aliases
> should point to.
>
> I'd recommend instead using /var/www/reviews as your install directory, as
> in your second attempt.
>
> The second is this line:
>
>     Alias /reviews "/var/www/htdocs/reviews/htdocs"
>
> The root of the Review Board site (in the URL) isn't actually a directory on
> the system. By putting an Alias here, you're telling Apache to look in
> htdocs for some kind of an index file. Instead, mod_python should be
> handling this request. Try removing this Alias and see if it helps at all.
>
> It's best to use the existing configuration file as-is as much as possible,
> since it's set up to work out of the box in most installs.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> VMware, Inc.
>
> On Sat, Jan 3, 2009 at 1:33 AM, Ryan  wrote:
>
> > I followed the getting started guide.  Everything is running smoothly
> > but I don't get any application running.
>
> > So my siteroot in apache is /var/www/htdocs
>
> > I configure it to /var/www/htdocs/reviews
>
> > go through the setup and set it to it's own IP 10.0.1.201, apache,
> > file cache, mysql.  Database installs fine, everything goes smoothly.
> > I change the ownership to www-data, added the conf file via a2ensite
> > (same as ln -s).  mod_python is installed and running fine - I have
> > trac on the same machine running fine.
>
> > When i visit 10.0.1.201/reviews it just shows the directories instead
> > of running the application
>
> > I tried installing it down to /var/www/reviews and putting in an Alias
> > and  and changing the conf file but I get file not
> > found.
>
> > I think there is something wrong with apache somewhere or do I need to
> > checkout the SVN files into some directory?  If so I thought rb-site
> > is meant to grab the latest egg and run it from python-2.5/site-
> > packages/ ?
>
> > review apache conf:
>
> > 
> >        ServerName 10.0.1.201
> >        DocumentRoot /var/www/htdocs/reviews/htdocs
>
> >        # Error handlers
> >        ErrorDocument 500 /errordocs/500.html
>
> >        Alias /reviews "/var/www/htdocs/reviews/htdocs"
>
> >        # Serve django pages
> >        
> >                PythonPath "['/var/www/htdocs/reviews/conf'] +
> > sys.path"
> >                SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
> >                SetHandler mod_python
> >                PythonHandler django.core.handlers.modpython
> >                PythonAutoReload Off
> >                PythonDebug On
> >                # 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
> >        
>
> >        # Alias static media requests to filesystem
> >        Alias /media /var/www/htdocs/reviews/media
> >        Alias /errordocs /var/www/htdocs/reviews/errordocs
> > 
>
> > Apache info:
> > Apache/2.2.9 (Ubuntu) DAV/2 SVN/1.5.1 PHP/5.2.6-2ubuntu4 with Suhosin-
> > Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g
> > Server at 10.0.1.201 Port 80
>
> > My default Apache config:
>
> > 
> >        ServerName 10.0.1.201
> >        ServerAdmin webmas...@localhost
>
> >        DocumentRoot /var/www/htdocs
> >        
> >                Options FollowSymLinks -Indexes
> >                AllowOverride None
> >        
>
> >        
> >                Options FollowSymLinks MultiViews +Indexes
> >                AllowOverride None
> >                Order allow,deny
> >                allow from all
> >                AddHandler mod_python .py
> >                PythonHandler mod_python.publisher
> >                PythonDebug On
> >        
>
> >        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
> >        
> >                AllowOverride None
> >                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
> >                Order allow,deny
> >                Allow from all
> >        
>
> >        ErrorLog /var/log/apache2/error.log
>
> >        # Possible values include: debug, info, notice, warn, error, crit,
> >        # alert, emerg.
> >        L

Re: GettingStarted Apache2, Ubuntu Server 8.10

2009-01-03 Thread Christian Hammond
So I see a couple things that stand out.

The first is the directory structure. I assume when you ran 'rb-site
install', you used /var/www/htdocs/reviews as the base? If so, it should
have a htdocs directory inside of it that your media and errordocs aliases
should point to.

I'd recommend instead using /var/www/reviews as your install directory, as
in your second attempt.

The second is this line:

Alias /reviews "/var/www/htdocs/reviews/htdocs"

The root of the Review Board site (in the URL) isn't actually a directory on
the system. By putting an Alias here, you're telling Apache to look in
htdocs for some kind of an index file. Instead, mod_python should be
handling this request. Try removing this Alias and see if it helps at all.

It's best to use the existing configuration file as-is as much as possible,
since it's set up to work out of the box in most installs.

Christian


-- 
Christian Hammond - chip...@chipx86.com
VMware, Inc.


On Sat, Jan 3, 2009 at 1:33 AM, Ryan  wrote:

>
> I followed the getting started guide.  Everything is running smoothly
> but I don't get any application running.
>
> So my siteroot in apache is /var/www/htdocs
>
> I configure it to /var/www/htdocs/reviews
>
> go through the setup and set it to it's own IP 10.0.1.201, apache,
> file cache, mysql.  Database installs fine, everything goes smoothly.
> I change the ownership to www-data, added the conf file via a2ensite
> (same as ln -s).  mod_python is installed and running fine - I have
> trac on the same machine running fine.
>
> When i visit 10.0.1.201/reviews it just shows the directories instead
> of running the application
>
> I tried installing it down to /var/www/reviews and putting in an Alias
> and  and changing the conf file but I get file not
> found.
>
> I think there is something wrong with apache somewhere or do I need to
> checkout the SVN files into some directory?  If so I thought rb-site
> is meant to grab the latest egg and run it from python-2.5/site-
> packages/ ?
>
> review apache conf:
>
> 
>ServerName 10.0.1.201
>DocumentRoot /var/www/htdocs/reviews/htdocs
>
># Error handlers
>ErrorDocument 500 /errordocs/500.html
>
>Alias /reviews "/var/www/htdocs/reviews/htdocs"
>
># Serve django pages
>
>PythonPath "['/var/www/htdocs/reviews/conf'] +
> sys.path"
>SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
>SetHandler mod_python
>PythonHandler django.core.handlers.modpython
>PythonAutoReload Off
>PythonDebug On
># 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
>
>
># Alias static media requests to filesystem
>Alias /media /var/www/htdocs/reviews/media
>Alias /errordocs /var/www/htdocs/reviews/errordocs
> 
>
> Apache info:
> Apache/2.2.9 (Ubuntu) DAV/2 SVN/1.5.1 PHP/5.2.6-2ubuntu4 with Suhosin-
> Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g
> Server at 10.0.1.201 Port 80
>
> My default Apache config:
>
> 
>ServerName 10.0.1.201
>ServerAdmin webmas...@localhost
>
>DocumentRoot /var/www/htdocs
>
>Options FollowSymLinks -Indexes
>AllowOverride None
>
>
>
>Options FollowSymLinks MultiViews +Indexes
>AllowOverride None
>Order allow,deny
>allow from all
>AddHandler mod_python .py
>PythonHandler mod_python.publisher
>PythonDebug On
>
>
>ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
>
>AllowOverride None
>Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
>Order allow,deny
>Allow from all
>
>
>ErrorLog /var/log/apache2/error.log
>
># Possible values include: debug, info, notice, warn, error, crit,
># alert, emerg.
>LogLevel warn
>
>CustomLog /var/log/apache2/access.log combined
>
>Alias /doc/ "/usr/share/doc/"
>
>Options Indexes MultiViews FollowSymLinks
>AllowOverride None
>Order deny,allow
>Deny from all
>Allow from 127.0.0.0/255.0.0.0 ::1/128
>
>
> 
>
> Any help appreciated - I've been trying for hours...
> >
>

--~--~-~--~~~---~--~~
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:/