PHP setup question

stan stanb at panix.com
Sat Jan 3 19:15:03 PST 2009


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.


More information about the freebsd-questions mailing list