Re: DocumentRoot - Apache2 - Ubuntu

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

 



On Wednesday 23 May 2007 12:03, Krist van Besien wrote:
<....>
>
> What I did is put every <virtualhost> block in its own config file. In
> these config files I configured for every virtual host where the
> docroot is, where it has to log etc...
> All these config files are under sites_available, and sites_enabled
> contains links to these files.
   Hi Krist:
   Thank you for the explanation - here's what I did - paths obfuscated:
   in /etc/apache2/sites-available/default, 
   which is symlinked as you describe - I have the following:
  DocumentRoot /mydoc/root/ 
   ScriptAlias /cgi-bin/ "/mydoc/root/cgipath/" ## quoted and trailing '/'
    <Directory "/mydoc/root/cgipath">
        AllowOverride None
        Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>

I'm much obliged for the help.
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