Re: DocumentRoot - Apache2 - Ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux