httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Johnson <...@johnsons-web.com>
Subject Re: [users@httpd] DocumentRoot - Apache2 - Ubuntu
Date Tue, 22 May 2007 10:48:50 GMT
On Tuesday 22 May 2007 11:06, Krist van Besien wrote:
> > > Line 5 of /etc/apache2/sites-enabled/000-default.
> > > looks like this:
> > > DocumentRoot /var/www/
> > >
> > > Is that what you are referring to?
>
> Ubuntu stores website config ins /etc/apache2/sites-available. To
> change the default host edit /etc/apache2/sites-available/000-default.
> In /etc/apache2/sites-enabled you will find only links to
> sites-available.
>
> What I've done on my personal server (which also runs Ubuntu Linux) is
> to have a seperate config file for each virtual server in
> sites-available. In sites-enabled I've then made links to "activate"
> those virtual hosts that I want to be active.
   Hi Krist:
   To make sure that I follow you - as an example, I would put symlink
   called @cgi-bin under sites-enabled and then by able to access it as
   http://localhost/cgi-bin/script.extension ?

   I don't necessarily have to change the document root, I can handle symlinks
   being overwritten by an upgrade....
   apache doesn't seem recognize /var/www/cgi-bin (where cgi-bin is a symlink)
   thanks
   tim 

-- 
Tim Johnson <tim@johnsons-web.com>
Palmer, Alaska, USA

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message