Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 2009 22:15:01 -0500
From:      stan <stanb@panix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: PHP setup question
Message-ID:  <20090104031501.GA28244@teddy.fas.com>
In-Reply-To: <20090104022927.GA13072@the-grills.com>
References:  <20090104010332.GA25704@teddy.fas.com> <20090104022927.GA13072@the-grills.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sat, Jan 03, 2009 at 08:29:27PM -0600, Kelly D. Grills wrote:
> On Sat, Jan 03, 2009 at 08:03:32PM -0500, stan wrote:
> > 
> > I am trying to get the ampcache port working on a 7.1 machine. I have
> > installed the port, which puts it's files in /usr/local/www/a,pcache. I
> > have my Apache serer configured to use /usr/local/www/data as it's
> > documentroot:
> > 
> > DocumentRoot "/usr/local/www/data"
> > 
> 
> snippage
> 
> > and restarted Apache Yet when I point my browser to
> > http://my_machine/ampcache
> > 
> > I get a "Not Found" error.
> > 
> > What am I doing wrong?
> 
> Your ampache installation is not in your DocumentRoot.
> 
> Edit your httpd.conf ...
> 
> To allow access to your ampache:
> 
> <Directory "/usr/local/www/ampache/">
>     Order allow,deny
>     Allow from all
> </Directory>
> 
> To map your ampache's web path to it's filesystem path:
> 
> Alias /ampache "/usr/local/www/ampache"
> 
Hmm, I thoght my Follow Symlinks directive would fix that. But I removed
that link, made teh changes you sugested, and now I get:

The requested URL /update.php was not found on this server.

What else might I have wrong?



-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20090104031501.GA28244>